Configuration
Install
The following are generalized steps to install setup and start the specified container. Please consult any container specific documentation in addition to this process.
Step 1)
Download the LXC into the directory below
/opt/fmadio/lxc/Check the MD5 sum against the published value
Untar the tarball in that directory as root.
Example below shows the steps for the mdgap lxc container
fmadio@fmadio100v2-228U:/opt/fmadio/lxc$ sudo curl -O https://firmware.fmad.io/download/container/mdgap-20230512.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 824M 100 824M 0 0 14.2M 0 0:00:58 0:00:58 --:--:-- 14.9M
fmadio@fmadio100v2-228U:/opt/fmadio/lxc$
fmadio@fmadio100v2-228U:/opt/fmadio/lxc$ md5sum mdgap-20230512.tar.gz
5da383edd150b6ac9b5cedc8550fdca3 mdgap-20230512.tar.g
fmadio@fmadio100v2-228U:/opt/fmadio/lxc$ sudo tar xf mdgap-20230512.tar.gz
fmadio@fmadio100v2-228U:/opt/fmadio/lxc$Step 2)
Most LXCs have an install script in the root directory, it will configure the container requiring some information such as IP Netmask. Gateway etc.
Step 3)
Modify the containers configuration. such as adding rings or shared mount points
Example is enabling the Eurex lxc ring to the container by uncommenting in the configuration file, the line
In the configuration below
Ensure to save the changes
Step 3a)
Generally containers require LXC Rings to feed data to. In this example we create an lxc ring named "mdgap_eurex" as the container references this ring in step 3) it must be created for the container to start correctly.
Example output as follows
Step 4)
Add the container to the system configuration file using fmadiocli utility
Add the container using the command
Example shown below
Step 5)
Start the container using fmadiocli utlity
Example starting the MDGap container
Step 6)
Optionally attach to the containers console using the command
Example of MDGap container
Please see any container specific configuration and setup documentation
Last updated
Was this helpful?