Changes

From SME Server
Jump to navigationJump to search
3,003 bytes added ,  14:21, 1 October 2014
Add link to wikipedia page on PAE (Physical Address Extensions)
Line 110: Line 110:  
Update server to latest packages
 
Update server to latest packages
 
  yum update
 
  yum update
Install VMWare tools
+
Now, installing VMWare tools involves knowing which type of kernel you have, PAE or non-PAE. To check, do a
  yum --enablerepo=vmware-tools install \
+
uname -r
  vmware-tools-esx-kmods`uname -r | sed 's/2.*el5//g' | sed 's/PAE/-PAE/'` \
+
If the output of the command mentioned above contains ''PAE'', then you have a PAE kernel and the following command should be used to install VMWare Tools
  vmware-tools-esx-nox
+
  yum --enablerepo=vmware-tools install vmware-tools-esx-kmods-PAE vmware-tools-esx-nox
 +
Otherwise, you don't have a PAE kernel and the relevant command to install VMWare Tools is
 +
yum --enablerepo=vmware-tools install vmware-tools-esx-kmods vmware-tools-esx-nox
 
Link the start script to run level 7
 
Link the start script to run level 7
 
  ln -s /etc/init.d/vmware-tools-services /etc/rc7.d/S90vmware-tools-services
 
  ln -s /etc/init.d/vmware-tools-services /etc/rc7.d/S90vmware-tools-services
Line 137: Line 139:  
Update server to latest packages
 
Update server to latest packages
 
  yum update
 
  yum update
Install VMWare tools
+
Now, installing VMWare tools involves knowing which type of kernel you have, PAE or non-PAE. To check, do a
  yum --enablerepo=vmware-tools install \
+
uname -r
  vmware-tools-esx-kmods`uname -r | sed 's/2.*el5//g' | sed 's/PAE/-PAE/'` \
+
If the output of the command mentioned above contains ''PAE'', then you have a PAE kernel and the following command should be used to install VMWare Tools
  vmware-tools-esx-nox
+
  yum --enablerepo=vmware-tools install vmware-tools-esx-kmods-PAE vmware-tools-esx-nox
 +
Otherwise, you don't have a PAE kernel and the relevant command to install VMWare Tools is
 +
yum --enablerepo=vmware-tools install vmware-tools-esx-kmods vmware-tools-esx-nox
 
Link the start script to run level 7
 
Link the start script to run level 7
 
  ln -s /etc/init.d/vmware-tools-services /etc/rc7.d/S90vmware-tools-services
 
  ln -s /etc/init.d/vmware-tools-services /etc/rc7.d/S90vmware-tools-services
Line 146: Line 150:  
  /etc/init.d/vmware-tools-services start
 
  /etc/init.d/vmware-tools-services start
 
Everything should be ok now, just restart the machine. If you by any chance wish to use the vmxnet2 adapter instead of the lance, then shutdown the VM, delete the "Flexible"/"Lance" network adapter and add "vmxnet2" in its place. Start the VM. If all goes ok, you'll now have the improved vmxnet NIC.
 
Everything should be ok now, just restart the machine. If you by any chance wish to use the vmxnet2 adapter instead of the lance, then shutdown the VM, delete the "Flexible"/"Lance" network adapter and add "vmxnet2" in its place. Start the VM. If all goes ok, you'll now have the improved vmxnet NIC.
 +
 +
====SME Server 9 Alpha3 Guest on ESXi 5.1====
 +
Install repo key
 +
rpm --import http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub
 +
 +
create yum repo
 +
<nowiki>db yum_repositories set vmware-tools repository \
 +
Name 'VMWare Tools' \
 +
BaseURL 'http://packages.vmware.com/tools/esx/5.1/rhel6/$basearch' \
 +
EnableGroups no \
 +
GPGCheck yes \
 +
GPGKey http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-DSA-KEY.pub \
 +
Visible no \
 +
status disabled</nowiki>
 +
 +
Update yum.conf
 +
expand-template /etc/yum.smerepos.d/sme-base.repo
 +
 +
check for PAE vs non-PAE kernel
 +
uname -r
 +
 +
Install NON-PAE tools if "PAE" is not contained in the output from "uname -a"
 +
uname -a |grep PAE || yum --enablerepo=vmware-tools install vmware-tools-esx-kmods vmware-tools-esx-nox
 +
 +
Install PAE tools if "PAE" is contained in the output from "uname -a"
 +
  uname -a |grep PAE && yum --enablerepo=vmware-tools install vmware-tools-esx-kmods-PAE vmware-tools-esx-nox
 +
 +
There was no action required to cause the vmware tools to start at boot.  Verify tools are running with
 +
/etc/vmware-tools/init/vmware-tools-services status
 +
 +
====SME Server 9 Guest on ESXi 5.5====
 +
Install repo key
 +
rpm --import http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub
 +
 +
create yum repo
 +
<nowiki>db yum_repositories set vmware-tools repository \
 +
Name 'VMWare Tools' \
 +
BaseURL 'http://packages.vmware.com/tools/esx/5.5latest/rhel6/$basearch' \
 +
EnableGroups no \
 +
GPGCheck yes \
 +
GPGKey http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-DSA-KEY.pub \
 +
Visible no \
 +
status disabled</nowiki>
 +
 +
Update yum.conf
 +
expand-template /etc/yum.smerepos.d/sme-base.repo
 +
 +
check for [http://en.wikipedia.org/wiki/Physical_Address_Extension PAE vs non-PAE] kernel
 +
uname -r
 +
 +
Install NON-PAE tools if "PAE" is not contained in the output from "uname -a"
 +
uname -a |grep PAE || yum --enablerepo=vmware-tools install vmware-tools-esx-kmods vmware-tools-esx-nox
 +
 +
Install PAE tools if "PAE" is contained in the output from "uname -a"
 +
  uname -a |grep PAE && yum --enablerepo=vmware-tools install vmware-tools-esx-kmods-PAE vmware-tools-esx-nox
 +
 +
There was no action required to cause the vmware tools to start at boot.  Verify tools are running with
 +
/etc/vmware-tools/init/vmware-tools-services status
 
----
 
----
 
[[Category:Howto]]
 
[[Category:Howto]]
 
[[Category:Virtualisation]]
 
[[Category:Virtualisation]]

Navigation menu