Step 1. First, Download ubuntu server 14.04 lts from ubuntu official site
Step 2. After downloaded, burn ISO image of ubuntu server 14.04 into cd or usb flash disk. Set your computer booting from usb flash disk or cd/dvd. the system will boot (start) from the cd/dvd or USB flash drive and it appears.
Select what language you would like to install. I am going to use English language
Step 3. Select Install Ubuntu Server
Step 4. Select language that used for the installation process, default English
Step 5. Select location that will used for time zone and also for example to help select the system locale
Step 6. Configure keyboard layout
Step 8. Select country of origin for the keyboard. I am going to use English (US).
Step 9. Select the layout matching the keyboard for your machine. Default English
Step 10. Auto configure network
Step 11. Set Up users and password : Enter full name or real name for the new user, then select
Step 12. Set Up users and password : Enter name for your account, then select
Step 13. Set Up users and password : Enter password for the new user
Step 14. Set Up users and password : Re-enter password for the new user
Step 15. Set Up users and password : Answer Yes if you want to encrypt home directory. I recommend answer No because if your hard driver ever gets corrupted and you need to retrieve information it will be much easier to access it.
Step 16. Select your time zone
Step 17. Partitioning Disks: In this case i will used partitioning manual
Step 18. Add a Disk Partition Table
Step 19. Press return and the on the next menu select Yes and press return.
Step 20. We have a partition table on the first disk.
Step 21. Repeat those steps to create the partition table for the second disk drive.
Create the Partitions
Step 22. We need to start creating the partitions, Highlight the FREE SPACE on the first disk and press return.
Step 23. Create a new partition for /boot, I used the odd 0.8GB for this.
Step 24. I only use Primary partitions here but you can use primary or Logical/Extended, it makes little difference for this example.
Step 25. Put is at the beginning of the free disk space or not your choice.
Select the remaining free space on disk one.
For the swap partition use all the remaining disk space about 2GB.
Add LVM to the root Partition
Configure the Logical Volume Manager, again write the changes to the disk to continue. Create a volume group.
I called mine, vg0. But you can call it anything.
Select the the /dev/md1 this is our root partition which will use LVM so we can snap shot it for backups.
Create a Logical Volume, on the Volume group vg0.
We need to leave some space for the snapshot, so I choose to use 20978Mb. I changed the second digit from a 3 to a zero
Finish and go back to the main menu again.
Assign the Filesystems
Highlight the line under LVM VG vg0, LV lv_root to configure our root partition file system. Set it up as an EXT4 file system and a mount point of / (root). When it is all done it should look a bit like this
Highlight the line under RAID device #0. This is the unused space on the device. Set it up as an EXT4 file system and a mount point of /boot.
Now setup the swap partition on RAID device #2, it’s a similar process to the /boot partition.
Overall it should look like this
Sometimes when setting up the LVM you have to redo the /boot and swap partition if you configured those first, it’s rather annoying.
Finish with the partitioning and save the changes to disk.
Installing the System…
Configure HTTP Proxy: Select unless you are using a proxy, in this case we are not.
Configure Taskel: Select No automatic updates
Software Selection: Select [*] OpenSSH Server by pressing space key on keyboard, then select continue
Installing all Software.
Answer YES to Install the GRUB boot loader on a hardisk
Installation is Complete, Select Continue
Ubuntu Server 14.04 Trusty Tahr ready to use…