Konuyu görüntüle
IUCODERS FORUM > İşletim Sistemleri & Donanım & Network > UNIX,LINUX > VMWare Altındaki Linux'a VMWare Tools Kurulumu
Yazar
burakkanmaz


avatar
Gaziantep
Kayıt: 02.10.2006
11.10.2009-20:19 #63835
Sistem programlama dersinde bir arkadaş bu konuda bahsetmişti. Fakat o sırada bir hata oluşmuştu. Bende VMWare Tools'u kurmak isteyenler için burada kısaca anlatmak istiyorum.


##########################################################

1) Linux'u açın ve aşağıdaki resimdeki gibi üst kısımdan Install VMWare Tools'u seçin.




##########################################################

2) Masaüstünde çıkacak olan CD-ROM'u açın ve aşağıdaki resimdeki işlemleri sırasıyla uygulayın. CD-ROM içerisinde 1 numaralı dosyayı çift tıklayarak açın. Daha sonra Places menüsünden Home Folder'ı açın. Daha sonra az önce açtığınız dosyanın içerisinde bulunan 2 numaralı klasörü sürükleyerek Home Folder içerisine atın.




##########################################################

3) Daha sonra aşağıdaki resimdeki gibi Terminal penceresini açın.




##########################################################

4) Şimdi bu pencerede aşağıdaki resimde de gördüğünüz komutları sırasıyla yazın. (her satır sonunda enter'a basın)
sudo -s (bu komut sonrasında şifre sorabilir, sorduğu zaman şifrenizi girin ve enter'a basın)
cd vmware-tools-distrib
./vmware-install.pl





##########################################################

5) Şimdi işlem sırasında size sorulan soruların sonunda [yes] var ise "y" yazıp, eğer yok ise direk ENTER'a basarak devam edin. Bayağı fazla soracağı için okumadan yapabilirsiniz.




##########################################################

6) İşlemlerin sonunda ekranınız bir defa kararacak ve donanımsal olarak hazır olacak. İşlem bittiği zaman tekrar konsola sizi bıraktığı zaman Linux'u yeniden başlatın.


##########################################################

Artık VMWare Tools'u kullanabileceksiniz. VMWare Tools nedir derseniz; gerçek makineniz ile sanal makineniz arasında sürükle bırak ile dosya kopyalamanıza imkan sağlayan, mouse geçişlerini otomatik yapan, sanal makinenin penceresini boyutlandırdığınızda sanaldaki çözünürlüğü otomatik değiştiren ve bir çok kullanım kolaylığı sunan bir araçtır. Ayrıca Linux'u tam ekran kullanmanıza da imkan verir.

Sorun yaşayan arkadaşlar, tekrar adım adım dikkatlice okuyarak denesinler. Eğer yine olmazsa buradan sorabilirler.





Yazar
fenerista


avatar
Istanbul
Kayıt: 27.11.2006
11.10.2009-22:22 #63839
Pardus 2009 da yapmadığım şey kalmadı yav. Kurdum tam son hamle de yine hata çıktı

 


Arkadaşlar biraz araştırdıkan sonra pardus a vmware kurulumu için gerekli programları falan kurdum yaptıklarım :

mkdir rc0.d to rc06.d(rc0 dan rc6 ya boş klasörüler kadar etc/de var artık)
pisi it make
pisi it gcc

ve
kernel headers dosyalarınıda pisi den kurdum.

kurulum bittikten sonra vmware i açarken sorunlar oluştu kurulumn esnasında terminaldeki yazıları kopyalıyorum:

Baron-pardus Vmware # ./vmware-install.pl
Creating a new VMware Tools installer database using the tar4 format.

Installing VMware Tools.

In which directory do you want to install the binary files?
[/usr/bin] e

The path "e" is a relative path. Please enter an absolute path.

In which directory do you want to install the binary files?
[/usr/bin]

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc]

What is the directory that contains the init scripts?
[/etc/init.d]

In which directory do you want to install the daemon files?
[/usr/sbin]

In which directory do you want to install the library files?
[/usr/lib/vmware-tools]

The path "/usr/lib/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]

The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes]

The installation of VMware Tools 7.8.6 build-185404 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes]


Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: done
Virtual Printing daemon: done
None of the pre-built vmmemctl modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmmemctl module
for your system (you need to have a C compiler installed on your system)?
[yes]

Setup is unable to find the "make" program on your machine. Please make sure
it is installed. Do you want to specify the location of this program by hand?
[yes]

What is the location of the "make" program on your
machine?

The answer "" is invalid. It must be the complete name of a binary file.

What is the location of the "make" program on your
machine? usr/bin

The answer "usr/bin" is invalid. It must be the complete name of a binary
file.

What is the location of the "make" program on your
machine? /usr/bin/make

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? [/usr/src/linux/include] /usr/include

The header files in /usr/include are generally for C libraries, not for the
running kernel. If you do not have kernel header files in your /usr/src
directory, you probably do not have the kernel-source package installed. Are
you sure that /usr/include contains the header files associated with your
running kernel? [no]

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

The path "/usr/src/linux/include" is not an existing directory.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/src/linux-headers-2.6.30.1-123/include

Extracting the sources of the vmmemctl module.

Building the vmmemctl module.

Using 2.6.x kernel build system.
make: `/tmp/vmware-config0/vmmemctl-only' dizine giriliyor
make -C /usr/src/linux-headers-2.6.30.1-123/include/.. SUBDIRS=$PWD SRCROOT=$PWD/.
MODULEBUILDDIR= modules
make[1]:`/usr/src/linux-headers-2.6.30.1-123' dizinine giriliyor
CC [M] /tmp/vmware-config0/vmmemctl-only/backdoorGcc32.o
CC [M] /tmp/vmware-config0/vmmemctl-only/os.o
CC [M] /tmp/vmware-config0/vmmemctl-only/vmballoon.o
LD [M] /tmp/vmware-config0/vmmemctl-only/vmmemctl.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/vmware-config0/vmmemctl-only/vmmemctl.mod.o
LD [M] /tmp/vmware-config0/vmmemctl-only/vmmemctl.ko
make[1]: `/usr/src/linux-headers-2.6.30.1-123' dizininden çıkılıyor
make -C $PWD SRCROOT=$PWD/.
MODULEBUILDDIR= postbuild
make[1]:`/tmp/vmware-config0/vmmemctl-only' dizinine giriliyor
make[1]: `postbuild' güncel
make[1]: `/tmp/vmware-config0/vmmemctl-only' dizininden çıkılıyor
cp -f vmmemctl.ko ./../vmmemctl.o
make: `/tmp/vmware-config0/vmmemctl-only' dizininden çıkılıyor
The vmmemctl module loads perfectly into the running kernel.

None of the pre-built vmhgfs modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmhgfs module for
your system (you need to have a C compiler installed on your system)? [yes]

Extracting the sources of the vmhgfs module.

Building the vmhgfs module.

Using 2.6.x kernel build system.
make: `/tmp/vmware-config0/vmhgfs-only' dizine giriliyor
make -C /usr/src/linux-headers-2.6.30.1-123/include/.. SUBDIRS=$PWD SRCROOT=$PWD/.
MODULEBUILDDIR= modules
make[1]:`/usr/src/linux-headers-2.6.30.1-123' dizinine giriliyor
CC [M] /tmp/vmware-config0/vmhgfs-only/backdoor.o
CC [M] /tmp/vmware-config0/vmhgfs-only/backdoorGcc32.o
CC [M] /tmp/vmware-config0/vmhgfs-only/bdhandler.o
CC [M] /tmp/vmware-config0/vmhgfs-only/cpName.o
CC [M] /tmp/vmware-config0/vmhgfs-only/cpNameLinux.o
CC [M] /tmp/vmware-config0/vmhgfs-only/cpNameLite.o
CC [M] /tmp/vmware-config0/vmhgfs-only/dentry.o
CC [M] /tmp/vmware-config0/vmhgfs-only/dir.o
CC [M] /tmp/vmware-config0/vmhgfs-only/file.o
CC [M] /tmp/vmware-config0/vmhgfs-only/filesystem.o
CC [M] /tmp/vmware-config0/vmhgfs-only/fsutil.o
CC [M] /tmp/vmware-config0/vmhgfs-only/hgfsBd.o
CC [M] /tmp/vmware-config0/vmhgfs-only/hgfsEscapeLinux.o
CC [M] /tmp/vmware-config0/vmhgfs-only/hgfsUtil.o
CC [M] /tmp/vmware-config0/vmhgfs-only/inode.o
CC [M] /tmp/vmware-config0/vmhgfs-only/kernelStubsLinux.o
CC [M] /tmp/vmware-config0/vmhgfs-only/link.o
CC [M] /tmp/vmware-config0/vmhgfs-only/messageBackdoor.o
CC [M] /tmp/vmware-config0/vmhgfs-only/message.o
CC [M] /tmp/vmware-config0/vmhgfs-only/module.o
CC [M] /tmp/vmware-config0/vmhgfs-only/page.o
/tmp/vmware-config0/vmhgfs-only/page.c: In function 'HgfsDoWriteBegin':
/tmp/vmware-config0/vmhgfs-only/page.c:764: warning: ISO C90 forbids mixed declarations and code

*** 0 errors, 1 warnings
CC [M] /tmp/vmware-config0/vmhgfs-only/request.o
CC [M] /tmp/vmware-config0/vmhgfs-only/rpcout.o
CC [M] /tmp/vmware-config0/vmhgfs-only/staticEscape.o
CC [M] /tmp/vmware-config0/vmhgfs-only/stubs.o
CC [M] /tmp/vmware-config0/vmhgfs-only/super.o
LD [M] /tmp/vmware-config0/vmhgfs-only/vmhgfs.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/vmware-config0/vmhgfs-only/vmhgfs.mod.o
LD [M] /tmp/vmware-config0/vmhgfs-only/vmhgfs.ko
make[1]: `/usr/src/linux-headers-2.6.30.1-123' dizininden çıkılıyor
make -C $PWD SRCROOT=$PWD/.
MODULEBUILDDIR= postbuild
make[1]:`/tmp/vmware-config0/vmhgfs-only' dizinine giriliyor
make[1]: `postbuild' güncel
make[1]: `/tmp/vmware-config0/vmhgfs-only' dizininden çıkılıyor
cp -f vmhgfs.ko ./../vmhgfs.o
make: `/tmp/vmware-config0/vmhgfs-only' dizininden çıkılıyor
The vmhgfs module loads perfectly into the running kernel.

None of the pre-built vmxnet modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmxnet module for
your system (you need to have a C compiler installed on your system)? [yes]

Extracting the sources of the vmxnet module.

Building the vmxnet module.

Using 2.6.x kernel build system.
make: `/tmp/vmware-config0/vmxnet-only' dizine giriliyor
make -C /usr/src/linux-headers-2.6.30.1-123/include/.. SUBDIRS=$PWD SRCROOT=$PWD/.
MODULEBUILDDIR= modules
make[1]:`/usr/src/linux-headers-2.6.30.1-123' dizinine giriliyor
CC [M] /tmp/vmware-config0/vmxnet-only/vmxnet.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/vmware-config0/vmxnet-only/vmxnet.mod.o
LD [M] /tmp/vmware-config0/vmxnet-only/vmxnet.ko
make[1]: `/usr/src/linux-headers-2.6.30.1-123' dizininden çıkılıyor
make -C $PWD SRCROOT=$PWD/.
MODULEBUILDDIR= postbuild
make[1]:`/tmp/vmware-config0/vmxnet-only' dizinine giriliyor
make[1]: `postbuild' güncel
make[1]: `/tmp/vmware-config0/vmxnet-only' dizininden çıkılıyor
cp -f vmxnet.ko ./../vmxnet.o
make: `/tmp/vmware-config0/vmxnet-only' dizininden çıkılıyor
The vmxnet module loads perfectly into the running kernel.

None of the pre-built vmblock modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmblock module
for your system (you need to have a C compiler installed on your system)?
[yes]

Extracting the sources of the vmblock module.

Building the vmblock module.

Using 2.6.x kernel build system.
make: `/tmp/vmware-config0/vmblock-only' dizine giriliyor
make -C /usr/src/linux-headers-2.6.30.1-123/include/.. SUBDIRS=$PWD SRCROOT=$PWD/.
MODULEBUILDDIR= modules
make[1]:`/usr/src/linux-headers-2.6.30.1-123' dizinine giriliyor
CC [M] /tmp/vmware-config0/vmblock-only/linux/block.o
CC [M] /tmp/vmware-config0/vmblock-only/linux/control.o
CC [M] /tmp/vmware-config0/vmblock-only/linux/dbllnklst.o
CC [M] /tmp/vmware-config0/vmblock-only/linux/dentry.o
CC [M] /tmp/vmware-config0/vmblock-only/linux/file.o
CC [M] /tmp/vmware-config0/vmblock-only/linux/filesystem.o
CC [M] /tmp/vmware-config0/vmblock-only/linux/inode.o
CC [M] /tmp/vmware-config0/vmblock-only/linux/module.o
CC [M] /tmp/vmware-config0/vmblock-only/linux/stubs.o
CC [M] /tmp/vmware-config0/vmblock-only/linux/super.o
LD [M] /tmp/vmware-config0/vmblock-only/vmblock.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/vmware-config0/vmblock-only/vmblock.mod.o
LD [M] /tmp/vmware-config0/vmblock-only/vmblock.ko
make[1]: `/usr/src/linux-headers-2.6.30.1-123' dizininden çıkılıyor
make -C $PWD SRCROOT=$PWD/.
MODULEBUILDDIR= postbuild
make[1]:`/tmp/vmware-config0/vmblock-only' dizinine giriliyor
make[1]: `postbuild' güncel
make[1]: `/tmp/vmware-config0/vmblock-only' dizininden çıkılıyor
cp -f vmblock.ko ./../vmblock.o
make: `/tmp/vmware-config0/vmblock-only' dizininden çıkılıyor
The vmblock module loads perfectly into the running kernel.

[EXPERIMENTAL] The VMware FileSystem Sync Driver (vmsync) is a new feature that
creates backups of virtual machines. Please refer to the VMware Knowledge Base
for more details on this capability. Do you wish to enable this feature?
[no]

None of the pre-built vmci modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmci module for
your system (you need to have a C compiler installed on your system)? [yes]

Extracting the sources of the vmci module.

Building the vmci module.

Using 2.6.x kernel build system.
make: `/tmp/vmware-config0/vmci-only' dizine giriliyor
make -C /usr/src/linux-headers-2.6.30.1-123/include/.. SUBDIRS=$PWD SRCROOT=$PWD/.
MODULEBUILDDIR= modules
make[1]:`/usr/src/linux-headers-2.6.30.1-123' dizinine giriliyor
CC [M] /tmp/vmware-config0/vmci-only/kernelStubsLinux.o
CC [M] /tmp/vmware-config0/vmci-only/vmciDatagram.o
CC [M] /tmp/vmware-config0/vmci-only/vmci_drv.o
CC [M] /tmp/vmware-config0/vmci-only/vmciEvent.o
CC [M] /tmp/vmware-config0/vmci-only/vmciGuestDs.o
CC [M] /tmp/vmware-config0/vmci-only/vmciGuestKernelIf.o
CC [M] /tmp/vmware-config0/vmci-only/vmciKernelIf.o
CC [M] /tmp/vmware-config0/vmci-only/vmciProcess.o
CC [M] /tmp/vmware-config0/vmci-only/vmciQueuePair.o
CC [M] /tmp/vmware-config0/vmci-only/vmciUtil.o
LD [M] /tmp/vmware-config0/vmci-only/vmci.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/vmware-config0/vmci-only/vmci.mod.o
LD [M] /tmp/vmware-config0/vmci-only/vmci.ko
make[1]: `/usr/src/linux-headers-2.6.30.1-123' dizininden çıkılıyor
make -C $PWD SRCROOT=$PWD/.
MODULEBUILDDIR= postbuild
make[1]:`/tmp/vmware-config0/vmci-only' dizinine giriliyor
make[1]: `postbuild' güncel
make[1]: `/tmp/vmware-config0/vmci-only' dizininden çıkılıyor
cp -f vmci.ko ./../vmci.o
make: `/tmp/vmware-config0/vmci-only' dizininden çıkılıyor
The vmci module loads perfectly into the running kernel.

None of the pre-built vsock modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vsock module for
your system (you need to have a C compiler installed on your system)? [yes]

Extracting the sources of the vsock module.

Building the vsock module.

Using 2.6.x kernel build system.
make: `/tmp/vmware-config1/vsock-only' dizine giriliyor
make -C /usr/src/linux-headers-2.6.30.1-123/include/.. SUBDIRS=$PWD SRCROOT=$PWD/.
MODULEBUILDDIR= modules
make[1]:`/usr/src/linux-headers-2.6.30.1-123' dizinine giriliyor
CC [M] /tmp/vmware-config1/vsock-only/linux/af_vsock.o
CC [M] /tmp/vmware-config1/vsock-only/linux/driverLog.o
CC [M] /tmp/vmware-config1/vsock-only/linux/util.o
CC [M] /tmp/vmware-config1/vsock-only/linux/vsockAddr.o
LD [M] /tmp/vmware-config1/vsock-only/vsock.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/vmware-config1/vsock-only/vsock.mod.o
LD [M] /tmp/vmware-config1/vsock-only/vsock.ko
make[1]: `/usr/src/linux-headers-2.6.30.1-123' dizininden çıkılıyor
make -C $PWD SRCROOT=$PWD/.
MODULEBUILDDIR= postbuild
make[1]:`/tmp/vmware-config1/vsock-only' dizinine giriliyor
make[1]: `postbuild' güncel
make[1]: `/tmp/vmware-config1/vsock-only' dizininden çıkılıyor
cp -f vsock.ko ./../vsock.o
make: `/tmp/vmware-config1/vsock-only' dizininden çıkılıyor
The vsock module loads perfectly into the running kernel.

//Olay burada başlıyor bundan sonra hatalar var

Detected X.org version 7.5.2.

The file /usr/lib/hal/hal-probe-vmmouse that this program was about to install
already exists. Overwrite? [yes]

The file /usr/share/hal/fdi/policy/20thirdparty/11-x11-vmmouse.fdi that this
program was about to install already exists. Overwrite? [yes]

grep: /etc/fedora-release: Böyle bir dosya ya da dizin yok
grep: /etc/SuSE-release: Böyle bir dosya ya da dizin yok
Could not locate hal daemon init script.
Checked: /etc/init.d/haldaemon and /etc/init.d/hal

X.Org X Server 1.6.2
Release Date: 2009-7-7
X Protocol Version 11, Revision 0
Build Operating System: Pardus TÃœBÄ°TAK, UEKAE
Current Operating System: Linux Baron-pardus 2.6.30.1-123 #1 SMP Fri Jul 17 10:19:14 EEST 2009 i686
Build Date: 08 July 2009 08:55:25AM
Package: xorg-server-1.6.2-60
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/vmware-config0/XF86ConfigLog.2494", Time: Sun Oct 11 01:19:38 2009
(++) Using config file: "/etc/X11/xorg.conf"
[dix] Could not init font path element catalogue:/etc/X11/fontpath.d, removing from list!

X is running fine with the new config file.

The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
> Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
> Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
> Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
Checking acpi hot plug done
Starting VMware Tools services in the virtual machine:
Switching to guest configuration: done
Guest filesystem driver: done
Mounting HGFS shares: failed
Guest memory manager: done
Guest vmxnet fast network device: done
VM communication interface: done
VM communication interface socket family: failed
Blocking file system: done
Guest operating system daemon: done
Virtual Printing daemon: done
Unable to start services for VMware Tools

Execution aborted.

Found VMware Tools CDROM mounted at /media/VMware Tools. Ejecting device
/dev/sr0 ...






Oktay,
Thk you!





Yazar
burakkanmaz


avatar
Gaziantep
Kayıt: 02.10.2006
11.10.2009-23:20 #63840
fenerista yazdi
 
...


Bunu Pardus'un kendi community ve forumlarında iletsene Pardus'u yazanlara. Hem soruna cevap alırsın bizzat Pardus'u yazanlardan, hem de eğer sorunluysa sorunun düzelmesine katkıda bulunursun.





Yazar
fenerista


avatar
Istanbul
Kayıt: 27.11.2006
12.10.2009-00:58 #63842
burakkanmaz yazdi
 
fenerista yazdi
 
...


Bunu Pardus'un kendi community ve forumlarında iletsene Pardus'u yazanlara. Hem soruna cevap alırsın bizzat Pardus'u yazanlardan, hem de eğer sorunluysa sorunun düzelmesine katkıda bulunursun.


http://forum.pardus-linux.org/viewtopic.php?f=336&t=20671&p=146609#p146609

Zaten pardus forumuna yazdığımı burada sordum. Bir dileğin kabul oldubiggrin





Oktay,
Thk you!





Del.icio.us
Digg
Facebook
Furl
Google
Blink
Simpy
Spurl
Y! MyWeb