Part of this series of posts: Oracle Database 12c on Oracle Linux 6
Select Devices -> Install Guest Additions… from the VirtualBox menu. You’ll have to use the right Ctrl key to release the mouse to do so.
Right-click the desktop and select Open in Terminal.
Type the following commands, pressing Enter after each.
su - root (at the Password: prompt) export KERN_DIR=/usr/src/kernels/`uname –r` cd /media/V [TAB] ./VBoxLinuxAdditions.run
Those are back ticks which are probably next to the 1 key on your keyboard, not forward ticks in the export command. The Tab key will autocomplete commands for you. When we type cd /media/V the shell will complete the name of the Virtualbox Guest Additions CD for you. It’s much easier than typing it. If you’d like to use the Tab key to autocomplete the second command, you’ll have to type up to the L in Linux before it will work because there are other commands in that directory that start with VBox. You can always hit the Tab key twice to see what the shell will be able to autocomplete based on your search path.
You should see output with all green OKs.
If you get a failed message it’s most probably because your kernel doesn’t match the kernel sources which usually means that your yum update kernel-uek-devel command from earlier didn’t work correctly. Recheck your commands from Step 9 to make sure you did everything correctly.
Select System -> Log out oracle… from the menu.
Click Log Out.
Press Enter and type oracle in the Password field.
Right click the Guest Additions CD and select Eject.
Your window should now resize to fill the whole screen!
We could actually do this step a lot earlier and get the nice widescreen if we want. It was just a bit harder to do screen captures for me so I stuck this at the end. This must be done AFTER the reboot in step 18 though…
Oracle Database 12c on Oracle Linux 6 – Step 29: Create a Link to SQL Developer and Database Connections < Previous Post – Next Post > Oracle Database 12c on Oracle Linux 6 – Step 31: Enjoy a frosty beverage!