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.

How to install Ubuntu 12.04 Server?

Installation of Ubuntu Server is pretty straight forward. If you have a Linux background, you should be able to install it without any trouble. In the following paragraphs, I will show you how to install it on a HP blade server. The process of install it on a different server should be some what the same.

1. If you are install in via the HP iLO interface, choose the Java based Remote Console instead of ActiveX based Integrated Remote Console. I ran into problem with the Enter key with the integrated Remote Console.

2. Once you boot from the Ubuntu DVD/ISO image, you will see the Language screen. Just choose your favorite language to continue.

3. In the main menu, select Install Ubuntu Server to continue.

4. In the next screen, Ubuntu install script will ask you the language again. The language you choose here will also be the language for the install system.

5. Now, just choose the zone your server is going to be located or the zone you want the server to be set at.

6. The Install script will then ask you if you like it to detect the keyboard. I usually choose No since I know what keyboard I am going to use.

7. Now, choose the desired keyboard from the list.

8. Select the Type of keyboard you use.

9. In the next screen, the installation script will ask you to configure the network interface. Just choose eth0 and continue.

10. In our server environment, we need to set the network manually, so choose Configure network manually.

11. Enter the IP address assigned to you by Cybercon. Your IP address maybe different from the screen shot provided.

12. Enter the gateway IP assigned to you by Cybercon. Your gateway IP maybe different from the screen shot provided.

13. Now, enter the Netmask provided by Cybercon.

14. In the DNS server field, enter the one assigned to you.

15. Enter the hostname of the server.

16. In Ubuntu, you need to create at least one user and you log in to the server with that user instead of root. Just enter the user name you prefer.

17. The install script will also ask if you like to encrypt the home directory. It is up to you if you like to do that or not. By default, I will choose No.

18. Select your time zone and continue.

19. For hard disk partition, choose the one you familiar with. In general, I use the entire disk and use LVM. So I choose Guided – user entire disk and set up LVM.

20. Select the available disk and continue.

21. The installation script will ask you to confirm the partition scheme. Just confirm it to continue.

22. Enter the amount of space you like to use. If you want to use all the available space, just hit Enter.

23. Hit Yes to confirm the changes.

24. The installation script will install the files to your server now.

25. In the next screen, just leave the Proxy setting blank and continue.

26. For automatic updates, I normally want to do it manually so that I have more control.

27. Select the packages you like to install. If you want to SSH to the server, be sure to include OpenSSH Server.

28. If you select LAMP setup, the installation script will install MySQL for you. And in the next screen it will prompt you to enter the MySQL root user password. Just enter the password to continue. You need to confirm the password in the next screen.

29. Now, the installation script need to write GRUB boot loader to the MBR. Just choose Yes to continue.

30. The Ubuntu Server installation is now completed. Hit Continue or Enter key to reboot the server. After the reboot, you should be able to log in to the Ubuntu server at the console.