Post Install Configuration
Objective:
The objective of this lab is to bring the system up-to-date and install a few packages. Also understand transient and persistent settings.
What to do
Ubuntu
Become root.
sudo -i
Next install packages after you bring the system to get packages from the newly added repo sources.
apt update apt upgrade apt install build-essential curl dkms dnsutils tree vim vim-gtk3
Debian
Become root.
su -
- Check the settings of
/etc/apt/sources.list
Make a backup of
/etc/apt/sources.list
first.cp /etc/apt/sources.list /etc/apt/sources.list.original
- Delete the two lines containing the word cdrom.
- Add contrib non-free to the list of packages
So your
/etc/apt/sources.list
should look like this:deb http://deb.debian.org/debian/ bookworm main contrib non-free deb-src http://deb.debian.org/debian/ bookworm main contrib non-free deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free deb-src http://deb.debian.org/debian/ bookworm-updates main contrib non-free deb http://security.debian.org/debian-security bookworm-security main contrib non-free deb-src http://security.debian.org/debian-security bookworm-security main contrib non-free
Next install packages after you bring the system to get packages from the newly added repo sources.
apt update apt upgrade apt install build-essential curl dkms dnsutils openconnect resolvconf tree vim vim-gtk3
Challenge
Install the VirtualBox Guest additions. Reboot. Next, share a folder with your host operating system (Windows/macOS). Reboot and confirm that the shared folder is accessible to both Linux and Windows. Confirmation means creating a file in Linux and then being able to view the contents of that file on Windows.
VirtualBox downloads folder. Download VBoxGuestAdditions ISO appropriate to VirtualBox version installed on host OS. VirtualBox was at version 7.0.14 at the time of this update (Jan 2024). The latest version of VirtualBox is here.