index Previous Next



1. Install virtualbox additions?
Install the guest additions:
# Login as root;
# Install the guest addtions with the command:
yum install dkms binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel
# Configure your system for building kernel modules by running m-a prepare;
# Click on Install Guest Additions… from the Devices menu, then run mount /media/cdrom.
# Run sh /media/cdrom/VBoxLinuxAdditions.run, and follow the instructions on screen
For usb install the Oracle VM VirtualBox Extension Pack:
Downlaod the VM VirtualBox Extension Pack from download.virtualbox.org
Then go to the virtualbox file menu-> preferences -> extensions and install the extension.
If virtualbox doesn't load the guest os and get error of loading modules then run the command:
/etc/init.d/vboxdrv setup
Then add the linux user to the vboxusers group in the host machine with the command:
usermod -a -G vboxusers user_name
and in the linux guest machine add the linux user to the vboxsf group:
usermod -a -G vboxsf user_name
Can mount the shared folders with this command:
mount -t vboxsf -o uid=<user id>,gid=<users> <share name> <mount point>
Top2. Install jre?
To run the java applications in linux download the J2SE runtime enviroment (jre) Linux
self-extarcting file from http://www.sun.com, make the file executable with:
chmod a+x jre-1_5_0_05-linux-i586.bin
install the file with ./jre-1_5_0_05-linux-i586.bin, open the web browser plugins directory
which is in the /usr/lib, make a link to the jre plugin module with:
ln -s /path/to/jre1.5.0_05/plugin/i386/ns7/libjavaplugin_oji.so ./
How to run java aplications with jre:
1, to run java aplication install the jre to /usr.
2, copy the java.sh to the /etc/profile.d
3, edit the java.sh and give the right name and path to jre.
3, chmod the java.sh to 0755.
Or add this line to the bash_profile:
PATH = $PATH:$HOME/bin:$HOME/user/java/jre1.6.0_16
java.sh:
JAVA_HOME=/usr/java/j2re1.4.1_01
export JAVA_HOME
PATH=$PATH:$JAVA_HOME/bin
Top
3.Install flash player?
Download flash player from http://www.macromedia.com, decompress the file with
tar -zxvf install_flash_player_7_linux.tar.gz, open the direcotry and run the command:
./flashplayer-installer
Or simply copy the libflashplayer.so to /usr/lib/firefox..
/plugins and /usr/lib/mozilla../plugins.
Top
