Unit 3 Cyber Security
Unit 3 Cyber Security
Step 6.4: Paste The above-copied data into the 01-network-manger-all.yaml file.
Step 6.5: After performing step 6.4, press ctrl+s (to save the file), ctrl+x (to exit it from
the file)
Step 7: sudo netplan apply
Step 8: sudo systemctl restart NetworkManager
Step 9: hostname --fqdn (this time the output shall be “ubuntu”)
Step 10: sudo nano /etc/hosts
Step 10.1: In this file in the third line (which is empty) type IP address then give space
(then type) apache.cloud.u1 (then space) then type cloud.
Step 10.2: Now save the file (ctrl+s) and exit from the file (ctrl+x)
Step 11: sudo hostnamectl set-hostname cloud
Step 12: hostname --fqdn (this time the output shall be “apache.cloud.u1”)
Step 13: sudo apt install bridge-utils
Step 14: sudo brctl addbr cloudbr0
Step 15: sudo brctl addif cloudbr0 ens33 (Please mention your interface name in place of
ens33)
Step 16: sudo nano /etc/netplan/01-network-manager-all.yaml
Step 16.1: Open the following link:
https://www.inf.ufpr.br/jwvflauzino/vines/installation-guide/ubuntu-18.04-all-in-one.html
Step 16.2: From the Website, please copy the data provided and paste in the file of 01-
network-manager-all.yaml
Step 16.3: Now make changes concerning interface name, Gateway, and IP address
Step 16.4: After making the changes, save the file (Ctrl+S), and exit the file (Ctrl+X)
Step 17: sudo netplan apply
Step 18: sudo systemctl restart NetworkManager
Step 19: sudo apt install ntp
Step 20: sudo systemctl enable ntp
Step 21: sudo systemctl start ntp
Step 22: sudo apt install chrony
Step 23: sudo apt install openjdk-11-jdk
Step 24: sudo nano /etc/apt/sources.list.d/cloudstack.list
Step 24.1: Open the following link in Browser:
https://docs.cloudstack.apache.org/en/latest/installguide/management-server/
Step 24.2: Copy the following link: deb https://download.cloudstack.org/ubuntu focal
4.18 and paste in the nano file opened i.e, cloudstack.list
Step 24.3: Save the file (Ctrl+S) and exit the file (Ctrl+x)
Step 25: wget -O - https://download.cloudstack.org/release.asc |sudo tee
/etc/apt/trusted.gpg.d/cloudstack.asc
Step 26: sudo apt update
Step 27: sudo apt-get update
Step 28: sudo apt install cloudstack-management
Step 29: sudo apt install mysql-server
Step 30: sudo nano /etc/mysql/my.cnf
Step 30.1: Add the following line in the file at the bottom