topic:vmware_tools_centos
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
topic:vmware_tools_centos [2017/08/01 22:07] – created k | topic:vmware_tools_centos [2021/08/12 08:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Установка VMware Tools на Centos6 ===== | ===== Установка VMware Tools на Centos6 ===== | ||
- | 1. Подключаемся к хосту | + | **1. Подключаем к ВМ образ с VMware Tools.**\\ |
+ | Подключаемся | ||
+ | После запуска ВМ кликаем правой кнопкой мыши по: **ВМ** -> **Guest** -> **Install/ | ||
- | 2. Подключаем к ВМ образ с vmwaretools.\\ | + | ---- |
- | Правой кнопкой мыши по **ВМ** | + | |
- | 3. Монтируем cdrom с ранее | + | **2. Монтируем cdrom с подключенным образом |
< | < | ||
- | root@flow2 ~]# mount /dev/cdrom /mnt | + | [root@flow2 ~]# mount /dev/cdrom /mnt |
mount: block device /dev/sr0 is write-protected, | mount: block device /dev/sr0 is write-protected, | ||
[root@flow2 ~]# ll /mnt/ | [root@flow2 ~]# ll /mnt/ | ||
Line 19: | Line 20: | ||
</ | </ | ||
- | 4. Копируем и распаковываем архив. | + | ---- |
+ | |||
+ | **3. Копируем и распаковываем архив.** | ||
< | < | ||
[root@flow2 ~]# mkdir -p /root/src | [root@flow2 ~]# mkdir -p /root/src | ||
Line 34: | Line 37: | ||
</ | </ | ||
- | + | < | |
- | < | + | |
< | < | ||
[root@flow2 src]# tar -zxvf VMwareTools-9.4.10-2068191.tar.gz | [root@flow2 src]# tar -zxvf VMwareTools-9.4.10-2068191.tar.gz | ||
Line 3856: | Line 3858: | ||
</ | </ | ||
</ | </ | ||
- | + | \\ | |
- | root@sbc2 ~ | + | |
- | # mkdir vmtool | + | |
- | root@sbc2 ~ | + | < |
- | # cd vmtool/ | + | [root@flow2 src]# ll |
+ | total 61552 | ||
+ | -r--r--r--. 1 root root 63024310 Июл | ||
+ | drwxr-xr-x. 7 root root 4096 Авг 23 2014 vmware-tools-distrib | ||
+ | </code> | ||
- | root@sbc2 vmtool | + | ---- |
- | # tar zxpf / | + | |
- | root@sbc2 vmtool | + | **4. Ставим Perl.**\\ |
- | # ll | + | Проверяем установлен ли perl в системе, |
- | total 4 | + | < |
- | drwxr-xr-x 7 root root 4096 Aug 22 2014 vmware-tools-distrib | + | [root@flow2 |
+ | Loaded plugins: fastestmirror | ||
+ | ... | ||
+ | Dependencies Resolved | ||
- | root@sbc2 vmtool | + | ====================================================================================================================================================== |
- | # cd vmware-tools-distrib/ | + | |
- | root@sbc2 vmware-tools-distrib | + | ====================================================================================================================================================== |
- | # ll | + | Installing: |
+ | | ||
+ | Installing for dependencies: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | Transaction Summary | ||
+ | ====================================================================================================================================================== | ||
+ | Install | ||
+ | |||
+ | Total download size: 11 M | ||
+ | Installed size: 30 M | ||
+ | Is this ok [y/N]: y | ||
+ | ... | ||
+ | Installed: | ||
+ | perl.i686 4: | ||
+ | |||
+ | Dependency Installed: | ||
+ | perl-Module-Pluggable.i686 1: | ||
+ | perl-version.i686 3: | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | **5. Начинаем ставить VMware Tools.**\\ | ||
+ | В директории **vmware-tools-distrib** лежит perl-скрипт **vmware-install.pl** который надо запустить. | ||
+ | < | ||
+ | [root@flow2 src]# cd vmware-tools-distrib/ | ||
+ | [root@flow2 vmware-tools-distrib]# ll | ||
total 480 | total 480 | ||
- | drwxr-xr-x | + | drwxr-xr-x. 2 root root |
- | drwxr-xr-x | + | drwxr-xr-x. 2 root root |
- | drwxr-xr-x | + | drwxr-xr-x. 5 root root |
- | -rw-r--r-- | + | -rw-r--r--. 1 root root 265487 |
- | -rw-r--r-- | + | -rw-r--r--. 1 root root |
- | drwxr-xr-x | + | drwxr-xr-x. 2 root root |
- | drwxr-xr-x 14 root root | + | drwxr-xr-x. 14 root root |
- | -rwxr-xr-x | + | -rwxr-xr-x. 1 root root 197302 |
+ | </ | ||
- | 5. Ставим. | + | На все вопросы отвечаем по дефолnу, просто жмем |
- | root@sbc2 vmware-tools-distrib | + | < |
- | # ./ | + | [root@flow2 vmware-tools-distrib]# ./ |
+ | 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] | ||
+ | ... | ||
+ | </ | ||
+ | |||
+ | <hidden Полный процесс установки VMware Tools> | ||
+ | < | ||
+ | [root@flow2 vmware-tools-distrib]# ./ | ||
Creating a new VMware Tools installer database using the tar4 format. | Creating a new VMware Tools installer database using the tar4 format. | ||
Line 3927: | Line 3977: | ||
Initializing... | Initializing... | ||
+ | |||
Making sure services for VMware Tools are stopped. | Making sure services for VMware Tools are stopped. | ||
+ | |||
+ | |||
Found a compatible pre-built module for vmci. Installing it... | Found a compatible pre-built module for vmci. Installing it... | ||
Line 3934: | Line 3987: | ||
Found a compatible pre-built module for vsock. | Found a compatible pre-built module for vsock. | ||
+ | |||
The module vmxnet3 has already been installed on this system by another | The module vmxnet3 has already been installed on this system by another | ||
Line 3955: | Line 4009: | ||
Found a compatible pre-built module for vmxnet. | Found a compatible pre-built module for vmxnet. | ||
+ | |||
The vmblock enables dragging or copying files between host and guest in a | The vmblock enables dragging or copying files between host and guest in a | ||
Line 3971: | Line 4026: | ||
Creating a new initrd boot image for the kernel. | Creating a new initrd boot image for the kernel. | ||
- | |||
vmware-tools start/ | vmware-tools start/ | ||
The configuration of VMware Tools 9.4.10 build-2068191 for Linux for this | The configuration of VMware Tools 9.4.10 build-2068191 for Linux for this | ||
Line 3991: | Line 4045: | ||
--the VMware team | --the VMware team | ||
+ | |||
+ | Found VMware Tools CDROM mounted at /mnt. Ejecting device /dev/sr0 ... | ||
+ | No eject (or equivilant) command could be located. | ||
+ | Eject Failed: | ||
+ | cdrom mounted at /mnt before canceling tools install on the host. | ||
+ | [root@flow2 vmware-tools-distrib]# | ||
+ | </ | ||
+ | </ | ||
+ | \\ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | **6. Перегружаем сервер.** | ||
+ | < | ||
+ | [root@flow2 vmware-tools-distrib]# | ||
+ | |||
+ | Broadcast message from root@flow2.company.name | ||
+ | (/ | ||
+ | |||
+ | The system is going down for reboot NOW! | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | Все. | ||
+ | |||
+ | {{tag> | ||
topic/vmware_tools_centos.1501614446.txt.gz · Last modified: (external edit)