How-To install VMware Management Interface (MUI) on SME 7.0
Author : william_syd
Tested on SME Version:
Updated :
License :
Install it as per http://www.vmware.com/pdf/server_admin_manual.pdf page 44. Don't worry about libdb.so.3.
cp /etc/rc.d/rc3.d/S91httpd.vmware /etc/rc.d/init.d/httpd.vmware << Maybe not required... wont hurt to try :)
ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S91httpd.vmware
/sbin/e-smith/db configuration set httpd.vmware service status enabled
/sbin/e-smith/signal-event console-save
/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot
Open the following ports in your firewall for external access.
- 8222 - TCP/HTTP
- 8333 - TCP/HTTPS
- 902 - TCP (Default for server console)
MUI SSL certificate will be self signed by VMware.
To make it use your existing certificates edit /usr/lib/vmware-mui/apache/conf/httpd.conf
First, find the location of your SSL .crt and .key files
For self signed default certs they will be in /home/e-smith/ssl.crt and /home/e-smith/ssl.key
They will be named hostname.domain.crt and hostname.domain.key
Full paths will be:
/home/e-smith/ssl.crt/hostname.domain.crt
/home/e-smith/ssl.key/hostname.domain.key
For non self signed CA issued certificates locate the paths as follows-
/sbin/e-smith/config getprop modSSL crt
/sbin/e-smith/config getprop modSSL key
Now, make the changes to httpd.conf
pico /usr/lib/vmware-mui/apache/conf/httpd.conf
Cntrl-w SSLCertificateFile /etc/vmware-mui/ssl/mui.crt
Edit SSLCertificateFile to point to the location of your certificate eg. /home/e-smith/ssl.crt/hostname.domain.crt
Below that edit SSLCertificateKeyFile to point to the location of your key file eg. /home/e-smith/ssl.key/hostname.domain.key
Cntrl-x, yes, enter.
Example section of /usr/lib/vmware-mui/apache/conf/httpd.conf
# Server Certificate: # Point SSLCertificateFile at a PEM encoded certificate. If # the certificate is encrypted, then you will be prompted for a # pass phrase. Note that a kill -HUP will prompt again. A test # certificate can be generated with `make certificate' under # built time. Keep in mind that if you've both a RSA and a DSA # certificate you can configure both in parallel (to also allow # the use of DSA ciphers, etc.) SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt #SSLCertificateFile /etc/vmware-mui/ssl/mui.crt #SSLCertificateFile /usr/lib/vmware-mui/apache/conf/ssl.crt/server-dsa.crt # Server Private Key: # If the key is not combined with the certificate, use this # directive to point at the key file. Keep in mind that if # you've both a RSA and a DSA private key you can configure # both in parallel (to also allow the use of DSA ciphers, etc.) SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key #SSLCertificateKeyFile /etc/vmware-mui/ssl/mui.key #SSLCertificateKeyFile /usr/lib/vmware-mui/apache/conf/ssl.key/server-dsa.key
Now we stop and start the httpd.vmware service.
/etc/rc7.d/S91httpd.vmware restart
Thats it.
References:
Information gathered from this forum thread http://forums.contribs.org/viewtopic.php?t=30838
Creating a CA signed SSL Certificate
Creating a Custom signed SSL Certificate
Back AllPages SME7Howtos
Please Note: Comments should NOT contain request for help. Please ask for help in the forum/s listed in the references section.
One page links to How-To install VMware Management Interface (MUI) on a SME 7.0 Host: