|
|
This procedure is similar to installing the testbed software on ops. Before beginning, make sure that ops is installed, running, and reachable through the network by your new boss machine.
|
|
|
|
|
|
**Note:** If you are installing FreeBSD 12.2 instead of 11.3, replace "7.3" with "8.1" in the package names below. Contact us if there are problems.
|
|
|
|
|
|
### Step 1 - Installing packages
|
|
|
|
|
|
To make sure that you're running with versions of software from the ports collection that are known to work with our software, and to save you hours of compile time, we provide pre-built binary packages of the ports required by Emulab.
|
... | ... | @@ -14,26 +12,23 @@ Unpack this someplace (you need about 550MB of space). Assuming you have unpacke |
|
|
env ASSUME_ALWAYS_YES=true pkg info
|
|
|
|
|
|
# install base 'boss' applications
|
|
|
pkg add /var/tmp/packages/emulab-boss-7.3.txz
|
|
|
pkg add /var/tmp/packages/emulab-boss-8.3.txz
|
|
|
```
|
|
|
Of course, if you unpacked it somewhere else, put in the correct path.
|
|
|
|
|
|
We provide all of the binary packages necessary to build ops/boss in our packages tarball. It is a pretty bare-bones set of ports; in particular, it does not include any text editor other than `ed`. To get `emacs` and `vim` and a few other useful applications, you can install the _emulab-extras_ package:
|
|
|
```
|
|
|
# install useful applications
|
|
|
pkg add /var/tmp/packages/emulab-extras-7.3.txz
|
|
|
pkg add /var/tmp/packages/emulab-extras-8.3.txz
|
|
|
```
|
|
|
After installing these packages from the pre-built collection, you should check for updates from the 'Emulab' packages repository. To do this, you will first need to create a description of the repository. Create `/etc/pkg/Emulab.conf` with the contents:
|
|
|
```
|
|
|
Emulab: {
|
|
|
#url: "https://www.emulab.net/FreeBSD/11.3/packages",
|
|
|
#url: "https://www.emulab.net/FreeBSD/12.2/packages",
|
|
|
url: "https://www.emulab.net/FreeBSD/12.3/packages",
|
|
|
mirror_type: NONE,
|
|
|
enabled: yes
|
|
|
}
|
|
|
```
|
|
|
and then uncomment the 'url' line appropriate for the version of FreeBSD you are installing.
|
|
|
|
|
|
Now you can synchronize using:
|
|
|
```
|
|
|
# check for updates to all installed packages
|
... | ... | |