Ubuntu Linux 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 Ubuntu Linux from the Linux OS Menu.

6. Select Ubuntu Server 12.04.01 LTS (64bit) (or the 32bit version if you prefer)

7. The official Ubuntu install menu should start. Just choose Install.

8. In the first Ubuntu installer screen, select your prefer language for the installation process. In our example here, we choose English.

9. Choose the location for your time zone. United States is the default location we set in our example here.

10. The next question the Ubuntu installer ask is if you allow the installer to detect the keyboard you are using for the installation. We choose No and select the keyboard ourselves.

11. So now, the installer prompt you to select the keyboard. We choose English (US).

12. As for the Keyboard layout, select English (US) as well.

13. In the next scree, enter the Hostname for your server. This is going to be the server name.

14. By default, Ubuntu installer install the package files from one of the mirror sites. Therefore, select the region where the server is located. In our example here, we choose United States.

15. Based on the answer (location) we selected in the previous question, Ubuntu installer will suggest a archive mirror. Just hit enter to accept the default suggestion.

16. For the HTTP proxy information, just leave it blank since we are not using any Proxy Server for the HTTP access.

17. The Ubuntu Installer now loading some additional components.

18. Now, you need to enter the Full name you normal use for managing the server. This user is a non-root user. For security reason, Ubuntu prefer using a normal user for server management instead of root user.

19. Enter the username for the account you are creating. This is the log in name as well.

20. Enter the password for the account. You need to confirm the password when asked.

21. The next question from the Ubuntu Installer is if you need to Encrypt the new user home directory. It is up to you as far as security concern, in our setup example here, we choose the default answer which is No.

22. As for the server time zone setting in the next question, if the default location is fine, choose Yes. Otherwise, select No.

23. Since we need to choose the US Central time zone, therefore Chicago is selected.

24. In the next question regarding Disk Partition, you can choose your own partition scheme. In our example, we choose Guide – use entire disk.

25. Select the disk you like to use.

26. The Ubuntu installer will then ask you to confirm the partition scheme, choose Yes to write changes to the disk(s).

27. After that, the disk will be partitioned and formatted.

28. Once formatting is done, the install will install the base system and other related files.

29. As for the how the server handle system updates, we choose No automatic updates. We prefer update the server manually so that we can schedule the updates in maintenance window we prefer.

30. Select the package you like to install to your server. Select LAMP server if you are using the server as a Web server running PHP and MySQL. (LAMP = Linux Apache MySQL PHP)

31. Since we choose LAMP as the server package, so we need to enter the password for the MySQL root user.

32. We are almost done here. Now the Ubuntu installer ask you if you like to install GRUB boot loader in the master boot record, choose Yes.

33. For the System clock set to UTC question, it is up to you if you prefer set to UTC or not. In our example, we choose yes.

34. Now the installation is complete. Hit Continue will end the installation and the server will reboot by itself. After the server finish booting up, you can log in with the user you created during the setup and perform the following tasks.

– At the command prompt, enter “sudo apt-get update”.
– At the command prompt, enter “sudo apt-get -u upgrade”.
– At the command prompt, enter “sudo apt-get -y install ssh”.
– At the command prompt, enter “sudo nano /etc/network/interfaces”
– Replace the line that said “iface eth0 inet dhcp” with

iface eth0 inet static
address {{IP_ADDRESS}}
gateway {{GATEWAY}}
netmask {{SUBNET_MASK}}

(You can find the IP_ADDRESS, GATEWAY and SUBNET_MASK info from the Cybercon welcome email. If you are not able to locate the email, please contact Cybercon support for assistant.)

– Save the file and exit.
– At the command prompt, enter “sudo /etc/init.d/networking restart” to restart the network.
– Ping google.com to test if the network is working.

After that, Ubuntu Server installation is done.