|
|
|
|
|
# ORT installation guide
|
|
|
|
|
|
This is the description of the install on ort-vm1 for reference.
|
|
|
|
|
|
## Partitions
|
|
|
|
|
|
We define the following partitions:
|
|
|
```
|
|
|
$ df -hT
|
|
|
Filesystem Type Size Used Avail Use% Mounted on
|
|
|
/dev/sdd1 ext4 30G 4.8G 23G 18% /
|
|
|
/dev/mapper/var_vg-var_lv ext4 79G 6.1G 69G 9% /var
|
|
|
/dev/mapper/home_vg-home_lv ext4 30G 23G 5.0G 83% /home
|
|
|
/dev/mapper/ort_vg-ort_lv ext4 503G 245G 234G 52% /data
|
|
|
/dev/sde1 ext4 63G 223M 60G 1% /ort
|
|
|
```
|
|
|
|
|
|
## ORT & the Eclipse setup
|
|
|
|
|
|
We clone the required repositories in `/ort`.
|
|
|
|
|
|
As root:
|
|
|
```
|
|
|
mkdir /ort
|
|
|
chown root:users /ort
|
|
|
chmod 775 /ort
|
|
|
```
|
|
|
As genie.infra:
|
|
|
```
|
|
|
cd /ort
|
|
|
git clone https://gitlab.eclipse.org/eclipsefdn/emo-team/eclipsefdn-ort.git
|
|
|
git clone https://github.com/oss-review-toolkit/ort.git
|
|
|
```
|
|
|
|
|
|
|
|
|
## Docker
|
|
|
|
|
|
Install docker-ce and docker-compose, following instructions on [docker's website](https://docs.docker.com/engine/install/debian/#install-using-the-repository).
|
|
|
|
|
|
Enable BuildKit by default for Docker by creating a file `/etc/docker/daemon.json` with content:
|
|
|
```
|
|
|
{
|
|
|
"features": {
|
|
|
"buildkit" : true
|
|
|
}
|
|
|
}
|
|
|
```
|
|
|
|
|
|
Restart Docker (`systemctl restart docker`).
|
|
|
|
|
|
|
|
|
|
|
|
----
|
|
|
|
|
|
These are the exact steps committed when installing ORT on the VM.
|
|
|
|
|
|
## System requirements
|
... | ... | |