... | ... | @@ -129,6 +129,41 @@ https://gitlab.eurecom.fr/oai/openairinterface5g/issues/32). |
|
|
## Kernel Requirements for Cent OS 7 ```EXPERIMENTAL```
|
|
|
1. TBD: Instructions for compiling or installing rpm package for 3.10.RT kernel and associated packages for Real-time Cent OS deployments
|
|
|
|
|
|
0. Start from the DVD ISO with a minimal install, add a non-root user.
|
|
|
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>`
|
|
|
|
|
|
2. Optionally, make sudo access passwordless (because some of the builds+tests take so long):
|
|
|
`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`
|
|
|
# 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`
|
|
|
|
|
|
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 #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`
|
|
|
|
|
|
5. Finally,
|
|
|
`sudo yum update -y
|
|
|
sudo yum install -y git kernel-rt rt-tests tuned-profiles-realtime
|
|
|
reboot`
|
|
|
|
|
|
# Kernel Requirements for Core Network <- ```Use Ubuntu 16.04 for a first time user```
|
|
|
|
|
|
We currently support UBUNTU 16.04 LTS with kernel 4.7, but kernel 4.8 should work as well. Please also see https://gitlab.eurecom.fr/oai/openair-cn/wikis/home for more up-to-date information.
|
... | ... | |