Download CentOS ISO image
You can download CentOS iso image from its website. No need of burning CD or making bootable USB drive.
Download Oracle VirtualBox and install it
You can download VirtualBox from its website according to your current OS like .exe, .rpm, or .deb etc and install.
Make a new virtual machine
After finishing installation, launch virtual box and create new virtual machine.
Installing CentOS
After creating virtual machine, following step for installing CentOS.
Note:- Do not forget to eject the iso image file in settings->storage.
You can download CentOS iso image from its website. No need of burning CD or making bootable USB drive.
Download Oracle VirtualBox and install it
You can download VirtualBox from its website according to your current OS like .exe, .rpm, or .deb etc and install.
Make a new virtual machine
After finishing installation, launch virtual box and create new virtual machine.
- Press “New“, Type as “CentOS 64 bit” or anything you want. Set the type as “Linux“, Version as “Red Hat 64 bit“. And press “Next”.
- Allocate “Memory ” to 512 Mb or 1024 MB . You can increase this value according to requirements. And Press”Next“.
- Then select “Create a virtual Hardisk Now” and press “Create“.
- Then choose “Dynamically allocated“. Note:- You can choose "Fixed size" also according to your requirement.
- Choose the amount of hard disk space you want to allocate for your CentOS system. Select atleast 8Gb-10GB . I have allocated 15GB. And press “Create“.
- You would see the Virtual Box Home Screen. Now Press on “Start“.
Installing CentOS
After creating virtual machine, following step for installing CentOS.
- After pressing "Start", click on the small folder icon and select the location of iso image file and press "Start".
- Once you click start you virtual machine starts up for the first time in a new window.
- Choose language and press "Next".
- Select the model of the keyboard or just leave it to the default value. then press “Next“.
- Select basic storage devices as we fall under that category. then press “Next“.
- In the next screen it will ask to discard any data that exists in the hard disk that you created earlier for this VM. Go ahead and say yes to that. Note : This is not going to discard any of your main hard disk data. Only discard the VM HDD drive that you created along the way which should be empty any way.
- Name your new CentOS VM Server. Name to what ever you want this server to be called as, then press "Next".
- pick a time zone for the Cent OS. then press “Next“.
- Enter a password for root user. If you are a newbie to Linux, root user is like administrator.then press “Next“.
- In this screen you can choose how to layout your partitioning schema. I am not covering how to change default partitioning schema[Custom partitioning] here. Pick the default option "replace existing systems". This will clean wipe the VM HDD one more time and layout partitioning schema to install CentOS. then press “Next“.
- Go ahead and write changes to disk and Cent OS will start installing in your Virtual Machine.
- Congratulations ! you now have successfully installed Cent OS Linux Virtual Machine Server.
Note:- Do not forget to eject the iso image file in settings->storage.
No comments:
Post a Comment