| | 1 | === Building ONAP/ORAN Image === |
| | 2 | |
| | 3 | This building process is based on [https://github.com/sebdet/oran-deployment ORAN SMO Package] scripts. |
| | 4 | |
| | 5 | Start with the barebones Ubuntu 20.04 image ('''ubuntu2004.ndz''') and remove snapd restriction from it with: |
| | 6 | |
| | 7 | {{{ |
| | 8 | sudo rm /etc/apt/preferences.d/snapd |
| | 9 | }}} |
| | 10 | |
| | 11 | Install snapd: |
| | 12 | {{{ |
| | 13 | sudo apt update |
| | 14 | sudo apt install snapd |
| | 15 | }}} |
| | 16 | |
| | 17 | Add to /etc/profile |
| | 18 | {{{ |
| | 19 | export LC_ALL=C.UTF-8 |
| | 20 | export LANG=C.UTF-8 |
| | 21 | }}} |
| | 22 | |
| | 23 | exit the ssh session and come back. Install a local Kubernetes with [https://ubuntu.com/tutorials/install-a-local-kubernetes-with-microk8s MicroK8s]: |
| | 24 | {{{ |
| | 25 | sudo snap install microk8s --classic |
| | 26 | }}} |
| | 27 | |
| | 28 | Grab the [https://github.com/sebdet/oran-deployment O-RAN installation scripts]: |
| | 29 | |
| | 30 | {{{ |
| | 31 | git clone --recursive https://github.com/sebdet/oran-deployment.git |
| | 32 | }}} |
| | 33 | |
| | 34 | And then install them |
| | 35 | {{{ |
| | 36 | ./oran-deployment/scripts/layer-0/0-setup-microk8s.sh |
| | 37 | ./oran-deployment/scripts/layer-0/0-setup-charts-museum.sh |
| | 38 | ./oran-deployment/scripts/layer-0/0-setup-helm3.sh |
| | 39 | ./oran-deployment/scripts/layer-1/1-build-all-charts.sh |
| | 40 | ./oran-deployment/scripts/layer-2/2-install-oran.sh |
| | 41 | ./oran-deployment/scripts/layer-2/2-install-simulators.sh |
| | 42 | }}} |