###### tags: bubbleran <!-- ## Introduction --> ## <center>Installation Setup</center> > Writter: - Ian Joseph Chandra (2023/04/01 - 2023/04/27) - Bintang Marsyuma R (2023/06/25 - 2023/06/18) 1. Set a **static IP address** for the **server's MAC address** in the router **Notes** The BubbleRAN installation process **requires internet** to ++download its image++. Suggested to set a **static IP address** for the server's MAC address on the router. **Example**: 1. Router Setting (ex: 192.168.8.45): ![](https://i.imgur.com/PQoKDTf.png) 2. Server's IP after installation: ![](https://i.imgur.com/XupdrpT.png) 2. Plug the BubbleRAN flashdisk to the server. ![](https://i.imgur.com/nQAsEsc.jpg) 1. Boot the server using the Ubuntu from the BubbleRAN flashdisk. ![](https://i.imgur.com/xOpF8mi.png) 1. After the Ubuntu is installed, the cloud-init will continue the BUbbleRAN. **Notes** Check the cloud-init.log status in a terminal from ```$HOME``` directory: ```bash tail -f /var/log/cloud-init.log ``` **IMPORTANT!** <font color="red">**Do not do anything during the cloud-init installation process!**</font> The installation is finished when the log terminal shows this output: ```log= Cloud-init v. 22.3.4-3-ga512eef2-1~bddeb running 'init-local' at Fri, 14 Apr 2023 08:45:32 +0000. Up 7.44 seconds. Cloud-init v. 22.3.4-3-ga512eef2-1~bddeb running 'init' at Fri, 14 Apr 2023 08:47:34 +0000. Up 128.62 seconds. ... ``` ```log=2435 time="2023-04-14T17:24:00+08:00" level=info msg="Install/upgrade performed on: mosaic5g-models" Cloud-init v. 22.3.4-3-ga512eef2-1~bddeb running 'modules:final' at Fri, 14 Apr 2023 08:51:17 +0000. Up 351.82 seconds. 2023-04-14 09:24:27,562 - util.py[WARNING]: Failed to post phone home data to http://[::]:80/phone-home/f8bfdaed-8dc3-85f4-f11c-704d7bc23466/ in 10 tries Cloud-init v. 22.3.4-3-ga512eef2-1~bddeb finished at Fri, 14 Apr 2023 09:24:27 +0000. Datasource DataSourceGaiaNet [seed=ds_config_seedfrom,https://gaia.bubbleran.com/][dsmode=net]. Up 2342.09 seconds ``` 2. Setup BubbleRAN Kubernetes credentials: 1. Create a directory on ```~/snap/br-t9s/current/.kube/```: ```bash mkdir ~/snap/br-t9s/current/.kube/ ``` 2. Create a config file inside ```~/snap/br-t9s/current/.kube/```: ```bash nano ./config ``` 3. Copy the configuration below to **config file**: ```json= apiVersion: v1 clusters: - cluster: certificate-authority-data: DATA+OMITTED server: https://192.168.8.45:6443 name: kubernetes contexts: - context: cluster: kubernetes user: kubernetes-admin name: kubernetes-admin@kubernetes current-context: kubernetes-admin@kubernetes kind: Config preferences: { } users: - name: kubernetes-admin user: client-certificate-data: REDACTED client-key-data: REDACTED **IMPORTANT!** Setup the server IP address on line 5 Ex: 192.168.8.45 3. Setup the [Command Control (CTL)](https://bubbleran.com/docs/tutorials/getting-started/software#command-control-ctl-setup): 1. Check the **snap** package installer status after update: ```bash sudo snap version ``` ![](https://i.imgur.com/LIyU9X6.png) 2. Install BubbleRAN (br-t9s) in Ubuntu using Snap: ```bash sudo snap install br-t9s ``` ![](https://i.imgur.com/eBqqUnQ.png) 3. Check BubbleRAN update using Snap: ```bash sudo snap refresh br-t9s ``` ![](https://i.imgur.com/wQIIKXc.png) 4. Setup alias for BubbleRAN: ```bash sudo snap alias br-t9s.cli cli ``` ![](https://i.imgur.com/7cb0fxj.png) 5. Verify BubbleRAN cli version: ```bash cli --version ``` ![](https://i.imgur.com/z1FZylo.png) **Info**:"""?;/" the **cli** above is the alias of BubbleRAN cli (br-t9s.cli). ## <center>BubbleRAN [Example Lab](https://bubbleran.com/docs/tutorials/studio/example-lab/)</center> After finishing the BubbleRAN installation, there are several testing module provided by Eurocome for further understanding about its functionality.