Changes

From SME Server
Jump to navigationJump to search
no edit summary
Line 11: Line 11:  
<ol>
 
<ol>
 
   <li>SME Server Release 8.0</li>
 
   <li>SME Server Release 8.0</li>
   <li>VirtualBox-4.1-4.1.22_80657_el5-1</li>
+
   <li>VirtualBox-4.2-4.2.12_84980_el5-1</li>
   <li>Kernel is 2.6.18-308.13.1.el5</li>
+
   <li>Kernel is 2.6.18-348.6.1.el5</li>
 
</ol>
 
</ol>
    
===Requirements===
 
===Requirements===
Computer with SME server version 8 beta 6 and higher installed.
+
Computer with SME server version 8 and higher installed.
    
===Installation===
 
===Installation===
 
<ol>
 
<ol>
   <li value="1">Setup SME Server v8 beta 6.</li>
+
   <li value="1">Setup SME Server v8.</li>
 
   <li value="2">Do a yum update.</li>
 
   <li value="2">Do a yum update.</li>
 
       <pre>yum upgrade</pre>
 
       <pre>yum upgrade</pre>
Line 42: Line 42:  
       <pre>rpm -qa | grep gcc</pre>
 
       <pre>rpm -qa | grep gcc</pre>
 
You will have an output, similar to this:
 
You will have an output, similar to this:
       <pre>libgcc-4.1.2-52.el5_8.1
+
       <pre>libgcc-4.1.2-54.el5
gcc-4.1.2-52.el5_8.1</pre>
+
gcc-4.1.2-54.el5</pre>
 
If not installed, install it.
 
If not installed, install it.
 
       <pre>yum install gcc</pre>
 
       <pre>yum install gcc</pre>
Line 56: Line 56:  
Optionally, for best results with SME 8.x and earlier versions, modify /etc/grub.conf, adding divider=10 to the kernel boot options in order
 
Optionally, for best results with SME 8.x and earlier versions, modify /etc/grub.conf, adding divider=10 to the kernel boot options in order
 
to reduce the idle CPU load with VirtualBox. For example, if your kernel boot line is:
 
to reduce the idle CPU load with VirtualBox. For example, if your kernel boot line is:
       <pre>kernel /vmlinuz-2.6.18-308.13.1.el5 ro root=/dev/main/root </pre>
+
       <pre>kernel /vmlinuz-2.6.18-348.6.1.el5 ro root=/dev/main/root </pre>
 
       <p>change it to:</p>
 
       <p>change it to:</p>
       <pre>kernel /vmlinuz-2.6.18-308.13.1.el5 ro root=/dev/main/root divider=10</pre>
+
       <pre>kernel /vmlinuz-2.6.18-348.6.1.el5 ro root=/dev/main/root divider=10</pre>
 
       <p><b>Reminder:</b> if you subsequently update SME Server to use a newer kernel, you may need to change
 
       <p><b>Reminder:</b> if you subsequently update SME Server to use a newer kernel, you may need to change
 
your kernel boot line to reflect the update.</p>
 
your kernel boot line to reflect the update.</p>
Line 92: Line 92:  
   <li value="18">Setup VirtualBox as a service so it starts automatically after a reboot. Copy the command below on putty console then hit Enter.</li>
 
   <li value="18">Setup VirtualBox as a service so it starts automatically after a reboot. Copy the command below on putty console then hit Enter.</li>
 
       <pre>for file in $(ls /etc/rc5.d/S??vbox*); do cp "$file" /etc/rc7.d/. ;done</pre>
 
       <pre>for file in $(ls /etc/rc5.d/S??vbox*); do cp "$file" /etc/rc7.d/. ;done</pre>
   <li value="19">Create a ''vbox.cfg'' file on your /etc/vbox/.</li>
+
   <li value="19">Create a ''virtualbox'' file on your /etc/default/.</li>
 
       <pre>nano /etc/vbox/vbox.cfg</pre>
 
       <pre>nano /etc/vbox/vbox.cfg</pre>
   −
vbox.cfg should have this content.
+
virtualbox should have this content.
 
       <pre>VBOXWEB_USER='root'
 
       <pre>VBOXWEB_USER='root'
 
VBOXWEB_HOST=127.0.0.1
 
VBOXWEB_HOST=127.0.0.1
VBOXWEB_PORT=18083</pre>
+
VBOXWEB_PORT=18083
 +
VBOXWEB_LOGFILE=/var/log/vboxweb
 +
INSTALL_DIR=/usr/lib/virtualbox</pre>
   −
<b>Note: Without the vbox.cfg, vbox services on your rc7.d folder will not start.</b>
+
<b>Note: Without the ''virtualbox'' file, vbox services on your rc7.d folder will not start.</b>
    
   <li value="20">Login to the server-manager page and create an iBay for <b>phpvbox</b>.
 
   <li value="20">Login to the server-manager page and create an iBay for <b>phpvbox</b>.
Line 117: Line 119:  
wget `wget -q -O - http://phpvirtualbox.googlecode.com/files/LATEST.txt` -O phpvirtualbox-latest.zip
 
wget `wget -q -O - http://phpvirtualbox.googlecode.com/files/LATEST.txt` -O phpvirtualbox-latest.zip
 
unzip phpvirtualbox-latest.zip</pre>
 
unzip phpvirtualbox-latest.zip</pre>
Note: at the time of the last update, the latest version was 4.1-8. Please adjust the following for later versions.
+
Note: at the time of the last update, the latest version was 4.2-4. Please adjust the following for later versions.
       <pre>cd phpvirtualbox-4.1-8
+
       <pre>cd phpvirtualbox-4.2-4
 
cp –R * /home/e-smith/files/ibays/phpvbox/html</pre>
 
cp –R * /home/e-smith/files/ibays/phpvbox/html</pre>
 
   <li value="23">Create a <b>tmp</b> folder inside the /phpvbox/html folder.</li>
 
   <li value="23">Create a <b>tmp</b> folder inside the /phpvbox/html folder.</li>
Line 146: Line 148:  
<!--
 
<!--
 
       <pre>// Allow VDE network configuration. This must be supported by the underlying VirtualBox installation!
 
       <pre>// Allow VDE network configuration. This must be supported by the underlying VirtualBox installation!
var $enableVDE = true;</pre>
+
//var $enableVDE = true;</pre>
 
-->
 
-->
   Line 158: Line 160:  
   <li value="27">Install VirtualBox extension pack to enable support for USB 2.0 devices, VirtualBox RDP and PXE boot for Intel cards. Please install the extension pack with the same version as your installed version of VirtualBox!</li>
 
   <li value="27">Install VirtualBox extension pack to enable support for USB 2.0 devices, VirtualBox RDP and PXE boot for Intel cards. Please install the extension pack with the same version as your installed version of VirtualBox!</li>
   −
You can find the extension packs [http://www.virtualbox.org/wiki/Downloads here.] The following commands download and install the extension pack for VirtualBox 4.1.8.
+
You can find the extension packs [http://www.virtualbox.org/wiki/Downloads here.] The following commands download and install the extension pack for VirtualBox 4.2-4.
   −
       <pre>wget http://download.virtualbox.org/virtualbox/4.1.8/Oracle_VM_VirtualBox_Extension_Pack-4.1.8-75467.vbox-extpack
+
       <pre>wget http://download.virtualbox.org/virtualbox/4.2.16/Oracle_VM_VirtualBox_Extension_Pack-4.2.16-86992.vbox-extpack
vboxmanage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.1.8-75467.vbox-extpack</pre>
+
vboxmanage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.2.16-86992.vbox-extpack</pre>
    
   <li value="28">Update SME, and reboot again</li>
 
   <li value="28">Update SME, and reboot again</li>
Line 179: Line 181:  
   <li value="31">Download the VirtualBox Guest Additions iso for later installation into your virtual machine guests.</li>
 
   <li value="31">Download the VirtualBox Guest Additions iso for later installation into your virtual machine guests.</li>
 
       <pre>mkdir -p /var/lib/VirtualBox/addons
 
       <pre>mkdir -p /var/lib/VirtualBox/addons
cd /var/lib/VirtualBox/addons
+
cd /opt/VMs/addons
wget http://download.virtualbox.org/virtualbox/4.1.2/VBoxGuestAdditions_4.1.2.iso</pre>
+
wget http://download.virtualbox.org/virtualbox/4.2.16/VBoxGuestAdditions_4.2.16.iso</pre>
    
   <li value="32">Using a web browser, Go to http://yourdomain.com/phpvbox and connect to the phpVirtualBox web application.
 
   <li value="32">Using a web browser, Go to http://yourdomain.com/phpvbox and connect to the phpVirtualBox web application.
Line 193: Line 195:  
   </li>
 
   </li>
   −
  <li value="33">Download the VirtualBox Guest Additions ISO for later installation into your Guests Virtual Machine.
  −
        <pre>mkdir -p /opt/VMs/addons
  −
cd /opt/VMs/addons
  −
wget http://download.virtualbox.org/virtualbox/4.1.8/VBoxGuestAdditions_4.1.8.iso</pre>
  −
  </li>
   
</ol>
 
</ol>
   Line 225: Line 222:  
Protocol: TCP<br/>
 
Protocol: TCP<br/>
 
Source Ports: 33900<br/>
 
Source Ports: 33900<br/>
Destination IP: 192.168.100.1    ''(which is also the localhost'')<br/>
+
Destination IP: 192.168.5.1    ''(which is also the guest IP'')<br/>
 
Destination Port: 9000<br/>
 
Destination Port: 9000<br/>
 
Allow Hosts: <you can leave it blank, or place your Public IP so only your IP can access the VM)<br/>
 
Allow Hosts: <you can leave it blank, or place your Public IP so only your IP can access the VM)<br/>
Line 251: Line 248:  
</pre>
 
</pre>
   −
<li>Edit your vbox file located on /etc/init.d/
+
<li>Edit your ''vbox'' file located on /etc/init.d/
 
<pre>
 
<pre>
 
#!/bin/sh
 
#!/bin/sh
Line 360: Line 357:  
     <li>Install the latest VirtualBox, as of this date it is VirtualBox 4.2.
 
     <li>Install the latest VirtualBox, as of this date it is VirtualBox 4.2.
 
       <pre>yum install --enablerepo=virtualbox VirtualBox-4.2</pre></li>
 
       <pre>yum install --enablerepo=virtualbox VirtualBox-4.2</pre></li>
     <li>Re-create a '''vbox.cfg''' file on your /etc/vbox/.  
+
     <li>Create a '''virtualbox''' file on your /etc/default/. On Virtualbox 4.1, virtualbox file was originally /etc/vbox/vbox.cfg.
       <pre>nano /etc/vbox/vbox.cfg</pre>
+
       <pre>nano /etc/default/virtualbox</pre>
       <p>''vbox.cfg'' should have this content.</p>
+
       <p>''virtualbox'' should have this content.</p>
 
       <pre>VBOXWEB_USER='root'
 
       <pre>VBOXWEB_USER='root'
 
VBOXWEB_HOST=127.0.0.1
 
VBOXWEB_HOST=127.0.0.1
 
VBOXWEB_PORT=18083
 
VBOXWEB_PORT=18083
 +
VBOXWEB_LOGFILE=/var/log/vboxweb
 +
INSTALL_DIR=/usr/lib/virtualbox
 
</pre></li>
 
</pre></li>
 
     <li>Install VirtualBox extension pack, you can find the extension packs [http://www.virtualbox.org/wiki/Downloads here].
 
     <li>Install VirtualBox extension pack, you can find the extension packs [http://www.virtualbox.org/wiki/Downloads here].
75

edits

Navigation menu