CentOS 6.3 network installation with PXE Boot

If the server you are using supports PXE boot, you can install or re-install your server operating system by booting to the Cybercon Server Utilities via PXE boot.


1. Once the server boot to the Cybercon Server Utilities via PXE boot, you can select Client Area from the menu. Please noted that entering the Client Area and using the utilities available in that area may cause data loss in the server (Such as clean OS reinstallation). Proceed only if you are 100% sure you do not need any data from the server or you have data backup in a different location outside the server.

2. In order to access the client area, you need to enter the word acknowledge as password to confirm that you understand the risk of losing data when performing OS installation.

3. Select Operating System Installation from the Client Area Menu.

4. Select Linux OS from the Operating System Installation Menu.

5. Select CentOS Linux from the Linux OS Menu.

6. Select CentOS Linux ver 6.3 from the CentOS Linux Menu.

7. There are 4 choices in the CentOS Linux ver 6.3 Menu. Choose between 64bit and 32bit. If you want to customize your own installation, please choose Normal Install, otherwise, select Quick Install. In our example here, we choose Quick Install (64bit)

8. If the storage disk you are planning to install CentOS to is blank, CentOS installer may prompt you a Warning message. All you need to do is choose either Re-initialize or Re-initialize all.

9. In the next screen, the CentOS installer will ask you to enter the root password for the server. Just enter your desire root password twice and choose OK to continue.

10. In the next screen, the CentOS installer will ask you how you like to partition the drive. Typically, choose Use entire drive and then hit OK to continue

11. The CentOS installer will partition your drive and format the partition. It depends on the size of the drive/partition, it may take some times.

12. Once the Installer finish formatting the partition, it will start the Package Installation.

13. After the Package Installation, the Installer will run the post-installation scripts. And that includes updating the OS from the Internet directly.

14. After the post-installation scripts is done, the server will reboot by itself.

15. Once the server finish rebooting, it will launch the first time boot setup screen. You can customize the firewall and keyboard configuration here as well as the System services. The most important is the Network configuration. So choose Network configuration and hit Run Tool.

16. In the next screen, select Device configuration.

17. In the Select A Device screen, choose eth0.

18. Remove the check mark in Use DHCP and enter the Static IP, Netmask and Default gateway IP based on the IP information obtained from Cybercon. For Primary DNS server, you can enter 216.15.129.205 and 216.15.129.206. Hit OK when it is done.

19. Now,choose DNS configuration.

20. Enter the server and domain name in the Hostname area. The name you enter here will be the name of the server. Hit Ok when it is done.

21. Now, hit Save&Quit to save the changes.

22. Now your CentOS 6.3 server is ready to go.

How to configure Network Settings in CentOS command mode?

1. Log in to the CentOS via console.

2. Change directory to /etc/sysconfig/

3. Add the gateway information to the file network. You can use a text editor such as nano or vi to edit the file.

i.e. vi /etc/sysconfig/network

The network file should look similar to this

NETWORKING=yes
HOSTNAME=myserver.cybercon.net
GATEWAY=184.175.92.241

Please note that your gateway and hostname should be different from the above example. Once you finish adding the GATEWAY line, save the file and exit.

4. Next, you need to modify the Ehternet interface 0 file located at /etc/sysconfig/network-scripts/ifcfg-eth0

i.e.

vi /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE="eth0"
NM_CONTROLLED="yes"
ONBOOT="yes"
NETMASK=255.255.255.0
IPADDR=192.168.0.2

Again, your IPADDR and NETMASK settings may be different from the above example. Once you finish editing the file, save it and exit.

5. The next file you need to modify is resolv.conf located in /etc/resolv.conf

Add the following 2 lines to the file.

nameserver 216.15.129.205
nameserver 216.15.129.206

Please check the welcome email you received from Cybercon for the name server IP address. Yours may not be 216.15.129.205 or 216.15.129.206. Once that is done, save the file and exit.

6. After you modify all the above files, you need to restart the network. You can do so by issuing the following command.

service network restart

CentOS 6.2 Installation with HP Server Management Console

1. Open Internet Explorer and go to the URL provided by Cybercon. (You can find the URL from the welcome email you received from Cybercon after you order the service). Log in with your customer ID and password in the HP iLO web management interface.
2. In the iLO interface, click the Virtual Media tab.
3. Single click the Virtual Media Applet link.
4. Click the Browse button and locate the CentOS 6.2 ISO image in your local computer.
5. Once that is done, click the Connect button to connect the ISO as a CD/DVD drive.
6. Do not close the Java window, just switch back to HP iLO interface and click the Remote Console tab following by clicking the Integrated Remote Console link.
7. From the top of the console screen, click the Power button and then choose Momentary Press to power on the physical server.
8. The server should boot from your ISO/CD/DVD image. Select Install or upgrade an existing system to continue.
9. In the next screen, choose Skip to skip the media test.
10. In the first install graphical screen, press Next to continue.
11. Choose the Installation process language and click Next.
12. Select the Keyboard type and click Next.
13. Select Basic Storage Devices and click Next.
14. In the next screen, choose Fresh Installation and click Next.
15. Enter the Server host name and click the Configure Network button.
16. In the Network Connections window, highlight the System eth0 and click the Edit button.
17. Check the box next to Connect automatically. Under IPv4 Settings tab, select Manual in Method drop down box. Enter the IP address, subnet mask, Gateway and DNS servers information provided by Cybercon from the Welcome Email you received. Click Apply to save the changes.
18. In the next screen, enter the root password and then click Next to continue.
19. For new install, just choose Use All Space and continue.
20. In the next screen, select the package set you like to install. In our example here, I just choose Minimal.
21. The server will start the installation. Once that is done, click the Reboot button to reboot the server.