... | ... | @@ -133,36 +133,36 @@ https://gitlab.eurecom.fr/oai/openairinterface5g/issues/32). |
|
|
As you want to run real-time later, I suppose you want to avoid to configure swap space.
|
|
|
|
|
|
1. Give your non-root user sudo access (as root):
|
|
|
`usermod -G wheel <user>`
|
|
|
```usermod -G wheel <user>```
|
|
|
|
|
|
2. Optionally, make sudo access passwordless (because some of the builds+tests take so long):
|
|
|
`sudo visudo`
|
|
|
```sudo visudo```
|
|
|
- comment out the line: %wheel ALL=(ALL) ALL
|
|
|
- uncomment the line: %wheel ALL=(ALL) NOPASSWD: ALL
|
|
|
|
|
|
3. As long as we're building some drivers from source (which, by recommended practice, land in /usr/local/*), we need two extra steps (this will go away, once drivers are available as RPMs and the build-script is adapted):
|
|
|
|
|
|
- Allow sudo to run executables in /usr/local/bin:
|
|
|
`sudo visudo`
|
|
|
```sudo visudo```
|
|
|
- append ":/usr/local/bin" to line: Defaults secure_path=/sbin:/bin:/usr/sbin:/usr/bin
|
|
|
|
|
|
- Configure ldconfig to index /usr/local/lib and /usr/local/lib64:
|
|
|
`echo -e "/usr/local/lib\n/usr/local/lib64" | sudo tee /etc/ld.so.conf.d/enable_usr_local_lib.conf > /dev/null`
|
|
|
```echo -e "/usr/local/lib\n/usr/local/lib64" | sudo tee /etc/ld.so.conf.d/enable_usr_local_lib.conf > /dev/null```
|
|
|
|
|
|
4. For the real-time kernel bits, you'll want to enable the real-time repo:
|
|
|
`sudo tee /etc/yum.repos.d/CentOS-rt.repo >/dev/null <<EOF
|
|
|
```sudo tee /etc/yum.repos.d/CentOS-rt.repo >/dev/null <<EOF
|
|
|
#CentOS-rt.repo
|
|
|
[rt]
|
|
|
name=CentOS-7 - rt
|
|
|
baseurl=http://mirror.centos.org/centos/\$releasever/rt/\$basearch/
|
|
|
gpgcheck=1
|
|
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
|
|
|
EOF`
|
|
|
EOF```
|
|
|
|
|
|
5. Finally,
|
|
|
`sudo yum update -y
|
|
|
```sudo yum update -y
|
|
|
sudo yum install -y git kernel-rt rt-tests tuned-profiles-realtime
|
|
|
reboot`
|
|
|
reboot```
|
|
|
|
|
|
# Kernel Requirements for Core Network <- ```Use Ubuntu 16.04 for a first time user```
|
|
|
|
... | ... | |