New virtual machine
If you want to create a new virtual machine go to osboxes.org and choose Centos 1908 64 bit for VirtualBox. Download the image.
Decompress with a suited utility handling 7z compressed files.
If you have one installation already you need to give the newly downloaded disk a new unique UUID (a number with a lot of digits). Issue this command in you shell where you've placed the file from osboxes.
]$ VBoxManage internalcommands sethduuid CentOS\ 7-1908(64bit).vdi
Follow the instructions given in the guide on osboxes how to create the new machine.
Notice: Click on the virtual machine to have it capture your keystrokes and mouse interaction. Your way out back to the host is the Right-Ctrl key once. (This behaviour will change when we get the Extension Pack installed.)
Login to the account osboxes using the osboxes.org password. Notice: It comes with the GNOME window manager installed. KDE we'll have to install later. (Select English in the first dialogue box, Danish keyboard in the next, switch off location services, skip the online accounts connection. Close the help window.
Next thing is to install VirtualBox Extensions - that's the software gluing the virtual machine to the operating system running underneath. Second step is to bring the machine up-to-date. Third step is to install the necessary software for the course. And finally download Eclipse and install it.
Install VirtualBox extensions
Select the Danish keyboard up to the right, where it now says us or en.
Right click on the background and select Open Terminal.
Type in this
]$ sudo yum install kernel-headers kernel-devel
give the password you used to login with and accept the importing of a GPG key.
]$ sudo yum install epel-release
now install the development tools
]$ sudo yum install make gcc perl dkms bzip2
Finally update the system
]$ sudo yum update
....this may take a while. But when finished reboot.
]$ sudo reboot now
After the reboot on the menu for the virtualbox window click on Devices->Insert Guest Additions CD Image
You should see a greyed window. Click on it and click on the Run button. Give the password. Let the software install. After installation you should be able to move you mouse in and out of the virtual machine without pressing the Right-Ctrl key. You can also resize the window containing the virtual machine to the size of your preference.
In the Devices menu select Shared Clipboard->Bidirectional - this will allow you to mark stuff in your host OS and bring it to the clipboard on the virtual machine, i.e. less typing from now on.
To finalise perform these installations (open a terminal window once again):
]$ sudo yum -y install yumex krusader yakuake ]$ sudo yum -y groupinstall kde "KDE Plasma Workspaces" "Development Tools" "Electronic Lab" --skip-broken
Logout and follow the steps in First start to get into the KDE-Environment.
Install Eclipse IDE
Right click on this link [Eclipse CDT] copy the link location.
Start Firefox on the virtual machine and paste the link into the address field.
Download the Integrated development Environment and save the file - it usually goes into ~/Downloads.