Visitor Counter

Visitor Counter

Sunday, March 1, 2020



Today I'm going to guide how we can use Open Stack In virtual box


You should have Virtualbox




Ubuntu OS (Server version)




Open Stack






First step we have to create HOST ONLY ADAPTER







Change the IP’ we should have two networks to work with Open Stack






We Should enable DHCP and config the DHCP pool










Now We crate the Virtual Machine

Machine              New  (Shortcut Ctrl + N)

Note -:

Name Should be as it is in the imageOpenStack

Machine folder you can select any drive you have E.g. C: or D:

Type should be Linux (we are going to install Linux)

Version should be Ubuntu (64 Bit)





Setting up the Virtual machine RAM as 4GB







Now we are going to create the Hard disk drive (HDD)




Hard disk crating Cont.….


Giving the Capacity for the Hard disk Recommended is 30 GB due to my lack of hard disk capacity I gave it as 25 GB





This Code will enable the  “ Enable Nested VT-x/AMD-V” 

"C:\Program Files\Oracle\VirtualBox\VBoxManage modifyvm OpenStack --nested -hw-virt on


After running the cod it will ask to restart the virtual machine and it will give a message saying the system settings have changed



Processor Settings for Machine






Mounting the ISO to boot







Mounting the ISO to boot Cont..







 Mounting the ISO to boot Cont.









Adapter 1 settings should be as default and
Adapter 2 settings should change as it is in the image


Now For the Installation of Ubuntu









After creating the virtual machine we have to start it then it will boot the Ubuntu
1st we have to select the language as English (or the language that you prefer )










Next step it will ask for the Keyboard layout and it should be US 

Note -: Default keyboard layout are US 

You can use TAB button to move around the options and to select Press ENTER button 








Creating the network keep it as default  and DONE







Then it will ask for the proxy if your network have a proxy you should give the proxy otherwise keep it as it is 








Mirrors site keep this as default

If you feel your Ubuntu update are getting slower than change the mirror sites from the repository








Creating the hard disk keep it as default it will use the entire disk 
and select press enter 






Note You can use arrow keys to go through the list

Creating the hard disk keep it as default press enter






Summary of the Configuration 



Asking for the confirmation and giving a warning about the data in the disk will be deleted Select Continue and press enter



After that it will ask for
Your name
Sever name
Username
Password
Fill those as you like 






It will ask for Open SSH to install if you like you can install and use Space button to select the option (OPEN SSH is Secure Shell or Secure Socket this will help you to access PC via Secure method )




Other services and packages that are in this sever version if you like you can install by using space button or else select done and continue







Then it will start installing and updating if it give a error cancel and reboot



Installing process






Installing process  cont.…





Installing process  cont.…
Press enter to continue.


Login into the Server and installing Open Stack

 







After installing process completed login using you user name and password  and switch to the Root account

Note
Root Account = Windows  Operating System Administrator account








Use Sudo -i to switch the account to root and give the password

Note when you switch to root account $ signs should change to #


After that run the update using  apt-get update 

And run update and upgrade as well using


Apt update -y && apt upgrade  -y


Updating the system



Updating the system Completed.

 



















Adding the user to stack






Copying Dev stack





moving in to the  Devstack folder










Copying the "local.conf" file and copy to devstack folder








To edit the file using the command

" nano local.conf  "

Note
To find your ip use the Command

" Ifconfig "

It should be your DHCP pool address


Editing the local.conf file change the password as it in the image or (any password you like)


After editing the file use (Ctrl + X ) to save and press letter Y if it's ask for confirmation







Final step run the command to install the open stack


Use the IP that gave in the "local. Conf" file  to log in 

use the physical machine web browser



What are the Problem that I face when I Install



  1. Virtual box crash nearly 6-time NOTE-: Helpless
  2. When I restart the Virtual machine  it start the Ubuntu installation again NOTE-: after first installation is complete remove the CD(ISO) from your Virtual drive settings or Run the update properly in the installation 
  3. when I run the update and upgrade command for the first time it didn't update or upgrade properly NOTE -:Run it again
  4. When I run the ./stack.sh command it took nearly 1hour 15 min to install the Open Stack between that time some time screen shows like STUCK   NOTE-: Do not press anything at that time its default if you press it will stop




Reference-:

Install Open Stack

https://docs.openstack.org/mitaka/install-guide-ubuntu/horizon-install.html 

 






No comments:

Post a Comment

Click hear to Visit my Facebook