Introduction to Cloud Services
Note: This blog is for you to make your life easier.
Don't make your life complicated, just enjoy the blog. ^_^
This is my first time to create Blog. Please pardon my simplicity of my own blog and look for the content. Enjoy reading! ^_^
This is my first time to create Blog. Please pardon my simplicity of my own blog and look for the content. Enjoy reading! ^_^
The first thing I did is to install the OpenStack.
Required software are listed below:
Required software are listed below:
-> VirtualBox
- https://www.virtualbox.org
- https://ubuntu.com
- https://www.openstack.org
After downloading, I created Host Only Network. Here are the details that allows you to communicate between the host and the guest:
1. Create a Host-Only adapter
2. Configure the adapter manually
3. Enable the DHCP
4. Configure DHCP with an address range starting with the IP of OpenStack
When all of the things above are created you can now install and create the a new Virtual Box Machine.
Name: OpenStack
Type: Linux
Version: Ubuntu (64bit)
Memory Size: 4096 MB
With the above mentioned, the name should be OpenStack and the type of the machine will be Linux. The Ubuntu version is 64 bit. Lastly, the size of the memory should be 4096MB. (see below for your reference)
The next thing you need to do is to
- edit the system settings
- check Enable Nested VT-x/AMD-v from System > Processor
- but if you have Intel Processor execute the following command "C:\Program Files\Oracle\VirtualBox\VBoxManage" modifyvm OpenStack --nested- hw-virt on
Edit the system settings and check Enable Nested VT-x/AMD-v from System > Processor as marked in the screenshot below. If you have an Intel processor execute the following command
When it comes to the network Configure the Also, Configure the Network Adapter 2 to
When running the virtual machine you might get error because of disabled network adapter, the best thing to do is to enable the network adapter.
--------------------------------------------------------------------------------------------------------------------------
When things go smoothly, you can now Install Ubuntu
Upon installation there should be two networks.
It is more easier for you because the installer can guide you through partitioning an entire disk or if you want to make it hard for you, you have your option to do it manually and email me if problem arise. ^_^
--------------------------------------------------------------------------------------------------------------------------
Now it is time for you to UPDATE UBUNTU...
"copy paste the codes to make it more easier for you"
Using the VirtualBox change the root user and update the system
Follow the codes: sudo -i
apt update -y && apt upgrade -y
Install the DevStack instructions can be viewed here: https://docs.openstack.org/devstack/latest/
Note: DevStack should be run as a non-root user with sudo enabled
Follow the codes: sudo useradd -s /bin/bash -d /opt/stack -m stack
echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack
sudo su stack
cd ~
Clone DevStack
Follow the codes: git clone https://opendev.org/openstack/devstack
cd devstack
Copy local.conf
Note: Copy the default settings from the sample configuration.
Follow the codes: cp samples/local.conf local.conf
nano local.conf
Edit local.conf
Note: You must edit the settings first, update the password and uncomment the HOST_IP and add the IP Address of the servers IP on the Host-Only network then save.
Follow the codes: ADMIN_PASSWORD=yoursecret "you can choose what you want"
DATABASE_PASSWORD=$ADMIN_PASSWORD "you can choose what you want"
RABBIT_PASSWORD=$ADMIN_PASSWORD "you can choose what you want"
SERVICE_PASSWORD=$ADMIN_PASSWORD "you can choose what you want"
HOST_IP=<HOST_ADAPTER_IP>
Now start the installation
Note: Installing the script depends on the speed of your internet connection and it make takes time for 30-40 minutes.
Follow the codes: ./stack.shcd devstack
Copy local.conf
Note: Copy the default settings from the sample configuration.
Follow the codes: cp samples/local.conf local.conf
nano local.conf
![]() |
| I can't proceed with copying of local.conf. I had encountered error. |
![]() ![]() |
| So I repeated the commands again then Bingo! Got it! ^_^ |
Edit local.conf
Note: You must edit the settings first, update the password and uncomment the HOST_IP and add the IP Address of the servers IP on the Host-Only network then save.
Follow the codes: ADMIN_PASSWORD=yoursecret "you can choose what you want"
DATABASE_PASSWORD=$ADMIN_PASSWORD "you can choose what you want"
RABBIT_PASSWORD=$ADMIN_PASSWORD "you can choose what you want"
SERVICE_PASSWORD=$ADMIN_PASSWORD "you can choose what you want"
HOST_IP=<HOST_ADAPTER_IP>
Now start the installation
Note: Installing the script depends on the speed of your internet connection and it make takes time for 30-40 minutes.
When the script successfully completed, optionally you can configure your OpenStack with a Static of IP Address.
Follow the codes: sudo nano /etc/netplan/50-cloud-init.yaml
Thanks for visiting my blog.
Email me at: aileen-pacia@live.nmit.ac.nz
“I can do all things through Christ who strengthens me.”
Philippians 4:13
“I can do all things through Christ who strengthens me.”
Philippians 4:13















No comments:
Post a Comment