Koozali.org: home of the SME Server
Obsolete Releases => SME 8.x Contribs => Topic started by: stephdl on October 19, 2013, 11:22:59 PM
-
Ola, i need some feedbacks on this new contribs : "phpvirtualbox"
The purpose original was to install this marvellous package for me, but i wondered that it could be used for other, so i worked a bit (hard) this saturday :p
i hope you have noticed that the contrib is in my development area, be conscious :p
http://mirror.de-labrusse.fr/Sme-Server/development/phpvirtualbox/
In first you have to be sure that you are fully updated
yum update
signal-event post-upgrade; signal-event reboot
wget http://mirror.de-labrusse.fr/Sme-Server/development/phpvirtualbox/smeserver-virtualbox-4.3.0-3.noarch.rpm
wget http://mirror.de-labrusse.fr/Sme-Server/development/phpvirtualbox/smeserver-phpvirtualbox-4.3.0-3.noarch.rpm
wget http://mirror.de-labrusse.fr/Sme-Server/development/phpvirtualbox/phpvirtualbox-4.3.0-3.noarch.rpm
install epel for sme8 http://wiki.contribs.org/Epel
install virtualbox http://wiki.contribs.org/VirtualBox_Repository
signal-event yum-modify
yum install --enablerepo=epel,virtualbox dkms smeserver-virtualbox-4.3.0-3.noarch.rpm smeserver-phpvirtualbox-4.3.0-3.noarch.rpm phpvirtualbox-4.3.0-3.noarch.rpm VirtualBox-4.3
signal-event post-upgrade; signal-event reboot
then you can play with virtualbox with these credentials : admin/admin
http://sme-ip/phpvirtualbox
I have followed this tutorial on the wiki
http://wiki.contribs.org/VirtualBox_4.0_on_SME_Server_v8_beta_6
so the known issues for now are
the user of virtualbox is root you can see : /etc/default/virtualbox
the authentification to vboxwebsrv is null you can see : vboxmanage setproperty websrvauthlibrary null
the config.php is not templated
once logged you have to change the admin/admin
you have to create a folder where you want to keep your vm and change it in settings(by default /root/VirtualBox VMs)
-
minor patch to force the https_only
yum update
signal-event post-upgrade; signal-event reboot
wget http://mirror.de-labrusse.fr/Sme-Server/development/phpvirtualbox/smeserver-virtualbox-4.3.0-3.noarch.rpm
wget http://mirror.de-labrusse.fr/Sme-Server/development/phpvirtualbox/smeserver-phpvirtualbox-4.3.0-4.noarch.rpm
wget http://mirror.de-labrusse.fr/Sme-Server/development/phpvirtualbox/phpvirtualbox-4.3.0-3.noarch.rpm
install epel for sme8 http://wiki.contribs.org/Epel
install virtualbox http://wiki.contribs.org/VirtualBox_Repository
signal-event yum-modify
yum install --enablerepo=epel,virtualbox dkms smeserver-virtualbox-4.3.0-3.noarch.rpm smeserver-phpvirtualbox-4.3.0-3.noarch.rpm phpvirtualbox-4.3.0-3.noarch.rpm VirtualBox-4.3
signal-event post-upgrade; signal-event reboot
-
New version in http://mirror.de-labrusse.fr/Sme-Server/development/phpvirtualbox/
now the sme admin can log to the contrib, for sme user or sme group you need to use db command
config setprop phpvirtualbox User "toto tata titi tutu"
config setprop phpvirtualbox Group "toto tata titi tutu"
signal-event console-save
you have to install the bridgeinterface contribs if you want to play with real ip to your local network
https://wiki.contribs.org/BridgeInterface
Currently i need some feedbacks, you can use another virtualbox to test it. I have noticed if you want to have a bridged network in a VM environment which is already another virtualbox, curiously you can't have a workable bridged interface. In this case to test it you could take a real bare metal computer.
-
smeserver-phpvirtualbox and smeserver-virtualbox are now available in stephdl_repository, please see http://wiki.contribs.org/Phpvirtualbox
major ameliorations :
-the web authentication is a bug resolved in phpvirtualbox, available now in smeserver-phpvirtualbox
-now you can choose group or user with two ways
config setprop phpvirtualbox User user1,user2,user3
config setprop phpvirtualbox User "user1 user2 user3"
-a script test if the vboxdrv needs to be compiled at the startup
-the admin user is hardcoded, you can not forbid him to be granted.
to install stephdl-repo : http://wiki.contribs.org/Stephdl
-
Related to problems with kernel-PAE (i386), in this case it is necessary to use the kernel-pae-devel instead kernel-devel.
-
can you give the right command line please ?
-
yum install --enablerepo=epel dkms kernel-PAE-devel