Installing CentOS in VirtualBox

Anonim

Installing CentOS in VirtualBox

CentOS is one of the popular Linux-based systems, and for this reason, many users want to meet her. Installing it as the second operating system on your PC - option is not for everyone, but instead you can work with it in a virtual, isolated environment called VirtualBox.

Step 2: Creating a CENTOS Virtual Machine

In VirtualBox, each installed operating system needs a separate virtual machine (VM). At this stage, the type of system is selected, which will be installed, a virtual drive is created and additional parameters are configured.

  1. Run the VirtualBox Manager and click on the "Create" button.

    Creating a virtual machine in VirtualBox for CentOS

  2. Enter the name of the CentOS, and the other two parameters will be filled automatically.
    Name and type of Virtual Machine OS in VirtualBox for Centos
  3. Specify the amount of RAM that you can select to start and operating the operating system. Minimum for comfortable work - 1 GB.

    Virtual machine RAM volume in VirtualBox for CentOS

    Try to take as much RAM as possible under systemic needs.

  4. Leave the "Create a new Virtual Hard Disk" selected item.

    Creating a virtual machine hard disk in VirtualBox for CentOS

  5. Type Do not change and leave VDI.

    Virtual Machine Hard Drive Type in VirtualBox for Centos

  6. The preferred storage format is "dynamic".

    Virtual machine storage format in VirtualBox for CentOS

  7. Size for virtual HDD Select based on the available free space on the physical hard disk. For the correct installation and update OS, it is recommended to remove at least 8 GB.

    Virtual Machine Hard Drive Volume VirtualBox for CentOS

    Even if you select more space, thanks to the dynamic storage format, these gigabytes will not be occupied until this place is occupied inside the CentOS.

On this installation VM ends.

Step 3: Setting up a virtual machine

This stage is optional, but will be useful for some basic settings and shared familiarization with what can be changed in VM. To enter the settings, you need to right-click on the virtual machine and select the "Configure" item.

Virtual Machine Settings in VirtualBox for Centos

In the System tab, the Processor can increase the number of processors to 2. This will give some increase in the performance of the CentOS.

Setting up a virtual machine processor in VirtualBox for CentOS

Going to "Display", you can add some MB to the video memory and turn on the 3D acceleration.

Setting the Virtual Machine Display in VirtualBox for CENTOS

The remaining settings can be set at your discretion and return to them at any time when the machine is not running.

Step 4: Install Centos

The main and last stage: the installation of the distribution, which was already downloaded.

  1. Highlight the mouse click the virtual machine and click on the "Run" button.

    Starting a virtual machine for setting CentOS

  2. After starting the VM, click on the folder and through the standard system conductor, specify the location where you downloaded the OS image.

    Select the image to install CentOS in VirtualBox

  3. The system installer will start. Using the up arrow on the keyboard, select "Install Centos Linux 7" and press ENTER.

    Starting a CentOS Installer in VirtualBox

  4. In automatic mode, some operations will be produced.

    Operations Before starting the CENTOS installation in VirtualBox

  5. Start the start of the installer.

    Starting CentOS Installer in VirtualBox

  6. The CentOS graphics installer will start. Immediately, we want to notice that this distribution has one of the most worked and friendly installers, so it will be very simple to work with it.

    Choose your language and its kind.

    Select language to install CentOS in VirtualBox

  7. In the Settings window, configure:
    • Timezone;

      Setting up dates and time when installing CentOS in VirtualBox

    • Setting the installation.

      Selecting a CENTOS setting in VirtualBox

      If you want to make a hard disk with one section in a centos, just go to the menu with the settings, select the virtual drive, which was created with the virtual machine, and click Finish;

      Assigning a disc to install CentOS in VirtualBox

    • Select programs.

      Selecting the desktop environment when installing CentOS in VirtualBox

      The default is the minimum installation, but it does not have a graphical interface. You can choose which medium the OS is installed: GNOME or KDE. The choice depends on your preferences, and we will look at the installation with the KDE environment.

      After selecting the shell on the right side of the window, add-ons will appear. Ticks can be noted what you would like to see in the CentOS. When the selection is completed, click Finish.

      Purpose of the desktop environment when installing CentOS in VirtualBox

  8. Click on the Start Installation button.

    Starting a CentOS installation in VirtualBox

  9. During installation (the state is displayed at the bottom of the window as a progress bar) you will be prompted to come up with a root password and create a user.

    Installing a root password and creating an account when installing a CentOS in VirtualBox

  10. Enter the password for ROOT rights (superuser) 2 times and click Finish. If the password is simple, the "Finish" button will need to click twice. Do not forget to first switch the keyboard layout into English. The current language can be seen in the upper right corner of the window.

    Installing a root password when installing a CentOS in VirtualBox

  11. Enter the desired initials in the "Full Name" field. The "Username" line will be filled automatically, but it can be changed manually.

    If you wish, assign this user by the administrator by setting the appropriate check mark.

    Come up with a password for an account and click Finish.

    Creating a user account when installing a CentOS in VirtualBox

  12. Wait for the OS installation and click on the "Complete Settings" button.

    Completion of the first stage of the CENTOS installation in VirtualBox

  13. There will be more settings in automatic mode.

    CENTOS installation process in VirtualBox

  14. Click on the Restart button.

    Reboot After installing CentOS in VirtualBox

  15. A GRUB boot will appear, which by default, last 5 seconds will continue to load the OS. You can do it manually, without waiting for the timer by clicking on ENTER.

    CENTOS loading via GRUB in VirtualBox

  16. The CENTOS boot window appears.

    CENTOS Load Animation in VirtualBox

  17. The settings window will appear again. This time you need to accept the terms of the license agreement and configure the network.

    License and Network when installing CentOS in VirtualBox

  18. Tick ​​in this short document and click Finish.

    Taking a license agreement when installing CentOS in VirtualBox

  19. To turn on the Internet, click on the "Network and Node Name" parameter.

    Click on the regulator, and it will move to the right.

    Connecting the Internet when installing CentOS in VirtualBox

  20. Click on the Finish button.

    Completing the CENTOS installation in VirtualBox

  21. You will fall on the login screen. Click on it.

    Selecting a CENTOS account in VirtualBox

  22. Switch the keyboard layout, enter the password and click Login.

    Login to CENTOS account in VirtualBox

Now you can start using the CENTOS operating system.

CentOS desktop in VirtualBox

Installing CentOS is one of the easiest, and can be easily made even a newcomer. This operating system according to the first impressions will noticeably differ from Windows and be unusual, even if you previously used Ubuntu or MacOS. However, in the development of this OS, there will be no special difficulties due to the convenient surrounding of the desktop and the advanced set of applications and utilities.

Read more