Advertisement
Guest User

Untitled

a guest
Jul 2nd, 2016
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. vbox/pass
  2.  
  3. configure >> /etc/default/virtualbox
  4. /etc/init.d/vboxweb-service start
  5.  
  6. Install PHPVirtualBox + Apache
  7.  
  8. Configure /var/www/html/phpvirtualbox/config.php
  9.  
  10. root@phpvbox:# cat /etc/default/virtualbox
  11. VBOXWEB_USER=vbox
  12.  
  13.  
  14. root@phpvbox:# cat /var/www/html/phpvirtualbox/config.php
  15.  
  16.  
  17. var $servers = array(
  18. array(
  19. 'name' => 'London',
  20. 'username' => 'vbox',
  21. 'password' => 'pass',
  22. 'location' => 'http://192.168.1.178:18083/',
  23. 'authMaster' => true // Use this server for authentication
  24. ),
  25. );
  26.  
  27. root@phpvbox2:# cat /etc/default/virtualbox
  28. VBOXWEB_USER=vbox
  29. #VBOXWEB_HOST=192.168.1.177
  30. #VBOXWEB_PORT=18083
  31.  
  32. root@phpvbox2:# cat /var/www/html/phpvirtualbox/config.php
  33.  
  34. /* Username / Password for system user that runs VirtualBox */
  35. var $username = 'vbox';
  36. var $password = 'pass';
  37.  
  38.  
  39. /* SOAP URL of vboxwebsrv (not phpVirtualBox's URL) */
  40. var $location = 'http://127.0.0.1:18083/';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement