安裝Virtualbox
#cd /etc/yum.repos.d
#wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
#yum --enablerepo rpmforge install dkms
#yum groupinstall "Development Tools" <==前面已經安裝過可省略 yum install kernel-devel
#yum install VirtualBox-4.3
#usermod -a -G vboxusers 用戶名稱
phpvirtualbox
#yum install php php-devel php-soap httpd httpd-devel
#chkconfig vboxdrv on
#chkconfig httpd on
#service httpd startwget 'http://sourceforge.net/projects/phpvirtualbox/files/latest/download'
#unzip phpvirtualbox-
#mv phpvirtualbox-4.2-6 virtualbox
#chown -R apache:apache /var/www/html/virtualbox
#cp config.php-example to config.php
#vi /var/www/html/virtualbox/config.php
useradd vbox
passwd pass
#usermod -G vboxusers vbox
#/etc/init.d/vboxdrv restart
#/etc/init.d/vboxweb-service restart
#service httpd restar
#wget http://download.virtualbox.org/virtualbox/4.3.28/Oracle_VM_VirtualBox_Extension_Pack-4.3.28-100309.vbox-extpack
#VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.3.28-100309.vbox-extpack
設定開機時自動啟動virtual machine
su -
沒有留言:
張貼留言