... | ... | @@ -5,30 +5,31 @@ To make sure that you're running with versions of software from the ports collec |
|
|
If you haven't already, download the [Emulab Server Package](install/Required Software)
|
|
|
(you can use the FreeBSD `fetch` command to download the file.)
|
|
|
|
|
|
Unpack this someplace (you need about 550MB of space, so don't use `/tmp` unless it is large enough). Let's say you unpacked it to `/var/tmp`. You would then run:
|
|
|
Unpack this someplace (you need about 550MB of space). Let's say you unpacked it to `/var/tmp`. You would then run:
|
|
|
|
|
|
```
|
|
|
# force install of pkg
|
|
|
env ASSUME_ALWAYS_YES=true pkg info
|
|
|
|
|
|
# install base 'ops' applications
|
|
|
pkg add /var/tmp/packages/emulab-ops-7.2.txz
|
|
|
pkg add /var/tmp/packages/emulab-ops-7.3.txz
|
|
|
# ...and any 'fs' applications as well
|
|
|
pkg add /var/tmp/packages/emulab-fs-7.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 fs/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.2.txz
|
|
|
pkg add /var/tmp/packages/emulab-extras-7.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.2/packages",
|
|
|
url: "https://www.emulab.net/FreeBSD/11.3/packages",
|
|
|
mirror_type: NONE,
|
|
|
enabled: yes
|
|
|
}
|
... | ... | @@ -37,16 +38,13 @@ Emulab: { |
|
|
Now you can synchronize using:
|
|
|
|
|
|
```
|
|
|
# mark all current packages as coming from the Emulab repo
|
|
|
pkg annotate -ay -A repository Emulab
|
|
|
|
|
|
# check for updates to all installed packages
|
|
|
pkg upgrade
|
|
|
pkg upgrade -r Emulab
|
|
|
```
|
|
|
|
|
|
**Please do not update any of the Emulab-installed packages other than from the Emulab repository.** Otherwise you risk descending into *dependency hell*; for example, by loading some newer application package which in turn might update some shared library versions which in turn might cause other applications to stop working because they require older versions of the libraries.
|
|
|
|
|
|
In theory, you can add more packages later, either in binary form or by building from ports. Be aware that if you use binary packages loaded from the standard (presumably newer) FreeBSD repository, *dependency hell* is always just one wrong step away. Should you want to build from ports, please download the [approved ports collection](install/Required Software) that we have tested with and which corresponds to the binary packages we build. The package is about 66MB; it unpacks to 900MB. Unpack it to a place such as `/usr/ports` (if it exists, rename the old directory to ports.old, or just remove it), and install whichever ports you want to make fs feel like 'home'.
|
|
|
In theory, you can add more packages later, either in binary form or by building from ports. Be aware that if you use binary packages loaded from the standard (presumably newer) FreeBSD repository, *dependency hell* is always just one wrong step away. Should you want to build from ports, please download the [approved ports collection](install/Required Software) that we have tested with and which corresponds to the binary packages we build. The package is about 66MB; it unpacks to 900MB. Unpack it to a place such as `/usr/ports` (if it exists, rename the old directory to ports.old, or just remove it), and install whichever ports you want to make it feel like 'home'.
|
|
|
|
|
|
### Step 2 - Unpacking and running `configure`
|
|
|
|
... | ... | |