System is up! Login into your user account. Reboot the system for completing the installation.
While the installation goes on, set “root” password and “user”. Now, it’s time to set all the installation options.Īfter everyhing is set, begin the installation. Make sure to choose your preferred language. This is the first page of CentOS installation. Once the options are set, it’s time to fire up the virtual machine! Installing CentOS If your system has more cores, then you can easily assign more to the system.įrom “Display”, assign the highest “Video Memory”.įrom “Storage”, select the ISO you just downloaded. Select the “CentOS” and press “Ctrl + S”.įrom “System”, assign 2 processor cores (or threads). Now, for installing CentOS, I recommend assigning 16GB of disk space. This way, the more you fill the virtual machine, the virtual hard disk will grow accordingly instead of grabbing all the spaces you’re about to assign. Now, it’s time to create a virtual hard disk.Ĭhoose “Dynamically allocated”.
2: Download & Add VirtualBox Repository on CentOS Next step to install VirtualBox is to add its official repository in CentOS 6/7 or RedHat 6/7. For GUI users, go to Applications and search for Terminal and click on Konsole. Setting VirtualBoxĮnter the name and choose the version as “Red Hat (64-bit)”.Īt the next step, enter the amount of RAM space you’re willing to assign for the virtual machine. Open Command Terminal If you are using CentOS command line version then you can move to the next step. Whatever you grab, the installation is going to be the same. Your browser should start downloading VirtualBox RPM package file. Your browser should prompt you to save the VirtualBox RPM package file. Now, click on Oracle Linux 8 / Red Hat Enterprise Linux 8 / CentOS 8 link as marked in the screenshot below. It does not store any personal data.Don’t worry. First, visit the official Linux download page of VirtualBox. The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. The cookie is used to store the user consent for the cookies in the category "Performance". This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". The cookie is used to store the user consent for the cookies in the category "Other. The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". The cookie is used to store the user consent for the cookies in the category "Analytics". These cookies ensure basic functionalities and security features of the website, anonymously. Necessary cookies are absolutely essential for the website to function properly. The VirtualBox Extension pack is use to enable several useful functionalities for a guest operating system or virtual machines such as USB device support, RDP support, and many more. Loaded: loaded (/usr/lib/virtualbox/vboxdrv.sh enabled vendor preset: disabled)Īctive: active (exited) since Thu 21:31:52 UTC 6s ago Installing VirtualBox Extension Pack Step 4 – You can verify VirtualBox installation by checking the status of vboxdrv service, as shown below: $ systemctl status vboxdrv Output:
You can install VirtualBox like any other application after update the apt package list as shown below: $ sudo apt update Step 3 – Once the VirtualBox’s Oracle repository gets enabled in your CentOS system. Step 2 – Now, downlod the oracle linux repository file to /etc// directory using the wget command, as shown below: $ sudo wget -P /etc/
$ sudo yum install kernel-devel kernel-devel-$(uname -r) kernel-headers kernel-headers-$(uname -r) make patch gcc Step 1 – In the first step, we need to build tools for compaling vboxdrv kernel module to your CentOS system by using the following wget command:.