Midterm Exam Exercises#
Practical Exercises for Midterm Exam Preparation#
Using the
aptcommand, download the packagelibqt5sql5t64into the home directory (located on the desktop) without installing it.Create a directory named
PKGin your home directory and extract the package files into thePKGdirectory.Using the
findcommand, locate the file namedlibQt5Sql.so.5.15.15within thePKGdirectory.Using the
findcommand, locate thedocdirectory withinPKG.Remove the specified file and directory from
PKG.Under the
PKG/usr/sharepath, create the nested directory treeD1/D2/D3.Copy the
/etcdirectory from your desktop into the newly created directory tree.Archive the
PKGdirectory into a file namedpkgfile-arc.tgzusing thetarcommand.Deploy a new virtual machine,
exvm1, by cloningkvm1.Determine the IP address of
exvm1.Create a user account named
mikeonexvm1.Upload
pkgfile-arc.tgzinto the home directory of usermikeonexvm1.Using the
tarcommand, extract the archive onexvm1.