Posted on

Install Guest Editions on CentOS Linux

forest landscape with the silhouette of a person

Installing CentOS Linux in a virtual machine with VirtualBox is a straightforward exercise. The exception comes when configuring Guest Editions on the operating system. I find it easiest to use a group install with Yum, before “inserting” the disc for Guest Editions. Using the following two lines in the shell will ensure that the C compiler and kernel are available for installing Guest Editions.

sudo yum groups install 'Development Tools'
sudo yum install kernel-devel-yourLatestVersion

Further guidance is available in the user manual. https://www.virtualbox.org/manual/UserManual.html#externalkernelmodules

Posted on

CentOS Linux

Logo for CentOS

Community Enterprise Operating System (CentOS) is an open-source operating system that is functionally the same as Red Hat Enterprise Linux (RHEL). The product has transitioned from being the downstream source code of RHEL, to the new CentOS Stream. CentOS Stream is a “stable” precursor to RHEL.

End of Life (EOL) for CentOS 7 is June 30, 2024.

Visit the official CentOS website: https://centos.org/

Posted on

Linux Filesystem Hierarchy

Files and folders are located in a predictable location across almost all Linux distributions, this is known as the filesystem hierarchy standard (FHS). At the base of the file structure is the root, all other locations are arranged relative to this.

Important directories and their respective uses are listed in the table below.

DirectoryDescription
/The root of the filesystem (only one on a system). Files and folders are arranged relative to this location.
/binBinaries (programs) the system needs to work.
/bootContains kernel and initial filesystem.
/devReferences to devices on the filesystem.
/etcConfiguration files for software and tools.
/homeStores users’ home folders (data)
/libLibraries associated with system binaries
/mediaMount point for removable media
/mntMount point for hard drives, network shares, etc.
/optUser-installed software (optional packages).
/procRepresents information about kernel and processes.
/rootHome folder for root user.
/runInformation about running processes (PIDs, etc.).
/sbinSystem binaries.
/srvFiles served by the system.
/sysRepresents parts of the system (fs, devices, etc.).
/tmpTemporary information that can be erased.
/usrAnother location for system and user binaries.
/varFiles that can vary (logs, etc.).