- Installed CentOS7 in VirtualBox
Start your CentOS7
Open Terminal. (make sure your CentOS is connected to the internet)
Enter the following commands:
sudo yum install gcc
Type “y” when the asks requires your confirmation.
Sudo yum install kernel-devel-$(uname –r)
Again, type “y” when the process asks for your confirmation.
Close the terminal and click the “Device” on the upper left and then click “Insert Guest Additions CD image…”
Click “run”. It will require you to enter your user password.
It will run a program in terminal. When it is done, press Enter.
Reboot your CentOS.
After successfully rebooting, go to “view” and click “full screen mode”.
If you want to exit full screen mode, hover your mouse at the bottom center, it will show the options.