Sunday, May 1, 2016

CentOS 6 - Minimal Installation, How To

Initial Installation - CentOS 6.7


Instructions:

After creating your Virtual Machine (VM), make sure that you adjust Virtual Machine Settings > CD/DVD (IDE) > Use ISO image file to the ISO you just downloaded. In this case, I am using CentOS-6.7-i386-minimal.iso.


Once you are finished, press "OK", then power on your VM.









Press the ENTER key:






Skip the media check:












At the following screen, select "Next".






On the following screens, select "English (English)" > Next > U.S. English > Next. If a "Warning" pop-up, appears, select "Yes".







Next, select "Basic Storage Devices", then select "Next".






On the Storage Device Warning screen, select "Yes, discard any data", then select "Next".






On the following screen that appears, set your desired hostname. Once done, click on "Configure Network”, then click on “Edit” at the “Editing System eth0” pop-up that appears.








To ensure network connectivity at boot, make sure "Connect automatically" is checked, then select "Apply...", "Close", then "Next".














Next, make sure your time zone settings are fine. If so, click on "Next".






On the screen that follows, set the system's root password, then click on "Next".






On the following section, click on the drop-down menu and select "Create custom layout". It should look like this:
Once you are done, select "Next". On the following screen, click on "Free", then select "Create":
On the popup that appears, select "Standard Partition", then select "Create":
My first partition will be /boot, so I enter this information in the field "Mount Point:", check "Force to be a primary partition", then click on "OK".
Again, select "Free", then click on "Create".
On the popup that appears, select "Standard Partition", then select "Create":

My second partition will be /, so I enter this information in the field "Mount Point:". Additionally, I am setting aside 1024MB for swap, so 34615MB of free space minus 1024MB gives me 33591MB for /. This value is entered in "Size (MB):". Next, I check "Force to be a primary partition", then click on "OK".
Finally, I will create a partition for swap. Click on "Free", then select "Create":
On the popup that appears, select "Standard Partition", then select "Create":
To create a swap partition, in the drop-down "File System Type:" menu, select "swap", then select "Fill to maximum allowable size", then check "Force to be a primary partition". Once you are done, click on "OK".
As displayed below, you should have 3 partitions under "Hard Drives > sda". If your settings appear similar to the following, select "Next".

On the "Format Warnings" popup that appears, go ahead and click on "Format".
On the "Write storage configuration to disk" popup that appears, go ahead and click on "Write changes to disk".
On the following screen, leave the defaults as-is, but spot-check it anyway. GRUB should be installed on /dev/sda and the device should be on that same partition (i.e., /dev/sda and /dev/sda2, not /dev/sda and /dev/sdb2). Once you are done, click on "Next".
The installation process should now start. This will take about 5-10 minutes to complete. Go make some coffee or tea.

The following screen indicates completion of the CentOS minimal installation process. Select "Reboot" to boot into your newly-installed system.

No comments:

Post a Comment