Introduction to Operating Systems
||TU1: Installing, configuring and exploiting a
|Prŕctical Exercise 1: Installing Debian 8.6.0
and Guest Additions
Prŕctical Exercise 1a:
INSTALLING DEBIAN 8.6.0 AND GUEST ADDITIONS. WORKING WITH
Deadline ASIX1 (Catalan/Daniel
Collados): On 23-9-16 teacher will check that your
operating system is working properly
DAW1 (English/Jordi Binefa): On 26-9-16 teacher
will check that your operating system is working properly
PRACTICAL EXERCISE: INSTALLING
DEBIAN 8.6.0 AND GUEST ADDITIONS STEP BY STEP
0- Download VirtualBox from: https://www.virtualbox.org/wiki/Downloads
Download the installation image of Debian 8.6.0
2- Create a
new virtual machine with te following specifications:
3- Extra features:
- Name: debian8v6
- Type: Linux
- Version: Debian (64-bit)
- Memory: 1024MB
- File Location --> debian8v6
- File size: 10GB
- Hard drive file type: VDI
- Storage on physical hard drive: Dinamically
your newly created virtual machine.
- System --> Processor --> Enable
- System --> Motherboard --> Boot
- 1st device: CD/DVD
- 2nd device: Hard Disk
- Network --> Bridge Adapter
- Storage --> Storage Tree -->
Controller IDE --> Select Empty
- Storage --> Attributes --> Click on
the smal DVD icon --> Select Choose a virtual CD/DVD
disk files... --> FInd and Select debian-8.6.0-amd64-DVD-1.iso.
5- Select Graphical install.
6- Language: English.
7- Location: Other
--> Europe --> Andorra or Spain.
8- Locales: United
Kingdom or United States.
9- Keymap to use: Catalan.
10- Now, some additional
components are loaded in your system. Afterwards, you will be
required to provide a name
for your host. Write inf1-xxyyzz,
where xx=two first letters of your name, yy=two
first letters of your first surname and zz=two
first letters of your second surname (For instance, the
hostname for somebody called Jaume Llopis Martínez
would be inf1-jallma).
11- Now, you should write the Domain name to which your host
belongs. Write fjeclot.net.
Write the following password for your root user: fjeclot
13- Now, write
your name and first surname as a real name
for a new non-administrative user account. Remember, you
are not wrting a username, you are writing the real name. A
real name is for instance "Jaume Llopis".
14- Nom, you have
to write a username for the new non-adminstrative user
account. Write: xxyyzz, where xx=two first
letters of your name, yy=two first letters of your first
surname and zz=two first letters of your second
instance, the username for somebody called Jaume Llopis
Martínez would be jallma).
Remember, that is the name you have to write when you are
logging in your system.
15- Choose and
re-enter a password for the new non-adminstrative account. Write clotfje.
disks --> Guided-use entire disk
17- Select SCSI1 (0,0,0) (sda) - 10,7 GB ATA VBOX
HARDDISK (Don't worry if the number showed by the system is
18- Select All files in one partition.
19- Select Finish
partitioning and write changes to disk.
20- Answer Yes to the question Write the
changes to disk?
21- Now, the base system will be installed
in your host. It takes a few minutes to complete this task.
22- Configuring the
package manager --> Answer No to the question Scan
another CD or DVD?
the package manager --> Answer
Yes to the question Use a network mirror?
and select the following mirror: Finland
It's a server with a high speed connection to Internet.
24- HTTP proxy
information: None. Do not write anything.
25- Now, your
package manager will be configured. Afterwards, a first group of
important software packages will be downloaded from the server and
installed in your computer. It takes a few minutes to complete this task.
26- Answer No to the question made by the
system in the window Configuring popularity-conquest.
27- In Software
selection select :
part of the selected software will be downloaded and installed.
It could take several minutes to complete this task (it depends
on your internet connection and the features of your laptop). Take it easy!!!.
- Debian desktop
- web server
- print server
- SSH server
- Standard system utilities
29- Select gdm3 as a default display manager. Now,
the rest of the selected software will be downloaded
and installed. It could take several minutes to complete
this task. Take it easy!!!.
30- Answer Yes to the question Install
the GRUB boot loader to the master boot record?.
31- Select /dev/sda at the section Device
for boot loader installation.
32- Now, the installation is complete.
Reboot your system. Select the first option in the GRUB menu
(*Debian GNU/Linux). Afterwards, select your
user and write your password. Finally, select your
desktop (at the moment MATE) by clicking on the gear icon
and press Enter (or click on Sign in). If everything works
properly, the selected desktop appears.
33- Select System --> Administration
--> Synaptic Package Manager and:
34- Select Devices --> Insert Guest Additions CD
image. Now, you have inserted a new CD and new windows
appers where you can select among several options. Select Do
- Select Settings
--> Repositories --> Deselect the cdrom
as a software repository and Reload.
- Install the following
packages: gcc-4.8, gcc, make and
linux-header-3.16.0-4-all. Now, you are installing some
35- Select Applications --> System
Tools --> MATE Terminal and:
- Become the root
user. Run the command su - and write the
password of the root user.
- Run the command: /bin/bash
- Close the MATE Terminal.
36- Eject the VBOXADDITIONS_4.3.30_101610
cdrom image. Click with the right button of your mouse on the
CDROM and select Eject on the menu.
37- Reboot your system: Select System
--> Shut Down --> Restart.
38- Gain access to your Desktop. Resize your
window and your Desktop with the help of your mouse.
39- Check your Internet
connection: Surf the net with Firefox. Select Applications
--> Internet --> Firefox.
40- Power off your system in the right
way. Select System --> Shut
Down --> Shut Down.
Installing Virtual Box
Guest Additions on a debian 8.6.0 virtual machine