1. Load the image with the !OpenAirInterface code on the nodes. After imaging the nodes are '''turned off automatically'''. [[CollapsibleStart(omf load -i baseline.ndz -t all)]] [[Include(Documentation/Short/LoadImage)]][[CollapsibleEnd]] 2. Turn ON the nodes that successfully imaged (give them some time and check their status with '''omf stat''' before proceeding). [[CollapsibleStart(omf tell -a on -t all)]][[Include(Documentation/Short/TellOn)]][[CollapsibleEnd]] 3. On both nodes (node1-1, node1-2), get the code from Eurocom repositories {{{ apt-get install subversion git echo -n | openssl s_client -showcerts -connect gitlab.eurecom.fr:443 2>/dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' >> /etc/ssl/certs/ca-certificates.crt git clone https://gitlab.eurecom.fr/oai/openairinterface5g.git }}} 4. Install the right kernel and setup the CPU governor {{{ apt-get update version=3.17 wget -r -e robots=off --accept-regex "(.*lowlatency.*amd64)|(all).deb" http://kernel.ubuntu.com/~kernel-ppa/mainline/v${version}-utopic/ dpkg -i kernel.ubuntu.com/*/*/*/*deb }}} At this point the node will require a reboot. When the node is again available {{{ I#nstall cpufrequtils: apt-get install cpufrequtils #Then edit the following file (if it doesn't exist, create it): nano /etc/default/cpufrequtils #And add the following line to it: GOVERNOR="performance" }}} 5. Install necessary additional software on both nodes {{{ cd /root/openairinterface5g/ source oaienv cd cmake_targets ./build_oai -I --install-optional-packages (need to run only once) }}} 6. Compile the OAI code {{{ #If updating eNB ./build_oai --eNB -C -w USRP #If updating UE ./build_oai --UE -C -w USRP }}}