virtualbox
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
virtualbox [2010/02/18 12:38] – 172.26.0.166 | virtualbox [2010/02/18 12:48] – 172.26.0.166 | ||
---|---|---|---|
Line 63: | Line 63: | ||
Create Config File for vboxcontrol service script | Create Config File for vboxcontrol service script | ||
- | # mkdir / | + | < |
- | # touch / | + | < |
The file “machines_enabled” located in “/ | The file “machines_enabled” located in “/ | ||
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 ” “: | ||
+ | < | ||
$ VBoxManage list vms | $ VBoxManage list vms | ||
" | " | ||
" | " | ||
- | " | + | " |
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 | ||
+ | < | ||
# vi / | # vi / | ||
Centos_HDLES_x86_1 | Centos_HDLES_x86_1 | ||
Centos_HDLES_x86_3 | Centos_HDLES_x86_3 | ||
- | Centos_HDLES_LAMP | + | Centos_HDLES_LAMP</ |
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 / | + | < |
- | # chmod 755 / | + | < |
Copy the following code into file “/ | Copy the following code into file “/ | ||
Line 220: | Line 220: | ||
Add vboxcontrol service to chkconfig registry | Add vboxcontrol service to chkconfig registry | ||
- | # chkconfig --add vboxcontrol | + | < |
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 | + | < |