Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
projects:small_solaris_server [2012/03/21 18:01] admin [Configure Mageia VM] |
projects:small_solaris_server [2013/02/02 11:20] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Small Solaris Server ====== | ====== Small Solaris Server ====== | ||
| + | ===== Install Virtual Box plus Extension Pack ===== | ||
| + | * Download and install Virtual Box | ||
| + | <code> | ||
| + | $ wget http://download.virtualbox.org/virtualbox/4.1.12/VirtualBox-4.1.12-77245-SunOS.tar.gz | ||
| + | $ tar xvpf VirtualBox-4.1.12-77245-SunOS.tar.gz | ||
| + | $ sudo pkgadd -d ./VirtualBox-4.1.12-SunOS-r77245.pkg | ||
| + | </code> | ||
| + | * Download and install Extension Pack | ||
| + | <code> | ||
| + | $ wget http://download.virtualbox.org/virtualbox/4.1.12/Oracle_VM_VirtualBox_Extension_Pack-4.1.12-77245.vbox-extpack | ||
| + | $ sudo VBoxManage extpack install --replace ./Oracle_VM_VirtualBox_Extension_Pack-4.1.12-77245.vbox-extpack | ||
| + | </code> | ||
| ===== Deploying Mageia 1 as remote VBox guest ===== | ===== Deploying Mageia 1 as remote VBox guest ===== | ||
| ==== Create new VM "Mageia" ==== | ==== Create new VM "Mageia" ==== | ||
| Line 9: | Line 21: | ||
| </code> | </code> | ||
| ==== Configure "Mageia" VM ==== | ==== Configure "Mageia" VM ==== | ||
| + | * 4 CPUs | ||
| * 4gb RWM | * 4gb RWM | ||
| * VRDP enabled, running on port 3390 | * VRDP enabled, running on port 3390 | ||
| * one net adapter in bridged mode running over net0 NIC | * one net adapter in bridged mode running over net0 NIC | ||
| <code> | <code> | ||
| - | $ VBoxManage modifyvm "Mageia" --memory 4096 --nic1 bridged --bridgeadapter1 net0 --vrde on --vrdeport 3390 | + | $ VBoxManage modifyvm "Mageia" --memory 4096 --cpus 4 --nic1 bridged --bridgeadapter1 net0 --vrde on --vrdeport 3390 |
| </code> | </code> | ||
| ==== Create and attach SATA disk to VM ==== | ==== Create and attach SATA disk to VM ==== | ||
| Line 30: | Line 43: | ||
| ==== Start and install VM ==== | ==== Start and install VM ==== | ||
| <code> | <code> | ||
| - | $ VBoxHeadless -s Mageia | + | $ nohup VBoxHeadless -s Mageia & |
| - | Oracle VM VirtualBox Headless Interface 4.1.10 | + | </code> |
| - | (C) 2008-2012 Oracle Corporation | + | ==== Add "shared folder" to VM ==== |
| - | All rights reserved. | + | * from Solaris host (guest must be stopped) |
| - | + | <code> | |
| - | VRDE server is listening on port 3390. | + | $ VBoxManage sharedfolder add Mageia --name projects --hostpath /data/smb/users/dambi/projects/ |
| - | ... | + | </code> |
| + | * mounting shared folder in Linux guest | ||
| + | <code> | ||
| + | $ sudo mount -t vboxsf projects /home/dambi/projects | ||
| </code> | </code> | ||
