We will install ubuntu server from the usb flash drive created on this article, but you could equally follow this article with an ubuntu server installation CD/DVD.
The final installation will have ubuntu server (version 14.04.3 LTS as of this writing) with openSSH, LAMP (Apache, MySQL and PHP for Linux), Samba (File Sharing) and Tomcat (Java Servlet container: used for Jenkins and Artifactory, which we will cover in future articles)
I have a brand new desktop computer with 2xRAID1 drives (4 HDDs), I will install ubuntu onto the first RAD1 drive.
- Boot from the usb flash drive (bios device boot order)
- Stick your media and restart
- Here’s a summary of the installation choices I made:
- Step by step installation
- Make the ip address for the hostname static
- Check apache and tomcat are up and running
- Connecting from a different machine on the same network through ssh (using putty from Windows)
Boot from the usb flash drive (bios device boot order)
Turn on the computer and go to your bios before the OS has a chance to load (usually by pressing one of the F-keys, mine required F2).
If you have an OS installed you will have a very short window of time in which to press the F-key to get into your bios. If you miss it, don’t dispair, restart the machine and try again. Lucky for me, the new desktop is OS free.
Once in the bios, make sure you change the device boot order so that it can boot from a usb flash drive above everything else. (If you are using a CD/DVD, make sure the the CD/DVD drive is booted before anything else).
Stick your media and restart
Place your installation usb flash drive (or CD/DVD) in the computer and turn it on/restart.
Here’s a summary of the installation choices I made:
- Set the language and keyboard to suit (I set mine to UK)
- Hostname: ubuntu (That’s the name of the machine on the network, we will use it to connect by SSH and browser: http://userver)
- Non-root account full name: Fabricio Sanchez (My full name)
- Non-root username: fab (this what I’ll use to login)
- password: ******** (login password for user fab, choose your own)
- Partitions: Guided + LVM installed on first RADI1 drive to max size (2.0 TB in my case, you can also type max)
- Select to install: openSSH, LAMP, Samba, Tomcat
- Set MySQL root password: ******** (choose your own)
Step by step installation
The instructions are mostly very clear, so start by setting the language and keyboard to suit.
Follow instructions as best you can, the steps I found more tricky I’ve documented with pictures so that if I had to do it again (or debug) I would have a record if it.


















Make the ip address for the hostname static
You can do this programmatically in ubuntu, but I’m doing this in our router. So go to your router settings page using your favourite browser. Mine can be reached by going to http://192.168.1.1/
Login as required. This is the process for my router:

Click on ‘DHCP Reservation’ which takes you to the screen below:

Click on the tick box at the top next to userver (under ‘Select’) and click on ‘Add Clients’. This will create a static entry for hostname userver. That is, its ip address will not change.
Check apache and tomcat are up and running
To see if apache is up and running, open your favourite browser and go to http://userver

To see if tomcat is up and running, open your favourite browser and go to http://userver:8080

Connecting from a different machine on the same network through ssh (using putty from Windows)
Go to another machine on the same network as the ubuntu server we just installed. I’m using a windows 7 machine here.
Download putty.exe.
Putty will open a secure connection to the ubuntu server in a terminal window. We will be able to control the ubuntu server as if we were sat in front of it.



That’s it, ubuntu server is ready; with openSSH, Apache and Tomcat; and you can connect to it via ssh from a different machine!
![]()
