Here's the translation :
VMware Server 1.0.4 on Ubuntu 7.10 Gutsy Gibbon
Here's the informations needed to install VMware Server 1.04 and it's admin UI (MUI) on Ubuntu 7.10 Gutsy Gibbon.
VMware Server 1.04 Install
Create a directory that'll contain the virtual machines
Install the necessary packages (7.10 32bits)
Code:
$ sudo apt-get install ssh openssh-server libx11-6 libx11-dev libxtst6 xinetd wget build-essential
$ sudo apt-get -y install linux-headers-`uname -r` && cd /usr/src && sudo rm -f linux && sudo ln -s linux-headers-`uname -r` linux
$ sudo apt-get install gcc binutils-doc cpp-doc make manpages-dev autoconf automake1.9 libtool flex bison gdb gcc-doc libc6-dev-amd64 lib64gcc1
Download VMware Server 1.04 : VMware-server-1.0.4-56528.tar.gz, and then untar it.
Code:
$ cd /tmp
$ wget http://download3.vmware.com/software/vmserver/VMware-server-1.0.4-56528.tar.gz
$ tar -xvzf VMware-server-1.0.4-56528.tar.gz
Start the install
Code:
$ cd vmware-server-distrib
$ sudo ./vmware-install.pl
Answer to all the questions by the default answers except for the virtual machine storage directory :
Code:
In which directory do you want to keep your virtual machine files? [/var/lib/vmware/Virtual Machines] votre_home_directory/vmware
Please enter your 20-character serial number.
Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel: entrer_ici_le_numero_de_serie
VMware server 1.04 install is now over, available in the menu. Let's now clean the temporary files we created :
Code:
$ rm -rf /tmp/*ware*
VMware MUI 1.04 Install
Download VMware MUI 1.04 : VMware-mui-1.0.4-56528.tar.gz, and then untar it.
Code:
$ cd /tmp
$ wget http://download3.vmware.com/software/vmserver/VMware-mui-1.0.4-56528.tar.gz
$ tar -xvzf VMware-mui-1.0.4-56528.tar.gz
Launch the isntall script
Code:
$ cd vmware-mui-distrib
$ sudo ./vmware-install.pl
Answer to all the questions by the default answers. At the end of the script, the /etc/init.d/httpd.vmware command fails. This type of error occurs :
Code:
Generating SSL Server Certificate
Starting httpd.vmware:-ne failed
To fix this bug, you need to edit the /etc/init.d/httpd.vmware file. Replace the following block :
Code:
start)
vmware_exec "Starting httpd.vmware:" vmware_start_httpd
;;
stop)
vmware_exec "Shutting down http.vmware: " vmware_stop_httpd
;;
By this one
Code:
start)
if [ ! -d /var/run/vmware/httpd ]
then
echo "Directory: var/run/vmware/httpd Not found. Creating it."
mkdir /var/run/vmware/httpd
echo "Setting user and group ownership to: User: www-data, Group: nogroup"
chown www-data:nogroup /var/run/vmware/httpd
echo "Setting directory permissions to: RWX------ (700)"
chmod 700 /var/run/vmware/httpd
fi
echo "Starting httpd.vmware:"
vmware_start_httpd
;;
stop)
echo "Shutting down http.vmware: "
vmware_stop_httpd
;;
Also change all the SIGHUP par HUP by replacing this block :
Code:
if [ "$VMWARE_DEBUG" = 'yes' ]; then
(trap '' SIGHUP; "$func" "$@")
else
(trap '' SIGHUP; "$func" "$@") >/dev/null 2>&1
fi
By this one
Code:
if [ "$VMWARE_DEBUG" = 'yes' ]; then
(trap '' HUP; "$func" "$@")
else
(trap '' HUP; "$func" "$@") >/dev/null 2>&1
fi
The VMware MUI 1.04 install is done, the UI is available at this address : https://localhost:8333, now let's clean the temporary files to finish :
Code:
$ rm -rf /tmp/*ware*
Bookmarks