Заметки о работе с ОС FreeBSD. Статьи об установке и настройке ПО для FreeBSD.

18 июля 2013 г.

Установка VMware Tools на FreeBSD 9

Для установки VMware Tools на FreeBSD 9 необходим Perl и compat6.x

[root@srv250test ~]# cd /usr/ports/misc/compat6x
[root@srv250test /usr/ports/misc/compat6x]# make install clean

В vSphere Client выбираем "Install/Upgrade VMware Tools"


Монтируем виртуальный CD
[root@srv250test ~]# mount -t cd9660 /dev/cd0 /media

Копируем архив VMware tools в любой каталог (предварительно создав его)
[root@srv250test ~]# mkdir /root/vmwaretools && cp /media/vmware-freebsd-tools.tar.gz /root/vmwaretools

Распаковываем
[root@srv250test ~]# cd /root/vmwaretools && tar xvf vmware-freebsd-tools.tar.gz

Запускаем установщик
[root@srv250test /root/vmwaretools]# ./vmware-install.pl

Скрипт установки задает вопросы, на которые даем утвердительные ответы, соглашаясь на предложенные варианты.

Installing VMware Tools.
In which directory do you want to install the binary files?
 [/usr/local/bin]
In which directory do you want to install the startup script?
 [/usr/local/etc/rc.d]
In which directory do you want to install the daemon files?
 [/usr/local/sbin]
In which directory do you want to install the library files?
 [/usr/local/lib/vmware-tools]
The path "/usr/local/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/local/share/doc/vmware-tools]
The path "/usr/local/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 9.0.5 build-1065307 for FreeBSD completed
 successfully. You can decide to remove this software from your system at any
 time by invoking the following command:
 "/usr/local/bin/vmware-uninstall-tools.pl".
Before running VMware Tools for the first time, you need to configure it by
 invoking the following command: "/usr/local/bin/vmware-config-tools.pl". Do you
 want this program to invoke the command for you now? [yes]
Initializing...
Making sure services for VMware Tools are stopped.
Stopping VMware Tools services in the virtual machine:
 Guest operating system daemon:                                      done
The vmblock enables dragging or copying files between host and guest in a
 Fusion or Workstation virtual environment.  Do you wish to enable this feature?
 [no]
No X install found.
Starting VMware Tools services in the virtual machine:
 Switching to guest configuration:                                   done
 Guest memory manager:                                               done
 Guest operating system daemon:                                      done
 For the VMware Tools for FreeBSD 9.1 it is recommended that you install the
 following packages:
xf86-video-vmware
 xf86-input-vmmouse
The easiest way to install these packages is by using pkg_add utility.  Refer
 to the man pages on how to properly use this utility.
The configuration of VMware Tools 9.0.5 build-1065307 for FreeBSD for this
 running kernel completed successfully.
You must restart your X session before any mouse or graphics changes take
 effect.
You can now run VMware Tools by invoking "/usr/local/bin/vmware-toolbox-cmd"
 from the command line.
Please remember to configure your network by adding:
 ifconfig_vxn0="dhcp"
 to the /etc/rc.conf file and start the network with:
 /etc/netstart
 to use the vmxnet interface using DHCP.
Enjoy,
--the VMware team
Found VMware Tools CDROM mounted at /media. Ejecting device /dev/cd0 ...

После этого в vSphere client видим, что VMware Tools работают:

Комментариев нет: