Ubuntu’s personalized server is easy to use and is quite flexible. Unlike RedHat Server, where it installs the base and common packages, In ubuntu you can select which server you want to install.
It gives you various options like DHCP, DNS, POSTFIX, MySql servers, and you can select multiple servers during installation.
If you wish to install more server afterwards, you can do that using ‘apt-get’.
So lets see how to install Ubuntu Server. We will be installing Ubuntu.
- Select your Language.
- Select ‘Install Ubuntu server’
- Select Installation Language and your country.
- Keyboard layout.
Enter no to to manually give your keyboard layout. Yes to automatically detect keyboard layout by presssing some keys.
- Give host-name.
- Select your timezone.
It will detect it automatically (from step 3). - Select how you want to partition.
If you use entire disk, all the free space will be used.
If you setup LVM, you can manually assign the size of pg and vg.
- Select your hard-disk in which you want to install the server.
- Summary of partition.
The installer will then show you the summary of how it has partitioned the hard-disk. Here you can either continue and click yes, or if you want to change it click no.
- Enter name of user.
- Enter username and password.
Remember your username, because server edition has no GUI.
You won’t get a list of usernames. You have to enter username manually.
- Encryption is recommended.
You can either encrypt your home directory or you can leave it as it is.
- If you have a proxy connection, enter it in the format given below.
If you skip this, the proxy won’t allow your server to download anything.
If you don’t have proxy simply leave it blank.
- Installation.
Select how you want to manage updates. - This is the most important and crucial part of installation.
Here you can select any packages that you want in your server and click continue.
These packages will be installed in the installation process.
If you forget some packages, you can install it manually afterwards.
- Wait for installation to finish.
- If you chose MySql and Postfix, it will ask you for the root password.
Enter a password and remember it. - Configure grub
Install grub on master boot record, so that you get a chance to use other OS too. - Installation complete.
- Check your server.