How to Install Ubuntu Server
Ubuntu is a very popular operating system. It is free, and community supported. Developers around the world prefer Ubuntu for its great functionality. Ubuntu server is a variant of standard ubuntu which is specially designed for network and services. Ubuntu server can run from a simple file server application to operating thousands of node cloud.
There is a significant difference in the installation process of Ubuntu desktop and server. Where Ubuntu Desktop comes with a graphical user interface that is easy and intuitive to install, Ubuntu Server does not have a graphical program for installation.
Requirements To Install Ubuntu Server
To be able to set-up or install Ubuntu server in any machine, we need to first satisfy the basic hardware needed. Following are a must: –
- A system should have at least 2 GB of free storage space.
- There has to be a slot for DVD reading or a flash drive port that should contain the ubuntu server setup software for installation.
Steps to Install Ubuntu Server:
Let us discuss the steps required to install Ubuntu Server are as follows:
Step 1: Boot from install media
This is typically the first step of the installation process where we obtain a ubuntu server software copy in the form of a DVD or USB flash drive and read it through the DVD player or USB port.
Once the software copy is inserted into the drive, a dialogue window should pop up within 1 few seconds. Once that is available, the next step should be followed.
4.5 (1,689 ratings)
A restart may also be needed, if so, please restart your computer. After the restart, a message as displayed below can be seen.
Step 2: Choosing the language of installation
There are several languages in which Ubuntu can be installed. In this step, we choose the language of installation. For this tutorial, we shall pick English as our language to install the Ubuntu Server. The language option is displayed right after the boot message.
Step 3: Choosing correct keyboard layout
Once the language of installation is selected, we need to choose the keyboard type. For this tutorial, we shall select English US keyboard layout.
Keyboard layout selection is important because during the installation process, several commands need to be sent to the installation wizard for correct installation and hence keyboard is required for that.
Step 4: Choose install variant
Under this step, we select the relevant version for installation. There could be many options available such as install ubuntu, install mass region controller, install mass rack controller. We should pick install ubuntu option.
Step 5: Networking
In this step, the installer automatically detects and try to configure any network connections through DHCP switch. This step is automatic, and the user need not do anything. But it is still good to know.
Step 6: Configuring the storage
As a next step, we need to setup memory storage for storing and running Ubuntu. The usual recommendation is to install in an entire disk or partition to be set aside. As can be seen in the screenshot below, the storage step has three choices. Either we can pick an entire disk or can choose manual partitioning. The third choice is to go back and abort the installation process.
If one needs to set up a customized or rather complicated system, then manual option can be picked. It will allow a user to select and re-organize partitions as per his/her requirement on any connected drives.
Step 7: Selecting a device
This menu allows a user to select a disk from all detected disk that is shown on the system. To help this identification, the drives are listed using their system ID. Users can navigate through the arrow keys and press enter key to select the disk that he/she wishes to use.
Step 8: Confirming partition
Now that the target drive is selected, the installer calculates what partitions are to be created and then it presents this information on the display. If a user has different preference or requirement such as if you have selected a wrong drive then arrow keys can be used to change the same or one can select Back from the options available at the bottom of the screen too. This action will take back to the previous menu choices where one can select a different drive and continue the process.
Manually change the partitions is also possible and it can be done by selecting Edit Partitions option. But this should be chosen only if one is familiar with how partitions work.
Once all set, select Done to continue the installation process of Ubuntu server.
Step 9: Confirming the changes
This step is very important. Before the installer makes any permanent changes, it shows this as a final confirmation step. A user should double check if everything is as per his requirement and no wrong device will get reformatted.
There is no undo option for this step and thus once changes are confirmed, the indicated devices get overwritten and all previous content is lost.
Step 10: Setting up a profile
Ubuntu Server requires at least one username, password, and hostname for the system. There is a field for importing SSH keys as well. SSH keys can be imported from Launchpad or Ubuntu One or Github too. Once the user provides the username, the installer will fetch the relevant keys from one of these systems as selected and install them on the system for use. e.g. secure SSH login to the server. This may look complicated but is quite simple.
Step 11: Installing software
Once all required information is entered, the screen starts showing the progress of the installer. Ubuntu Server only installs a very concise list of software that is a core requirement for the server to function. This ensures the minimum required time for the install and setup. Once this step is completed i.e. after the install is finished, any additional software can be installed as needed.
Step 12: Installation completion
When the installation process is complete, the user can see a message like the below screenshot. This indicated that the installation process is over, and the system is ready for use. Now, the user should remove the installation media from DVD drive or flash drive as the case may be and then restart the system one last time before use.
This has been a guide on how to Install Ubuntu Server. Here we have discussed the basic concept and step by step guide to install Ubuntu Server. You may also look at the following articles to learn more –