

Type in sudo space yum space install space dash y space kernel dash devel, and hit Enter. When that's done, we'll need to install the kernel source. We need the double quote so yum knows we're installing one software group called Development Tools. Due to a change in the way software groups are handled in CentOS 7, we need to add the dash dash setopt option listed above. Now let's install the development tool software group by typing in sudo space yum space group space install space dash y space dash dash setopt equals group underscore command equals objects space double quote Development Tools double quote, and hit Enter. Once the VM has rebooted, log back in and open a terminal.

When the updates are done, reboot by typing in sudo space reboot, and hit Enter. In my case, the update is going well, and I only have one package to update, which is the kernel. In this case, you'd type in sudo space kill space dash nine and the process ID listed in the error output, and then you'd run the yum update command again.

If so, you need to kill the other yum process, which is listed in the error output. There's a chance that the yum database may be currently logged. Now type in sudo space yum space dash y space update and hit Enter. To update the system's software, open a terminal in your VM by selecting Applications, Favorites, and Terminal. Also, the network needs to be functional. All CentOS system updates have to be done and the VM has to be rebooted to ensure CentOS is using the latest kernel. There are a few prerequisites for installing VirtualBox Guest Additions. Installing Guest Additions will fix this, among other things. When running a VM, you may notice if you press Host plus F to go into full screen mode that CentOS doesn't fill the entire screen. I highly recommend installing Guest Editions, as it makes the virtual experience smoother. This allows the guest to take advantage of faster drivers, better screen resolutions, and better integration between the guest and the host. VirtualBox Guest Editions are pieces of software installed on the guest's operating system that gives the guest OS a direct communication path to VirtualBox.
