Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Suggest HOWTO

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 27th May 2008, 20:59
Ken Lee Ken Lee is offline
Junior Member
 
Join Date: Aug 2007
Location: Castle Rock, Colorado
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ubuntu 8.04 Server LTS and VMware Server 1.06

I'd like to see a how to with a simple server install and VMware. Then I'd have a machine to test all of my virtual machines.

Since server doesn't install X, looking for an install that details just what is needed to be installed to get this setup up and running!

Last edited by Ken Lee; 2nd June 2008 at 17:23.
Reply With Quote
Sponsored Links
  #2  
Old 10th June 2008, 08:13
c4rdinal c4rdinal is offline
Member
 
Join Date: Mar 2008
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I tried to install VMware Server-1.06 on my Ubuntu 8.04 Server but went into several problems.

I install some packages needed during the installation.

#sudo apt-get install build-essential linux-headers-`uname -r`
# sudo aptitude install xinetd
# sudo aptitude install build-essential
# sudo aptitude install libxtst6
# sudo aptitude install libxt6
# sudo aptitude install libice6
# sudo aptitude install libsm6
# sudo aptitude install libxrender1
# sudo aptitude install libxi6

#./vmware-install.pl

Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmmon-only'
make -C /lib/modules/2.6.24-16-server/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-server'
CC [M] /tmp/vmware-config2/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config2/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-config2/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config2/vmmon-only/common/comport.o
CC [M] /tmp/vmware-config2/vmmon-only/common/cpuid.o
In file included from include/asm/bitops.h:2,
from /tmp/vmware-config2/vmmon-only/./include/vcpuset.h:74,
from /tmp/vmware-config2/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config2/vmmon-only/common/vmx86.h:19,
from /tmp/vmware-config2/vmmon-only/common/hostif.h:18,
from /tmp/vmware-config2/vmmon-only/common/cpuid.c:15:
include/asm/bitops_32.h:9:2: error: #error only <linux/bitops.h> can be included directly
make[2]: *** [/tmp/vmware-config2/vmmon-only/common/cpuid.o] Error 1
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-server'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.


Hope you can help me.
Reply With Quote
  #3  
Old 10th June 2008, 15:33
Ken Lee Ken Lee is offline
Junior Member
 
Join Date: Aug 2007
Location: Castle Rock, Colorado
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Copied from blog: http://eitchpress.eitchnet.ch/?p=13


VMWare 6 and Ubuntu Hardy: vmmon compile error

Just a quick post to documentate how I got my VMWare config to work:

Problem: include/asm/bitops_32.h:9:2: error: #error only <linux/bitops.h> can be included directly, and vmmon-only compile failes

Solution: change line 74 in vmmon-only source file to read: #include “linux/bitops.h”

Steps:

1. cd /usr/lib/vmware/modules/source
2. cp vmmon.tar vmmon.tar.orig
3. sudo tar xvf vmmon.tar
4. cd vmmon-only/include/
5. sudo vi vcpuset.h
6. change line 74 from: #include “asm/bitops.h” to: #include “linux/bitops.h”
7. rm vmmon.tar
8. sudo tar cvf vmmon.tar vmmon-only/
9. sudo rm -rf vmmon-only/
10. sudo vmware-config.pl

That’s it, the compile will work now and vmware should be usable as normal
eitch

Hope that solves your compile problem! Ken
Reply With Quote
  #4  
Old 10th June 2008, 16:03
haimari1 haimari1 is offline
Junior Member
 
Join Date: Jan 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default VMware Server On Ubuntu 8.04 Mini-Howto

i hope this will help you, it worked for me when i upgraded my kubuntu

http://scripts-net.com/viewtopic.php?f=17&t=20
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VMware and Ubuntu - problem with sound. kokpelli HOWTO-Related Questions 1 19th January 2007 09:56
VMWare and Ubuntu - problems with new kernel kokpelli HOWTO-Related Questions 2 19th January 2007 09:47
Couple of questions about Ubuntu Vmware install kokpelli Installation/Configuration 3 27th December 2006 13:57
Error when following How To Install VMware Server On Ubuntu 6.06 LTS (Dapper Drake) - somas1 HOWTO-Related Questions 7 20th August 2006 14:07


All times are GMT +2. The time now is 18:28.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.