Linux Installation
Operating System Installation
The purpose of this assignment is to teach you how to perform a basic
operating system installation. The task is to install the Xubuntu
distribution of Linux, using the systems in the lab.
Why Xubuntu? Because it’s different from the Fedora systems that
you’ve been using all along here at CSU.
                
Labeled DVD installation discs are provided in the lab.
Don't steal them—you can download Xubuntu for free yourself.
                
Follow the Configuration information regarding usernames,
networking infomation, etc. Otherwise, use default or automatic
configurations when asked by the installation process. (If you have more
confidence in what you are doing, feel free to experiment with
configuration, as long as you produce a working system.)
                
Booting
To boot from a DVD:
- Press the power switch.
- Press & hold Esc until the Startup Menu appears.
- Press the button to open the DVD tray.
- Put your DVD in the tray.
- Press the button to close the DVD tray.
- Press ↓ to move the ▶ cursor to “BootMenu”.
- Press Enter.
- Press ↓ to move the ▶ cursor, past “Legacy Boot Source”, to “SATA2”.
- Press Enter.
To boot from the hard disk:
Usually, just turning on the power is good enough to boot
from the hard disk. If that doesn’t work:
                
- Press the power switch.
- Press & hold Esc until the Startup Menu appears.
- Press ↓ to move the ▶ cursor to “BootMenu”.
- Press Enter.
- Press ↓ to move the ▶ cursor, past “Legacy Boot Source”,
past “Hard Drive”, to “WDC …”.
- Press Enter.
Part 1 — Documentation
Create a plain text document with your notes on the installation
process. You will need this, later, to re-install the OS when something
goes wrong. Don’t save it on this computer—save it on your CS
account on another CS Department computer.
                
Include the choices that you made during installation, problems that you
have during the lab, as well as the solutions you find to your problems,
along with your results. A lab usually involves completing a set of
tasks or experiments or a procedure with several steps. These
experiments or tasks may not always proceed correctly. Writing down
what goes wrong and what goes right is part of the learning process.
                
Part 2 — Installation
- Sit down at the machine belonging to your group. There may already be
a Linux system on this computer from a previous lab. Too bad for it!
We will mercilessly overwrite it.
- If the system is running, shutdown the system using
sudo halt
.
- Turn the system off.
- Turn it on.
- Open the optical drive, put in your DVD, close the drive.
- It should boot from the DVD. If not, convince the BIOS to do so.
- You should select the English language.
- Install third-party software, when asked.
- Choose to purge all previous partitions to assure that your machine is
a clean slate. If you were doing a real installation, you would backup
any important files existing on your machine before you installed
Linux.
- Allocate the following primary partitions:
- an 80GB Ext4 partition, mounted as
/home
.
- I don’t care if you interpret 80G as 80×109 or 80×230
- an 8GB swap partition
- other partitions (e.g.,
/tmp
) if you wish.
- the rest as an Ext4 partition, mounted as
/
- Select Denver on the world map in order to set the time on the machine.
- English keyboard
- Supply a username and password for the
ct320
account,
as specified in Configuration.
- Allow the installation to continue.
- After rebooting …
- Login using the username you just created.
- Configure networking:
- Click on the spinning network icon in the upper-right
- Edit Connections
- Wired connection 1
- IPV4 Settings
- Configure the IP address, DNS server, and search domains according to
Configuration.
- If the network icon is still spinning, click on it, and select
“Wired connection 1”. It should calm down.
- Make sure that the
Linux system seems to work as expected. If you find problems, enter
them in your log.
- What is the default browser in your installation? Does it work? If
not, why not?
- When you are done testing that your Linux installation works, reboot
the machine by using the
reboot
command. Turning systems off
without using a reboot
/shutdown
/halt
command can leave the
machine in a bad state.
Part 3 — Update
Your software came from a DVD, and is therefore out of date.
There could be security problems with the software on the DVD that
have since been fixed! Get the latest software via the network:
                
sudo apt update
sudo apt upgrade
Using the man command, understand what you just did.
What’s the difference between update
and upgrade
?
                
Part 4 — Additional downloads
In a terminal window, install the following software packages, using
sudo apt install
packagename:
                
cifs-utils
gedit
iotop
nmap
perl-doc
sshfs
ubuntu-restricted-extras
vim-gtk
Can you do it with a single command?
                
Remove these packages, using sudo apt purge
packagename:
                
Part 5 — Demonstration
Demonstrate to the TA that your system works. You might want to
try these before summoning the TA:
                
df -h
ssh
your-username@acushla.cs.colostate.edu id
- Open a browser to https://zoomquilt.org/
gvim /etc/resolv.conf
Part 5 — Halt
Turn off your system using the halt
command.
                
If the system refuses to power off, then hold in the power button.
This is rude, so only do it if necessary.