Hi folks,
Thanks for your advice. I got it done.
satimis@ubuntu:~$ sudo chown satimis:satimis /home/satimis/.vmware/preferences
Password:
satimis@ubuntu:~$ /usr/bin/vmware-server-console
starts vmware-server-console
Open a Virtural Machine -> Location -> Browse - CentOS-5_lamp.x86_64.vmx -> Power on the Virtural Machine -> highlight "CentOS-5lamp/x86_64 /home/satimis/CentOS_lamp.x86_64.... -> OK -> Edit Virtual Machine Settings ->
Memory - 512MB (I have 2G RAM onboard. Only keep the default setting=512MB)
Processor - select "Two"
others not changed
Code:
(Remark:
- please advise are there other items requesting "change"?
- how about the partitioning of the HD ?)
-> OK -> Power on this virutal machine ->
Error popup
Code:
Cannot find a serial number to unlock this version of VMware Server.
Please ask your system administrator to run "vmware-config.pl"
and enter the serial number. For more information, please read
the INSTALL file in VMware Server's documentation directory.
[OK]
Start a new Console.
satimis@ubuntu:~$ cd /usr/local/src/vmware-server-distrib-1.0.4-56528/
satimis@ubuntu:/usr/local/src/vmware-server-distrib-1.0.4-56528$ sudo /usr/bin/vmware-config.pl
Code:
Making sure services for VMware Server are stopped.
Stopping VMware services:
Virtual machine monitor done
Bridged networking on /dev/vmnet0 done
DHCP server on /dev/vmnet1 done
Host-only networking on /dev/vmnet1 done
DHCP server on /dev/vmnet8 done
NAT service on /dev/vmnet8 done
Host-only networking on /dev/vmnet8 done
Virtual ethernet done
Configuring fallback GTK+ 2.4 libraries.
In which directory do you want to install the mime type icons?
[/usr/share/icons] [Enter]
What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications] [Enter]
In which directory do you want to install the application's icon?
[/usr/share/pixmaps] [Enter]
Trying to find a suitable vmmon module for your running kernel.
None of the pre-built vmmon modules for VMware Server is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes] [Enter]
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.20-15-generic/build/include] [Enter]
Would you like to skip networking setup and keep your old settings as they are?
(yes/no) [yes] [Enter]
Shutting down http.vmware
Starting httpd.vmware:
Please specify a port for remote console connections to use [902] [Enter]
Do you want this program to set up permissions for your registered virtual
machines? This will be done by setting new permissions on all files found in
the "/etc/vmware/vm-list" file. [no] [Enter]
Generating SSL Server Certificate
In which directory do you want to keep your virtual machine files?
[/var/lib/vmware/Virtual Machines] [Enter]
Please enter your 20-character serial number.
Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel: abcde-fghij-klmno-pqrst
Starting VMware services:
Virtual machine monitor done
Virtual ethernet done
Bridged networking on /dev/vmnet0 done
Host-only networking on /dev/vmnet1 (background) done
Host-only networking on /dev/vmnet8 (background) done
NAT service on /dev/vmnet8 done
Starting VMware virtual machines... done
The configuration of VMware Server 1.0.4 build-56528 for Linux for this running
kernel completed successfully.
Setup found that the VMware Management Interface is installed on your machine.
The VMware Management Interface configurator (/usr/bin/vmware-config-mui.pl)
needs to be run. Do you want to run this program now? [yes] [Enter]
File /usr/lib/vmware-mui/apache/conf/httpd.conf is backed up to
/usr/lib/vmware-mui/apache/conf/httpd.conf.old.0.
Configuring httpd.conf to run Apache as:
User: www-data and Group: nogroup
File /etc/init.d/httpd.vmware is backed up to /etc/init.d/httpd.vmware.old.0.
Set the number of minutes before a http session times out. (This is the length
of time before someone connecting to VMware Management Interface will be logged
out) [60] [Enter]
Generating SSL Server Certificate
Starting httpd.vmware:-ne failed
The configuration of VMware Management Interface completed successfully.
satimis@ubuntu:/usr/local/src/vmware-server-distrib-1.0.4-56528$ sudo /etc/init.d/httpd.vmware start
Starting httpd.vmware:-ne failed
On another console
satimis@ubuntu:~$ sudo /etc/init.d/httpd.vmware start
Password:
Starting httpd.vmware:-ne failed
Same result.
satimis@ubuntu:~$ sudo /etc/init.d/vmware restart
Code:
Stopping VMware services:
Virtual machine monitor done
Bridged networking on /dev/vmnet0 done
DHCP server on /dev/vmnet1 done
Host-only networking on /dev/vmnet1 done
DHCP server on /dev/vmnet8 done
NAT service on /dev/vmnet8 done
Host-only networking on /dev/vmnet8 done
Virtual ethernet done
Starting VMware services:
Virtual machine monitor done
Virtual ethernet done
Bridged networking on /dev/vmnet0 done
Host-only networking on /dev/vmnet1 (background) done
Host-only networking on /dev/vmnet8 (background) done
NAT service on /dev/vmnet8 done
Starting VMware virtual machines... done
satimis@ubuntu:~$ sudo /etc/init.d/httpd.vmware start
Code:
Starting httpd.vmware:-ne failed
$ sudo rm /usr/local/src/vmware-server-console-distrib/etc/not_configured
$ sudo rm /usr/local/src/vmware-server-distrib-1.0.4-56528/etc/not_configured
$ sudo rm /usr/local/src/vmware-mui-distrib-1.0.4-56528/etc/not_configured
reboot PC
All did not help.
satimis@ubuntu:~$ cd /tmp/
satimis@ubuntu:/tmp$ wget
http://users.piuha.net/martti/comp/u...pd.vmware.diff
satimis@ubuntu:/tmp$ cd /
satimis@ubuntu:/$ sudo patch -b -p0 < /tmp/httpd.vmware.diff
Code:
Password:
patching file /etc/init.d/httpd.vmware
patching file /usr/lib/vmware-mui/src/lib/httpd.vmware
satimis@ubuntu:/$ sudo /etc/init.d/httpd.vmware start
Code:
Starting httpd.vmware: perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_HK.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
satimis@ubuntu:/$ sudo cp -p /etc/init.d/httpd.vmware /etc/init.d/httpd.vmware.origin
satimis@ubuntu:/$ sudo nano /etc/init.d/httpd.vmware
adding following line
Code:
export LC_ALL=C ; export LANG=C
at the beginning.
Code:
Is here the right file and right place adding the above line
???
satimis@ubuntu:~$ sudo /etc/init.d/httpd.vmware start
Code:
Password:
Starting httpd.vmware: done
Now it works.
satimis@ubuntu:~$ /usr/bin/vmware-server-console
starts vmware-server-console
Repeat following steps
Code:
Open a Virtural Machine -> Location -> Browse - CentOS-5_lamp.x86_64.vmx -> Power on the Virtural Machine -> highlight "CentOS-5lamp/x86_64 /home/satimis/CentOS_lamp.x86_64.... -> OK -> Edit Virtual Machine Settings ->
Memory - 512MB (I have 2G RAM onboard. Only keep the default setting=512MB)
Processor - select "Two"
-> Power On this virtual machine
CentOS 5 starts to boot finally ending at
localhost login : root
password
[root@localhost]#
What shall be the next?
What are the function of these 2 kernels
Cent 2.6.18 ........el5vm
Cent 2.6.18 ........el5
???
IIRC I came across a Howtoforge tutorial re setup LAMP on CentOS 5 before. Any advice? TIA
Edit:
Finally I found following documents
1)
The Perfect Setup - CentOS 5.0 (32-bit)
http://howtoforge.org/perfect_setup_centos5.0
I'm running 64bit CentOS 5. I do hope that the document also works on 64bit.
2)
Installing Lighttpd With PHP5 And MySQL Support On CentOS 5.0
http://howtoforge.org/taxonomy/term/57
I think 1) above will be more suitable for me. Advice would be appreciated. TIA
B.R.
satimis
Recent comments
15 hours 30 min ago
16 hours 30 min ago
20 hours 17 min ago
21 hours 31 min ago
1 day 1 hour ago
1 day 8 hours ago
1 day 17 hours ago
1 day 18 hours ago
2 days 9 hours ago
2 days 12 hours ago