Midterm Exam Exercises
Contents
Midterm Exam Exercises¶
Practical Exercises for midterm exam preparation.¶
By using command
apt-get
, download packagelibqt5sql5
into the home directory (on the desktop) without installing it.Create a directory called PKG in your home directory and extract the package files into directory PKG.
By using command find, find the file with name
libQt5Sql.so.5.15.2
in directory PKG.By using command find find directory doc in PKG.
Remove the file and the directory from PKG.
Under PKG/usr/share, create directory tree D1/D2/D3.
Copy directory /etc on you desktop into the directory tree.
Archive directory PKG into file
pkgfile-arc.tgz
by using commandtar
.Deploy a new VM, exvm1, by cloning kvm1.
Find the IP address of exvm1.
Create account mike on exvm1.
Upload
pkgfile-arc.tgz
into the home directory of user mike on exvm1.By using command
tar
, extract the archive on exvm1.