Vmware server 1.0.5 on Ubuntu hardy 64bit with 4G of memory.
Hardy is built on Linux 2.6.24 kernel and to run Vmware on it you need to do some steps.
#Patch the VMware modules.
The VMware community forums helps with that: http://communities.vmware.com/thread/121847?tstart=-1
Don’t forget to edit …/source/vmmon-only/include/vcpuset.h, you need to change line 74 from “asm/bitops.h” to “linux/bitops.h”.
## Re-compile the modules.
Just use sudo vmware-configure.pl to recompile the modules.
#Copy the libraries
ln -sf /lib/libgcc_s.so.1 /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1
ln -sf /usr/lib/libpng12.so.0 /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0
#Sometimes, if you have a problem to start vmware console, use this:
ln -s /usr/lib32 /usr/l32
sed -i -e 's/usr\/lib/usr\/l32/g' /usr/lib32/gtk-2.0/2.10.0/loader-files.d/libgtk2.0-0.loaders
sed -i -e 's/usr\/lib/usr\/l32/g' /usr/lib32/libgdk_pixbuf-2.0.so.0.1200.8
#For better perfomance add to /etc/sysctl.conf the following:
vm.swappiness = 0
vm.overcommit_memory = 1
vm.dirty_background_ratio = 5
vm.dirty_ratio = 10
vm.dirty_expire_centisecs = 1000
dev.rtc.max-user-freq = 1024
#If you have a lot of IO operations and cache in Linux is high. Use the script to drop the cache:
#!/bin/sh
free -m
sysctl -w vm.drop_caches=0
sync
sysctl -w vm.drop_caches=1
sysctl -w vm.drop_caches=2
sysctl -w vm.drop_caches=3
sysctl -w vm.drop_caches=0
free -m


No comments:
Post a Comment