Insert the Ubuntu 10.04 Linux server CD into the CD [virtual] drive of your computer and start the machine. (It should be there by default in the VMs for this course.) Select “Install Ubuntu Server” and press return. It should boot from the CD and begin the installation process.
-
You can accept most of the defaults of the installation. A few exceptions are noted below.
-
Select “Canada” as your location.
-
After DHCP fails, select “Configure network manually” and use these values:
- IP address:
192.168.11.100+n
, wheren
is the number of your group. - Netmask:
255.255.255.0
- Gateway:
192.168.11.100
- DNS Servers:
192.168.11.100 142.58.103.1 142.58.103.2
- Hostname:
mxn.470.csil.sfu.ca
- IP address:
-
Select the “America/Vancouver” time zone.
-
Select “guided” partitioning and erase the entire disk (you can use LVM or not: it doesn't really matter). You can accept the default partitioning.
-
Wait for the base system installation.
-
Create an account for one of your group members. (Others will be created later.)
-
It would probably be wise to “install security updates automatically”.
-
You can select the “LAMP Server” software if you wish (but can always install the components later).
-
Reboot the machine. (You are done with the CD at this point. It is not necessary to “eject” the CD on the virtual machines: just forget it's there.)
-
When the login prompt appears, log in as the user created earlier.
-
Download the package source files that point to the local mirror:
cd /etc/apt
sudo mv sources.list sources.orig
sudo wget http://cmpt470.csil.sfu.ca/lucid/sources.list
sudo apt-get update -
The “Universe” and “Multiverse” components of Ubuntu are included in your package lists by default. If you don't want them, comment out the corresponding lines from
/etc/apt/sources.list
and update the package lists again (sudo apt-get update
). (You can do this later if you want as well.) -
Install the SSH and NTP servers. You can do that with this command:
sudo ntpdate cmpt470.csil.sfu.ca
sudo apt-get install openssh-server ntp -
At this point, you can begin working remotely from another Linux machine. There should be no more need for being at the (VMware) console.
-
You should probably update the packages on your machine to reflect any security or other updates:
sudo apt-get dist-upgrade
-
Create accounts
prof
,ta
,csilop
, and one for each group member.- Use the password given in lectures for
prof
,ta
, andcsilop
. Use whatever password you like for the group-member accounts. - You can create a new user with the
adduser
command:sudo adduser userid
- Add each user to the
admin
group so they can also perform administrative tasks:sudo gpasswd -a userid admin
- Use the password given in lectures for
You will probably want to install more software (either now or later). You can do this with apt-get
(command-line) or aptitude
(interactive).