The tutorial part of the school uses a Virtual machine image to be worked on in VirtualBox. Participants are expected to bring their own laptops with an X environment and the VirtualBox program installed.
It is mandatory to prepare your laptop in advance of the school.
Installing VirtualBox
* VirtualBox is available for various platforms here, including the most commonly used versions of Linux, Mac OS X and Windows. A detailed list of supported host operating systems can be found here.
* Download the appropriate package for your architecture and operating system. If you are running Windows or Mac OS X, install it as any other "point and click" software. Details on the installation for Linux are available here.
* Please install VirtualBox version 4.1.8 or later, or upgrade your existing installation.
Running the virtual machine in VirtualBox
Once you have the program VirtualBox running you can run the school's virtual machine inside of VirtualBox. To do this, follow the instructions below (name of buttons etc. as for VirtualBox 4.1.8 on ubuntu 11.10 - small differences could arise for other systems/versions):
* Start VirtualBox
* Import the school's virtual machine
Download the following file and save it to your machine:
http://pi.physik.uni-bonn.de/~wienemann/Prejudice_meets_reality_VM_v3.ova
Go to the 'File' menue in VirtualBox and select 'Import appliance'. In the upcoming window, browse for the file
'Prejudice_meets_reality_VM.ova' and select it.
* Start the virtual machine by double-clicking on the 'Prejudice meets reality VM' button to the left of the VM window:
* The button in the VM window should at some point say "running", and a new window should appear. It migt take up to a minute or so until the full ubuntu screen appears - don't panic if the screen stays black for some time. The ubuntu screen should show symbols for the Home directory, for the File System and for Trash. In addition, it has a small symbol in the top-left corner from which most applications can be accessed.
* Choose that symbol and select 'Accessories' and 'Terminal Emulator' to get a shell.
Keyboard Mapping
* Use the command "setxkbmap de" in the VM terminal to change from the standard American keyboard layout
to a German one if needed (us gives American, es Spanish, pl Polish, se Swedish etc. )
Shutdown
Since we use a very light weight login manager that does not support to shutdown the virtual machine, the safest way to do so is probably to run sudo halt on the command line. Afterwards click on "Close" under the "Machine" menu of the VirtualBox window frame and select "Power off the machine". A simpler way is to go to the arrow symbol in the top-left corner, to select 'log out' from the upcoming menue and to choose 'Shut down' from the small window that appears.
Simple test and further stuff
* ROOT
- open a terminal and try to start root
- check whether you can open a TBrowser (e.g. typing new TBrowser)
- you might want to create your favourite .rootrc or .rootlogon.C
(but please note that this might change the result of tutorials...)
* Editing
- at least emacs is installed - if your favourite editor is missing, see below
- configure your favourite editor such that it behaves similar to what you are used to.
* Browsing
- firefox is installed
* Viewing postscript, pdf etc.
- gv is installed
* If you miss a useful program you can install it via
sudo apt-get install <package>
If you do not know the package of your program, just type the program name and enter on the command line - you
might get a hint...
It is mandatory to prepare your laptop in advance of the school.
Installing VirtualBox
* VirtualBox is available for various platforms here, including the most commonly used versions of Linux, Mac OS X and Windows. A detailed list of supported host operating systems can be found here.
* Download the appropriate package for your architecture and operating system. If you are running Windows or Mac OS X, install it as any other "point and click" software. Details on the installation for Linux are available here.
* Please install VirtualBox version 4.1.8 or later, or upgrade your existing installation.
Running the virtual machine in VirtualBox
Once you have the program VirtualBox running you can run the school's virtual machine inside of VirtualBox. To do this, follow the instructions below (name of buttons etc. as for VirtualBox 4.1.8 on ubuntu 11.10 - small differences could arise for other systems/versions):
* Start VirtualBox
* Import the school's virtual machine
Download the following file and save it to your machine:
http://pi.physik.uni-bonn.de/~wienemann/Prejudice_meets_reality_VM_v3.ova
Go to the 'File' menue in VirtualBox and select 'Import appliance'. In the upcoming window, browse for the file
'Prejudice_meets_reality_VM.ova' and select it.
* Start the virtual machine by double-clicking on the 'Prejudice meets reality VM' button to the left of the VM window:
* The button in the VM window should at some point say "running", and a new window should appear. It migt take up to a minute or so until the full ubuntu screen appears - don't panic if the screen stays black for some time. The ubuntu screen should show symbols for the Home directory, for the File System and for Trash. In addition, it has a small symbol in the top-left corner from which most applications can be accessed.
* Choose that symbol and select 'Accessories' and 'Terminal Emulator' to get a shell.
Keyboard Mapping
* Use the command "setxkbmap de" in the VM terminal to change from the standard American keyboard layout
to a German one if needed (us gives American, es Spanish, pl Polish, se Swedish etc. )
Shutdown
Since we use a very light weight login manager that does not support to shutdown the virtual machine, the safest way to do so is probably to run sudo halt on the command line. Afterwards click on "Close" under the "Machine" menu of the VirtualBox window frame and select "Power off the machine". A simpler way is to go to the arrow symbol in the top-left corner, to select 'log out' from the upcoming menue and to choose 'Shut down' from the small window that appears.
Simple test and further stuff
* ROOT
- open a terminal and try to start root
- check whether you can open a TBrowser (e.g. typing new TBrowser)
- you might want to create your favourite .rootrc or .rootlogon.C
(but please note that this might change the result of tutorials...)
* Editing
- at least emacs is installed - if your favourite editor is missing, see below
- configure your favourite editor such that it behaves similar to what you are used to.
* Browsing
- firefox is installed
* Viewing postscript, pdf etc.
- gv is installed
* If you miss a useful program you can install it via
sudo apt-get install <package>
If you do not know the package of your program, just type the program name and enter on the command line - you
might get a hint...