Skip to content

RAN Machines Prep

moari edited this page Nov 12, 2024 · 5 revisions

This wiki page will guide you through preparing an Ubuntu machine to host RAN nodes. These instructions are tested for Ubuntu 22.04.

NAS Mount for LXC Image retrieval

Install the required packages:

sudo apt update
sudo apt install nfs-common
sudo apt install autofs

If it does not exist, create the /nas folder:

sudo mkdir -p /nas

Now configure autofs to automatically mount the NAS folder containing the RAN images. Add a line containing /nas /etc/auto.nfs --ghost in /etc/auto.master. You can do this with the following command:

sudo sh -c 'echo "/nas /etc/auto.nfs --ghost" >> /etc/auto.master'

Add a line containing ran_images 10.79.36.132:/ran_images to the file /etc/aut.nfs:

sudo sh -c 'echo "ran_images 10.79.36.132:/ran_images" >> /etc/auto.nfs'

Finally, restart autofs:

sudo systemctl restart autofs

Test if everything works as expected, you should see the RAN images with the following command:

ls /nas/ran_images

LXC preparation

Install the required software:

sudo snap install lxd

Run the following command and press enter for every question asked:

lxd init

Clone this wiki locally