User Tools

Site Tools


virtualbox

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
virtualbox [2010/02/18 12:38] 172.26.0.166virtualbox [2010/05/22 14:19] – external edit 127.0.0.1
Line 63: Line 63:
 Create Config File for vboxcontrol service script Create Config File for vboxcontrol service script
  
-# mkdir /etc/virtualbox +<code># mkdir /etc/virtualbox</code 
-# touch /etc/virtualbox/machines_enabled+<code># touch /etc/virtualbox/machines_enabled</code>
 The file “machines_enabled” located in “/etc/virtualbox” is where we list the names of the Guest VM’s that we want vboxcontrol to control. The file “machines_enabled” located in “/etc/virtualbox” is where we list the names of the Guest VM’s that we want vboxcontrol to control.
  
 To get a list of your current Guest VM names execute the following command and notice the name is in ” “: To get a list of your current Guest VM names execute the following command and notice the name is in ” “:
 +<file>
 $ VBoxManage list vms $ VBoxManage list vms
 "Centos_HDLES_x86_1" {5087b02a-5816-4c76-b302-c13175623023} "Centos_HDLES_x86_1" {5087b02a-5816-4c76-b302-c13175623023}
 "Centos_HDLES_x86_3" {bcae660a-f627-46d6-8c95-9da97363eeea} "Centos_HDLES_x86_3" {bcae660a-f627-46d6-8c95-9da97363eeea}
-"Centos_HDLES_LAMP" {3907173c-cc15-4820-a930-f0bb3c13cb7e}+"Centos_HDLES_LAMP" {3907173c-cc15-4820-a930-f0bb3c13cb7e}</file>
 Add Guest VM’s to “machines_enabled” include one VM name per line Add Guest VM’s to “machines_enabled” include one VM name per line
 +<file>
 # vi /etc/virtualbox/machines_enabled # vi /etc/virtualbox/machines_enabled
 Centos_HDLES_x86_1 Centos_HDLES_x86_1
 Centos_HDLES_x86_3 Centos_HDLES_x86_3
-Centos_HDLES_LAMP+Centos_HDLES_LAMP</file>
 Add VirtualBox VM Service script Add VirtualBox VM Service script
  
 Create new init.d service script file and give execute permissions Create new init.d service script file and give execute permissions
  
-# touch /etc/init.d/vboxcontrol +<code># touch /etc/init.d/vboxcontrol</code> 
-# chmod 755 /etc/init.d/vboxcontrol+<code># chmod 755 /etc/init.d/vboxcontrol</code>
 Copy the following code into file “/etc/init.d/vboxcontrol” Copy the following code into file “/etc/init.d/vboxcontrol”
  
Line 220: Line 220:
 Add vboxcontrol service to chkconfig registry Add vboxcontrol service to chkconfig registry
  
-# chkconfig --add vboxcontrol+<code># chkconfig --add vboxcontrol</code>
 Tell chkconfig to create symlinks for runlevels and activate service vboxcontrol Tell chkconfig to create symlinks for runlevels and activate service vboxcontrol
  
-# chkconfig vboxcontrol on+<code># chkconfig vboxcontrol on</code>