You can complete the installation using a CentOS 6.3 CD or ISO file. After booting the CD, the first screen you will see is as follows. We select the first option to begin the installation.

In the next step, continue with the Next button.
In the following two steps, it will first ask for the system language and then the keyboard language. Here, we continue with English selected without making any changes.
In the next step, a field where we can enter a HOSTNAME will appear at the top. Enter the hostname you want to give the server here. On the same screen, click the Configure Network button in the lower left corner. On the screen that appears, click the Add button,
then select the options as shown in the image and enter the IP address, Netmask, and Gateway values you want to enter on the server.

On the next screen, we select the time zone on the server as shown in the image.

On the next screen, we enter the root password we want to use for the server. (Be careful not to use a simple password.)
On the next screen, we will perform the disk partitioning. Make the selection as shown in the image and click the Create button.

The directories we need to create in order are /boot, swap, and /. First, as shown in the image below, select the /boot option from the top and enter 400 in the Size(MB) field, then click OK.

The next directory to create is the swap directory. Make the selection as shown in the image. In the Size(MB) section, enter a value of twice the amount of RAM on the server. For example, if the server has 4 GB of RAM, enter 8000 in the Size(MB) field.

Once the swap directory is created, we can now create the / root directory. Make the selection as shown in the image and without entering a value in the Size(MB) field, select the “Fill to maximum allowable size” option at the bottom and press OK.

In the next step, select the “Write changes to disk” option and continue with the process.
In the next step, continue with the Next button without making any changes.
On the next screen, select the “Basic Server” option and continue, thus starting the installation process. When the installation is complete, remove the CD and click Reboot, then wait for the server to restart.
After the server starts, log in with root and your password, type setup in the command line, and press Enter. A screen will appear where you can configure network and firewall settings.
In the Firewall Configuration section, if the Enabled option is active, deselect it and save. If the firewall is on, we will not be able to connect to the server via SSH.
If your server has more than one ethernet port, you can check in the Network Configuration section which ethernet has been assigned an IP, which is active, and which is passive.
Finally, we need to enable the on-boot feature for the ethernet card. To do this, perform the following steps.
nano /etc/sysconfig/network-scripts/ifcfg-eth0
As shown in the image, we need to set the ONBOOT option to “yes.” This option will come as “no” by default after installation. After saving and exiting, run the following command:
service network restartto restart the network.
You can check connectivity by pinging the server’s IP address.
Leave a Comment
* Your comment will be published after approval.
Comments
0No comments yet. Be the first to comment!