Changes

From SME Server
Jump to navigationJump to search
Line 20: Line 20:  
   <li value="1">Setup SME Server v8 beta 6.</li>
 
   <li value="1">Setup SME Server v8 beta 6.</li>
 
   <li value="2">Do a yum update.</li>
 
   <li value="2">Do a yum update.</li>
       <pre>yum update</pre>
+
       <pre>yum upgrade</pre>
 
   <li value="3"> If any updates were applied, update and reboot the server.</li>
 
   <li value="3"> If any updates were applied, update and reboot the server.</li>
 
       <pre>signal-event post-upgrade
 
       <pre>signal-event post-upgrade
Line 26: Line 26:  
   <li value="4">Check your current kernel.</li>
 
   <li value="4">Check your current kernel.</li>
 
       <pre>uname -r</pre>
 
       <pre>uname -r</pre>
   <li value="5">Install kernel-devel to get the latest development tree.
+
   <li value="5">Install kernel-devel to get the latest development tree. Latest kernel at the time of writing is 2.6.18-308.13.1.el5.<br/>
 
Use this command only if you have a PAE kernel installed:
 
Use this command only if you have a PAE kernel installed:
       <pre>yum install kernel-PAE-devel kernel-headers</pre>
+
       <pre>yum clean all
 +
yum install kernel-PAE-devel kernel-headers
 +
yum info kernel-headers</pre>
 
Otherwise,
 
Otherwise,
 
       <pre>yum install kernel-devel kernel-headers</pre>
 
       <pre>yum install kernel-devel kernel-headers</pre>
 
   </li>
 
   </li>
   <li value="6">Check if the compiler (GCC) is installed. If not installed, install it.</li>
+
   <li value="6">Check if the compiler (GCC) is installed by issuing this command.
 +
      <pre>rpm –qa | grep gcc</pre>
 +
      You will have an output, similar to this:
 +
      <pre>libgcc-4.1.2-52.el5_8.1
 +
gcc-4.1.2-52.el5_8.1</pre>
 +
  If not installed, install it.
 
       <pre>yum install gcc</pre>
 
       <pre>yum install gcc</pre>
 +
  If you will get an error "No package gcc available. Nothing to do" then do this:
 +
      <pre>cd /tmp
 +
wget ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-4.7.1/gcc-4.7.1.tar.gz</pre>
 +
 +
  </li>
 
   <li value="7">Update SME, and reboot again.</li>
 
   <li value="7">Update SME, and reboot again.</li>
 
       <pre>signal-event post-upgrade
 
       <pre>signal-event post-upgrade
Line 59: Line 71:  
the command below - they are all supposed to be backticks.</p>
 
the command below - they are all supposed to be backticks.</p>
   −
     <pre>ls /lib/modules/`uname -r`/build</pre>
+
     <pre>ls -la /lib/modules/`uname -r`/build</pre>
 
   </li>
 
   </li>
 
   <li value="11">Install the Fedora Epel repository using the instructions [http://wiki.contribs.org/Epel here].</li>
 
   <li value="11">Install the Fedora Epel repository using the instructions [http://wiki.contribs.org/Epel here].</li>
Line 65: Line 77:  
       <pre>yum install --enablerepo=epel dkms</pre>
 
       <pre>yum install --enablerepo=epel dkms</pre>
 
   <li value="13">Install the VirtualBox repository using the instructions [http://wiki.contribs.org/VirtualBox_Repository here].</li>
 
   <li value="13">Install the VirtualBox repository using the instructions [http://wiki.contribs.org/VirtualBox_Repository here].</li>
   <li value="14">Install <b>VirtualBox</b> (At the time of the last update to these instructions, the latest version was v4.1-2).</li>
+
   <li value="14">Install <b>VirtualBox</b> (At the time of the last update to these instructions, the latest version was v4.1-4.1.22).</li>
 
       <pre>yum install --enablerepo=virtualbox VirtualBox-4.1</pre>
 
       <pre>yum install --enablerepo=virtualbox VirtualBox-4.1</pre>
 
   <li value="15">Review the VirtualBox installation log to ensure that the installation was successful.</li>
 
   <li value="15">Review the VirtualBox installation log to ensure that the installation was successful.</li>
 
       <pre>tail /var/log/vbox-install.log</pre>
 
       <pre>tail /var/log/vbox-install.log</pre>
 
   <li value="16">Remove the compiler install (for security best practices)</li>
 
   <li value="16">Remove the compiler install (for security best practices)</li>
       <pre> rpm -e gcc</pre>
+
       <pre>rpm -e gcc</pre>
 
   <li value="17">Update SME, and reboot again</li>
 
   <li value="17">Update SME, and reboot again</li>
 
       <pre>signal-event post-upgrade
 
       <pre>signal-event post-upgrade
 
signal-event reboot</pre>
 
signal-event reboot</pre>
   <li value="18">Setup VirtualBox as a service so it starts automatically after a reboot.</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 ''vbox.cfg'' file on your /etc/vbox/.</li>
Line 86: Line 98:  
<b>Note: Without the vbox.cfg, vbox services on your rc7.d folder will not start.</b>
 
<b>Note: Without the vbox.cfg, 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>.
 
   For instructions on how to create and configure an ibay, please see [http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter14 the SME Server Administration manual.]</li>
 
   For instructions on how to create and configure an ibay, please see [http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter14 the SME Server Administration manual.]</li>
    
<b>After creating the ibay, do not forget to assign a password.</b>
 
<b>After creating the ibay, do not forget to assign a password.</b>
   −
   <li value="21">Before we install <b>[http://code.google.com/p/phpvirtualbox/ phpVirtualBox]</b>, make sure you install <b>SOAP</b> first</li>
+
   <li value="21">Before we install <b>[http://code.google.com/p/phpvirtualbox/ phpVirtualBox]</b>, make sure you first install <b>SOAP</b>.</li>
 
       <pre>yum install php-soap</pre>
 
       <pre>yum install php-soap</pre>
As of 2011-11-04 a fresh sme8b6 with updates installed, the above line tries to install sme-soap-5.1. If yum complains about a missing dependency php-common-5.1, verify whether you have installed php-common-5.2. If so, you can obtain php-soap-5.2 by invoking "<tt>yum install --enablerepo smedev php-soap-5.2</tt>". Integration test passed.
+
As of 2012-09-03 a fresh sme8b6 with updates installed, the above line tries to install php-soap-5.3.3-13.el5.sme.1.x86_64. If yum complains about a missing dependency php-common-5.3.3-13.el5.sme.1, verify whether you have installed php-common-5.3 by issuing this command "rpm -qa | grep php-common". If so, you can obtain php-soap-5.3.3-1.el5.sme.6  by invoking "<tt>yum install --enablerepo smedev php-soap-5.3.3-1.el5.sme.6</tt>". Integration test passed.
 +
 
 +
To avoid this error message “PHP does not have the SOAP extension enabled” especially if you have no plan of restarting the server.
 +
      <pre>svc -t /service/httpd-e-smith/</pre>
 
   <li value="22">Install <b>phpVirtualBox</b></li>
 
   <li value="22">Install <b>phpVirtualBox</b></li>
 
       <pre>cd /tmp
 
       <pre>cd /tmp
 
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-2. Please adjust the following for later versions.
+
Note: at the time of the last update, the latest version was 4.1-8. Please adjust the following for later versions.
       <pre>cd phpvirtualbox-4.1-2
+
       <pre>cd phpvirtualbox-4.1-8
 
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 139: Line 154:  
   <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.2.
+
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.
   −
       <pre>wget http://download.virtualbox.org/virtualbox/4.1.2/Oracle_VM_VirtualBox_Extension_Pack-4.1.2-73507.vbox-extpack
+
       <pre>wget http://download.virtualbox.org/virtualbox/4.1.8/Oracle_VM_VirtualBox_Extension_Pack-4.1.8-75467.vbox-extpack
vboxmanage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.1.2-73507.vbox-extpack</pre>
+
vboxmanage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.1.8-75467.vbox-extpack</pre>
    
   <li value="28">Update SME, and reboot again</li>
 
   <li value="28">Update SME, and reboot again</li>
Line 157: Line 172:     
   <li value="30">Open a terminal window to the SME Server and create a directory to store the virtual machine images.</li>
 
   <li value="30">Open a terminal window to the SME Server and create a directory to store the virtual machine images.</li>
       <pre>mkdir -p /var/lib/VirtualBox/VMs</pre>
+
       <pre>mkdir -p /opt/VMs</pre>
 
   <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
Line 168: Line 183:  
         <li>Select the "General" tab.</li>
 
         <li>Select the "General" tab.</li>
 
         <li>Change the Default Machine Folder to:  
 
         <li>Change the Default Machine Folder to:  
               <pre>/var/lib/VirtualBox/VMs</pre>
+
               <pre>/opt/VMs</pre>
 
         </li>
 
         </li>
 
       </ul>
 
       </ul>
75

edits

Navigation menu