OpenAirInterface: Compile

From OnnoWiki
Revision as of 09:34, 21 December 2022 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Rekomendasi OS : Ubuntu 18.04


Install USRP drivers Jika belum ada UHD, kita perlu menginstall UHD dari source:

sudo apt-get install libboost-all-dev libusb-1.0-0-dev python-mako doxygen python-docutils python-requests 
python3-pip cmake build-essential
pip3 install mako numpy
git clone git://github.com/EttusResearch/uhd.git
cd uhd; mkdir host/build; cd host/build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make -j4
sudo make install
sudo ldconfig
sudo /usr/lib/uhd/utils/uhd_images_downloader.py

Instalasi software git

sudo apt-get update
sudo apt-get install subversion git -y
git config --global user.name "nama"
git config --global user.email "email"
  • Khusus untuk ubuntu 14.04
echo -n | openssl s_client -showcerts -connect gitlab.eurecom.fr:443 2>/dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-certificates.crt
git config --global http.sslverify false

Unduh source code OpenAirInterface dari github

cd /usr/local/src/
git clone https://gitlab.eurecom.fr/oai/openairinterface5g.git

Proses build OpenAirInterface

cd openairinterface5g/
source oaienv
cd cmake_targets/
./build_oai -I -w USRP --eNB --UE