Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
SDRan-OpenAirInterface
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ReginaLAB
SDRan-OpenAirInterface
Commits
8cc61b31
Commit
8cc61b31
authored
11 months ago
by
Your Name
Browse files
Options
Downloads
Patches
Plain Diff
Fix install script
parent
1a513eb5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openairinterface5g/openairinterface-install-scripts/oai_gNB_and_UE_install.sh
+6
-9
6 additions, 9 deletions
...penairinterface-install-scripts/oai_gNB_and_UE_install.sh
with
6 additions
and
9 deletions
openairinterface5g/openairinterface-install-scripts/oai_gNB_and_UE_install.sh
+
6
−
9
View file @
8cc61b31
...
...
@@ -9,9 +9,8 @@ sudo apt-get update -y
## OAI dependencies
## Testar com a libuhd4.4.0 ao invés de libuhd4.2.0u
sudo
apt-get
install
libuhd-dev libdpdk-dev uhd-host
-y
sudo
apt-get
install
libuhd4.2.0 libuhd4.4.0 y
# Required for OpenAirInterface install
sudo
dpkg
-i
--force-overwrite
/var/cache/apt/archives/libuhd4.2.0_4.2.0.1-0ubuntu1~focal1_amd64.deb
sudo
dpkg
-i
--force-overwrite
/var/cache/apt/archives/libuhd4.4.0_4.4.0.0-0ubuntu1~focal1_amd64.deb
sudo
apt-get
install
libuhd4.6.0
-y
# Required for OpenAirInterface install
sudo
dpkg
-i
--force-overwrite
/var/cache/apt/archives/libuhd4.6.0_4.6.0.0-0ubuntu1~focal1_amd64.deb
# Work directory path is the current directory
WORK_DIR
=
$HOME
...
...
@@ -20,15 +19,13 @@ WORK_DIR=$HOME
cd
$WORK_DIR
/
git clone https://gitlab.eurecom.fr/oai/openairinterface5g.git
cd
$WORK_DIR
/openairinterface5g
git checkout
develop
git checkout
v2.1.0
git config
--global
user.email
"you@example.com"
git config
--global
user.name
"Your Name"
## Download the OAI configuration files (CU/DU, OAI UE, and gNB configuration)
wget
-O
$WORK_DIR
/openairinterface5g/targets/PROJECTS/GENERIC-NR-5GC/CONF/ue.conf https://projetos.imd.ufrn.br/reginalab/sdran-openairinterface/-/raw/main/openairinterface5g/openairinterface-conf/basic_deployment/ue.conf?inline
=
false
wget
-O
$WORK_DIR
/openairinterface5g/targets/PROJECTS/GENERIC-NR-5GC/CONF/ue.conf https://projetos.imd.ufrn.br/reginalab/sdran-openairinterface/-/raw/main/openairinterface5g/openairinterface-conf/flexric_gNB_UE/gnb.sa.band78.fr1.106PRB.usrpb210.conf?inline
=
false
source
oaienv
cd
cmake_targets
sudo
./build_oai
-I
-w
USRP
-i
sudo
./build_oai
--gNB
--nrUE
-c
-C
-w
USRP
sudo
./build_oai
-I
--install-optional-packages
sudo
./build_oai
--gNB
--nrUE
-C
-w
USRP
--ninja
--build-lib
"uescope nrscope"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment