Introduction to Operating Systems
||TU1: Installing, configuring and exploiting a
|Prŕctical Exercise 1: Installing Debian
10.1.0 and Guest Additions
Prŕctical Exercise 1:
INSTALLING DEBIAN 10.1.0 AND GUEST ADDITIONS. WORKING WITH
Deadline ASIX1: On 24-9-19
teacher will check that your operating system is working
DAW1: On 26-9-19 teacher will check that your
operating system is working properly
PRACTICAL EXERCISE: INSTALLING
DEBIAN 10.1.0 AND GUEST ADDITIONS STEP BY STEP
FIRST PART: INSTALLATION
0- Download VirtualBox from: https://www.virtualbox.org/wiki/Downloads
Download the installation image of Debian 10.1.0
2- Create a
new virtual machine with te following specifications:
3- Extra features:
- Name: debian10v1
- Type: Linux
- Version: Debian (64-bit)
- Memory: 1024MB
- File Location --> debian10v1
- File size: 12GB
- Hard drive file type: VDI
- Storage on physical hard drive: Dinamically
4- Start your newly created
- System --> Processor --> Enable
- System --> Motherboard --> Boot
- 1st device: Optical (CD/DVD)
- 2nd device: Hard Disk
- Disable Floppy
- Audio --> Disable Audio
- Network --> Attached to: NAT
- 1st step: Storage Tree -->
Controller IDE --> Select Empty
- 2nd step: Attributes --> Click on the
smal DVD icon --> Select Choose a virtual CD/DVD
disk files... --> FInd and Select debian-10.1.0-amd64-DVD-1.iso
- USB: Disable USB Controller
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 Pons Martínez
would be inf1-japoma).
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 Enric Pons
Giménez would be enpogi).
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) - 12,9 GB ATA VBOX
HARDDISK (Don't worry if the number showed by the system is
18- Select All files in one partition (recommended for
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 next section.
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- Check your Internet connection: Surf
the net with Firefox.
Select Applications --> Internet --> Firefox.
34- Power off your system in the right
way. Select System --> Shut
Down --> Shut Down.
1- Open a terminal (Select
Applications --> System Tools -->
MATE Terminal). Become the root user
running su - . Write the root user password.
2- Gain access to the directory /etc/apt running cd
/etc/apt on your terminal.
3- With the help of the nano text editor we are
going to change a file called sources.list. Run nano
sources.list. Add # before any line starting with
deb cdrom. Save sources.list (press <ctrl +
o> and <enter>). Leave the nano text editor
(press <ctrl + x>).
5- Update the list of sofware packages available of you
repository server (ftp.fi.debian.org). Run apt-get
6- Install the command line package manager called aptitude.
Run apt-get install aptitude.
7- Update again the
list of sofware packages available of you repository server
(ftp.fi.debian.org). Run aptitude update.
8- Install the following
softwarre package: gcc, make,build-essential,
dkms, module-assistant and
linux-headers-4.19.0-6-all-amd64. Run aptitude
install gcc make build-essential
9- 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 Nothing.
10- Run the
command: /bin/bash /media/cdrom0/VBoxLinuxAdditions.run.
11- Close the MATE Terminal.
12- Eject the VBOXADDITIONS_5.1.28_117968
cdrom image. Click with the right button of your mouse on the
CDROM and select Eject on the menu.
13- Reboot your system: Select System
--> Shut Down --> Restart.
14- Gain access to your Desktop. Resize your
window and your Desktop with the help of your mouse.
15- Power off your system in the right
way. Select System --> Shut
Down --> Shut Down.
THIRD PART: CHECKING YOUR
1- Your system boots and you can gain
access to your system.
2- Username. If your user does
not have the proper username, we will not accept your
system and your mark will be zero.
3- Host name. If
your machine does not have the proper hostname, we will
not accept your system and your mark will be zero.
4- Yo can surf the internet with the
help of your browser.
5- You can resize you virtual system.