|  | 5 | [[NewsFlashStart]] | 
          
            |  | 6 | This tutorial assumes that you  want to use prepared image that is a snapshot of O-RAN deployment in time. In case you want to build your own ORAN image with the latest components please follow these instructions. | 
          
            |  | 7 |  | 
          
            |  | 8 | Start with the ubuntu2004.ndz and remove snapd restriction from it with: | 
          
            |  | 9 | }}} | 
          
            |  | 10 |  | 
          
            |  | 11 | {{{ | 
          
            |  | 12 | sudo rm /etc/apt/preferences.d/snapd | 
          
            |  | 13 | }}} | 
          
            |  | 14 |  | 
          
            |  | 15 | Install snapd: | 
          
            |  | 16 | {{{ | 
          
            |  | 17 | sudo apt update | 
          
            |  | 18 | sudo apt install snapd | 
          
            |  | 19 | }}} | 
          
            |  | 20 |  | 
          
            |  | 21 | Add to /etc/profile | 
          
            |  | 22 | {{{ | 
          
            |  | 23 | export LC_ALL=C.UTF-8 | 
          
            |  | 24 | export LANG=C.UTF-8 | 
          
            |  | 25 | }}} | 
          
            |  | 26 |  | 
          
            |  | 27 | exit the ssh session and come back. Install a local Kubernetes with [https://ubuntu.com/tutorials/install-a-local-kubernetes-with-microk8s MicroK8s]: | 
          
            |  | 28 | {{{ | 
          
            |  | 29 | sudo snap install microk8s --classic | 
          
            |  | 30 | }}} | 
          
            |  | 31 |  | 
          
            |  | 32 | Grab the [https://github.com/sebdet/oran-deployment O-RAN installation scripts]: | 
          
            |  | 33 |  | 
          
            |  | 34 | {{{ | 
          
            |  | 35 | git clone --recursive https://github.com/sebdet/oran-deployment.git | 
          
            |  | 36 | }}} | 
          
            |  | 37 |  | 
          
            |  | 38 | And then install them | 
          
            |  | 39 | {{{ | 
          
            |  | 40 | ./oran-deployment/scripts/layer-0/0-setup-microk8s.sh | 
          
            |  | 41 | ./oran-deployment/scripts/layer-0/0-setup-charts-museum.sh | 
          
            |  | 42 | ./oran-deployment/scripts/layer-0/0-setup-helm3.sh | 
          
            |  | 43 | ./oran-deployment/scripts/layer-1/1-build-all-charts.sh | 
          
            |  | 44 | ./oran-deployment/scripts/layer-2/2-install-oran.sh | 
          
            |  | 45 | }}} | 
          
            |  | 46 | [[NewsFlashEnd]] | 
        
        
          
            | 123 |  | [[NewsFlashStart]] | 
          
            | 124 |  | In case you want to build your own ORAN image, start with the ubuntu2004.ndz and remove snapd restriction from it with: | 
          
            | 125 |  | }}} | 
          
            | 126 |  |  | 
          
            | 127 |  | {{{ | 
          
            | 128 |  | sudo rm /etc/apt/preferences.d/snapd | 
          
            | 129 |  | }}} | 
          
            | 130 |  |  | 
          
            | 131 |  | Install snapd: | 
          
            | 132 |  | {{{ | 
          
            | 133 |  | sudo apt update | 
          
            | 134 |  | sudo apt install snapd | 
          
            | 135 |  | }}} | 
          
            | 136 |  |  | 
          
            | 137 |  | Add to /etc/profile | 
          
            | 138 |  | {{{ | 
          
            | 139 |  | export LC_ALL=C.UTF-8 | 
          
            | 140 |  | export LANG=C.UTF-8 | 
          
            | 141 |  | }}} | 
          
            | 142 |  |  | 
          
            | 143 |  | exit the ssh session and come back. Install a local Kubernetes with [https://ubuntu.com/tutorials/install-a-local-kubernetes-with-microk8s MicroK8s]:  | 
          
            | 144 |  | {{{ | 
          
            | 145 |  | sudo snap install microk8s --classic | 
          
            | 146 |  | }}} | 
          
            | 147 |  |  | 
          
            | 148 |  | Grab the [https://github.com/sebdet/oran-deployment O-RAN installation scripts]: | 
          
            | 149 |  |  | 
          
            | 150 |  | {{{ | 
          
            | 151 |  | git clone --recursive https://github.com/sebdet/oran-deployment.git | 
          
            | 152 |  | }}} | 
          
            | 153 |  |  | 
          
            | 154 |  | And then install them  | 
          
            | 155 |  | {{{ | 
          
            | 156 |  | ./oran-deployment/scripts/layer-0/0-setup-microk8s.sh | 
          
            | 157 |  | ./oran-deployment/scripts/layer-0/0-setup-charts-museum.sh | 
          
            | 158 |  | ./oran-deployment/scripts/layer-0/0-setup-helm3.sh | 
          
            | 159 |  | ./oran-deployment/scripts/layer-1/1-build-all-charts.sh | 
          
            | 160 |  | ./oran-deployment/scripts/layer-2/2-install-oran.sh | 
          
            | 161 |  | }}} | 
          
            | 162 |  | [[NewsFlashEnd]] | 
          
            | 163 |  |  |