VirtualBox 4.0 on SME Server v8 beta 6
From SME Server
Jump to navigationJump to search- Setup SME Server v8 beta 6.
- Do a yum update.
- Check your current kernel.
- Install kernel-devel to get the latest development tree (2.6.18-238.12.1.el5PAE-i686). Use this command only if you have PAE kernel installed:
- Create a symbolic link
- Install DKMS
- Enable fopen on php.ini (line 65) located on /etc/
- Install VirtualBox v4.0 (At the time of writing, the latest version is v4.0.8).
- Setup VirtualBox as a service so it starts automatically after a reboot by copying the vboxwebsrv from rc5.d to rc7.d.
- Create a vbox.cfg file on your /etc/vbox/.
nano /etc/vbox/vbox.cfg
vbox.cfg should have this content.
VBOXWEB_USER='root'<br/> VBOXWEB_HOST=127.0.0.1<br/> VBOXWEB_PORT=18083<br/>
Note: Without the vbox.cfg, vbox services on your rc7.d folder will not start.
- Before we install phpVirtualBox, make sure you install SOAP first.
- Login to the server-manager page and create an ibay for phpvbox. Don’t forget to assign a password.
yum update<br /> signal-event post-upgrade<br /> signal-event reboot
uname -r
yum install kernel-PAE-devel
Otherwise,
yum install kernel-devel
ln –s /usr/src/kernels/2.6.18-238.12.1.el5PAE-i686 /lib/modules/`uname -r`/build
or
ln –s /usr/src/kernels/’uname –r’-i686 /lib/modules/`uname -r`/build
wget http://packages.sw.be/dkms/dkms-2.1.1.2-1.el5.rf.noarch.rpm<br/> yum install dkms-2.1.1.2-1.el5.rf.noarch.rpm
allow_url_fopen = On
wget http://download.virtualbox.org/virtualbox/4.0.8/VirtualBox-4.0-4.0.8_71778_rhel5-1.i386.rpm<br/> yum install VirtualBox-4.0-4.0.8_71778_rhel5-1.i386.rpm -y
Note: you will get an error message, which you can ignore.
cp /etc/rc5.d/S30vboxdrv /etc/rc7.d/.<br/> cp /etc/rc5.d/S35vboxballoonctrl /etc/rc7.d/.<br/> cp /etc/rc5.d/S35vboxweb-service /etc/rc7.d/.
yum install php-soap