Daniel Ngu

Server Installation

Media

ISO available via Ubuntu Server download page.

Installation

Select language.
Select location.

Configure keyboard:
Detect keyboard: No
Select origin and layout.

Enter hostname.
Enter full name and username for new user.
Enter password.
Choose whether to encrypt home directory.
Set time zone.
Partition disks.
Enter proxy if relevant, else leave blank and continue.
Choose how to manage updates.

Software Selection:
Basic Ubuntu server
OpenSSH server
Samba file server

Install boot loader.
Reboot.

Static IP Address

Ethernet:

/etc/network/interfaces
1
2
3
4
5
6
7
8
auto eth0
iface eth0 inet static
        address <ip-address>
        netmask <netmask>
        network <network>
        broadcast <broadcast>
        gateway <gateway>
        dns-nameservers <dns-nameservers>

Wireless:

/etc/network/interfaces
1
2
3
4
5
6
7
8
9
10
auto wlan0
iface wlan0 inet static
        address <ip-address>
        netmask <netmask>
        network <network>
        broadcast <broadcast>
        gateway <gateway>
        dns-nameservers <dns-nameservers>
        wpa-ssid <ssid>
        wpa-psk <passphrase>

Optional:
Comment out interfaces if not required.

Update

Update
1
2
3
$ sudo apt-get update
$ sudo apt-get upgrades
$ sudo apt-get aptitude        # Useful if not already installed