Changes between Version 1 and Version 2 of Documentation/Short/CompileOAI
- Timestamp:
- Oct 30, 2015, 11:40:01 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Documentation/Short/CompileOAI
v1 v2 1 1. Load the image with the !OpenAirInterface code on the nodes. After imaging the nodes are '''turned off automatically'''. [[CollapsibleStart(omf load -i oai-nos1.ndz -t all)]] [[Include(Documentation/Short/LoadImage)]][[CollapsibleEnd]]1 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 2 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 3. Get the code from Eurocom repositories3 3. On both nodes (node1-1, node1-2), get the code from Eurocom repositories 4 4 5 4. Install necessary software 5 {{{ 6 apt-get install subversion git 7 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 8 git clone https://gitlab.eurecom.fr/oai/openairinterface5g.git 9 }}} 10 11 4. Install necessary additional software on both nodes 12 13 {{{ 14 cd /root/openairinterface5g/ 15 source oaienv 16 cd cmake_targets 17 ./build_oai -I --install-optional-packages (need to run only once) 18 }}} 6 19 7 20 5. Compile the OAI code 8 21 9 22 {{{ 10 oai11 git pull12 cd cmake_targets13 ./build_oai -I --install-optional-packages -w USRP14 15 23 #If updating eNB 16 24 ./build_oai --eNB -C -w USRP