Записки Админа

Записки, Freebsd, cisco,Eltex

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

Очень полезная вещь. Когда очень много машин, помогает.

Для корректного отображения информации о гостевой ОС необходимо установить VMware Tools. Для установки VMware Tools необходимо присутствие следующих портов Perl  и Compat6.x .

cd /usr/ports/misc/compat6x/
 make install clean

1) Создаем временную директорию

mkdir vmwaretools
cd vmwaretools/

2) Монтируем CD-ROM

mount -t cd9660 /dev/cd0 /media

3) Копируем архив VMware Tools в эту директорию
cp /media/vmware-freebsd-tools.tar.gz .
/media/vmware-freebsd-tools.tar.gz -> ./vmware-freebsd-tools.tar.gz

4) Разархивируем
tar xvf vmware-freebsd-tools.tar.gz

5) Запускаем скрипт установки VMware Tools
./vmware-install.pl

6) Скрипт установки задает вопросы, на которые даем утвердительные ответы, соглашаясь на предложенные варианты. 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/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 ...

7) После этого в клиенте видим, что VMware Tools работают

Комментирование закрыто.