Changes

From SME Server
Jump to navigationJump to search
1,299 bytes added ,  11:18, 17 December 2007
New installation method from snetram repository, new mui version, updated service configuration commands to more save versions and a few text changes
Line 1: Line 1:  
{{Languages|vmware}}
 
{{Languages|vmware}}
  −
== Vmware-server for SME Server ==
      
=== Maintainer ===
 
=== Maintainer ===
Line 13: Line 11:     
http://forums.contribs.org/index.php?topic=30838.msg162804#msg162804
 
http://forums.contribs.org/index.php?topic=30838.msg162804#msg162804
==== Installing VMware ====
+
===VMware Server===
 
+
====Installation====
Go to VMware web site and get a free serial number for VMware Server, linux version.
+
To facilitate installation the RPM's are available in the [http://yum.snetram.nl snetram repository], until the contribs repository will be online.
    
Get shell access (with Putty or similar ssh-client) and log in as root.
 
Get shell access (with Putty or similar ssh-client) and log in as root.
   −
wget http://download3.vmware.com/software/vmserver/VMware-server-1.0.4-56528.i386.rpm
+
Configure the snetram repository if you not already have it available. {{Repository|snetram}}
   −
  wget http://www.snetram.nl/wp-content/uploads/temp/smeserver-vmware-server-0.0.1-4.el4.sme.noarch.rpm
+
  yum install smeserver-vmware-server-0.0.1-4.el4.sme.noarch.rpm \
Or
+
  VMware-server-1.0.4-56528.i386.rpm \
  wget http://bends.se/it/smeserver/downloads/smeserver-vmware-server-0.0.1-4.el4.sme.noarch.rpm
+
  --enablerepo=base --enablerepo=updates --enablerepo=snetram
The requirement for GCC is currently an optional. Depending on your kernel at the time you may find the the included modules load and run perfectly (it will give you a message to this effect).
  −
Enabling repos help resolve dependencys.
  −
  yum -y --enablerepo=base --enablerepo=updates install gcc
     −
yum -y --enablerepo=base --enablerepo=updates localinstall \
  −
smeserver-vmware-server-0.0.1-4.el4.sme.noarch.rpm \
  −
VMware-server-1.0.4-56528.i386.rpm
   
The above will also install xinetd for dependency.
 
The above will also install xinetd for dependency.
 +
====Configuration====
 +
Go to VMware web site and get a free serial number for VMware Server, linux version.
 +
{{Note box|msg=The requirement for GCC is currently an optional. Depending on your kernel at the time you may find the the included modules load and run perfectly (it will give you a message to this effect).
 +
Enabling repos help resolve dependencies.
 +
yum install gcc}}
 +
 +
To finish the installation run the following command:
 
  vmware-config.pl
 
  vmware-config.pl
 +
 +
{{Warning box|msg=Leaving gcc on a production server is considered a security risk, if you do not really need it you should not install it, if you need it you should seriously consider uninstalling gcc when you no longer need it. Removing gcc can be done using the following command:
 +
yum remove gcc}}
    
  signal-event post-upgrade; signal-event reboot
 
  signal-event post-upgrade; signal-event reboot
   −
==== Installing MUI ====
+
=== VMWare Management UI ===
 +
====Installation====
 
VMware Server Web-based management interface. It's optional, you can also use VMware Console from a client computer.
 
VMware Server Web-based management interface. It's optional, you can also use VMware Console from a client computer.
  wget http://download3.vmware.com/software/vmserver/VMware-mui-1.0.3-44356.tar.gz
+
  wget http://download3.vmware.com/software/vmserver/VMware-mui-1.0.4-56528.tar.gz
   −
  tar -xzvf VMware-mui-1.0.3-44356.tar.gz
+
  tar -xzvf VMware-mui-1.0.4-56528.tar.gz
    
  cd vmware-mui-distrib/
 
  cd vmware-mui-distrib/
 +
====Configuration====
 +
Configuration of the management user interface is done with a script that can be run like this:
 +
./vmware-install.pl
   −
  ./vmware-install.pl
+
=== Remote access ===
 +
The VMware Server will only be accessible from the local network.  If you want to be able to access the VMware Server from internet, run these commands:
 +
====Console====
 +
To allow console access from your local network:
 +
config set vmware service access private status enabled TCPPort 902
 +
 
 +
{{Warning box|The command below will open the ports of the Management Console to the internet, this means a serious security implication}}
 +
To allow console access from all over the internet:
 +
  config set vmware service access public status enabled TCPPort 902
 +
 
 +
Update the remote access settings and reload changes:
 +
signal-event remoteaccess-update
 +
 
 +
Substitute "disabled" instead of "enabled" in the above commands to disable access.
   −
==== Remote access ====
+
====Management UI====
The VMware Server will only be accessible from the local network. If you want to be able to access the  VMware Server from internet, run these commands:
+
To allow Management UI access from your local network:
 +
config set httpd.vmware service TCPPorts 8222,8333 access private status enabled
   −
To allow MUI access from anywhere:
+
{{Warning box|The command below will open the ports of the Management UI to the internet, this means a serious security implication}}
 +
To allow Management UI access from all over the internet:
 
  config set httpd.vmware service TCPPorts 8222,8333 access public status enabled
 
  config set httpd.vmware service TCPPorts 8222,8333 access public status enabled
 +
 +
After defining the service we need to make the service start at boot time
 
  ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S91httpd.vmware
 
  ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S91httpd.vmware
 +
 +
Now we can manually start the service
 
  /etc/rc7.d/S91httpd.vmware restart
 
  /etc/rc7.d/S91httpd.vmware restart
 
  signal-event remoteaccess-update
 
  signal-event remoteaccess-update
   −
To allow console access from anywhere:
+
Substitute "disabled" instead of "enabled" in the above commands to disable access.
config set vmware service access public status enabled TCPPort 902
  −
signal-event remoteaccess-update
  −
 
  −
Substitute "disabled" instead of "enabled" in the above commands to disable this access.
      
=== Usage ===
 
=== Usage ===
==== MUI ====
  −
Open a web browser and go to https://your_server:8333/vmware/en/
  −
  −
Log in as root and you will find VMware Management interface.
   
==== Console ====
 
==== Console ====
 
Download and install the VMware console from the VMware web site, or the MUI webpage, on a client machine or use the existing console if you already have VMware (Server) installed.
 
Download and install the VMware console from the VMware web site, or the MUI webpage, on a client machine or use the existing console if you already have VMware (Server) installed.
    
Run Console on your client and connect to your_server and start to play...
 
Run Console on your client and connect to your_server and start to play...
 +
 +
====Management UI====
 +
Open a web browser and go to https://your_server:8333/vmware/en/
 +
 +
Log in as root and you will find VMware Management interface.
    
=== Uninstallation ===
 
=== Uninstallation ===

Navigation menu