国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

VCSA中l(wèi)inux系統(tǒng)虛擬機 (CentOS/RHEL最小化安裝版) 安裝 VMware Tools

這篇具有很好參考價值的文章主要介紹了VCSA中l(wèi)inux系統(tǒng)虛擬機 (CentOS/RHEL最小化安裝版) 安裝 VMware Tools。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點擊"舉報違法"按鈕提交疑問。

VCSA中l(wèi)inux系統(tǒng)虛擬機 (CentOS/RHEL最小化安裝版) 安裝 VMware Tools

一、簡介

# 在VCSA中創(chuàng)建完虛擬機后,創(chuàng)建的虛擬機默認是沒有安裝VMware Tools工具的。
本文以VCSA中部署的最小化安裝的CentOS 7虛擬機為例,詳細介紹了在VCSA中如何安裝VMware Tools工具。

二、進安裝VMware Tools前準備工作

1)在VCSA頁面中,點擊 “安裝VMware Tools”,如下圖所示

# 注意:執(zhí)行該步驟時,虛擬機要在開機的情況下才可以執(zhí)行成功

如何在centos7安裝vmware tool,linux,centos,vmware

2)點擊 “掛載”,如下圖所示

如何在centos7安裝vmware tool,linux,centos,vmware

3)在虛擬機的編輯設(shè)置中,查看CD/DVD驅(qū)動器中“VMware Tools”鏡像文件的狀態(tài)為“已連接”

如何在centos7安裝vmware tool,linux,centos,vmware

三、進入系統(tǒng)后的相關(guān)操作

1)驗證“VMware Tools”鏡像文件在系統(tǒng)內(nèi)部是否可以看到,創(chuàng)建掛載目錄,并掛載

# 1、在/dev/目錄下有cdrom
[root@localhost ~]# ll /dev/cdrom 
lrwxrwxrwx. 1 root root 3 913 22:07 /dev/cdrom -> sr0

# 2、創(chuàng)建掛載點
[root@localhost ~]# mkdir /mnt/cdrom

# 3、掛載“VMware Tools”鏡像文件
[root@localhost ~]# mount -t iso9660 /dev/cdrom /mnt/cdrom
mount: /dev/sr0 寫保護,將以只讀方式掛載

[root@localhost ~]# ll /mnt/cdrom/
總用量 56840
-r-xr-xr-x. 1 root root     1976 102 2019 manifest.txt
-r-xr-xr-x. 1 root root     4943 102 2019 run_upgrader.sh
-r--r--r--. 1 root root 56405224 102 2019 VMwareTools-10.3.21-14772444.tar.gz
-r-xr-xr-x. 1 root root   872044 102 2019 vmware-tools-upgrader-32
-r-xr-xr-x. 1 root root   918184 102 2019 vmware-tools-upgrader-64

2)拷貝“VMware Tools”鏡像文件中的tar包文件至家目錄,并解壓

# 拷貝“VMware Tools”安裝程序的tar包文件
[root@localhost ~]# cp /mnt/cdrom/VMwareTools-10.3.21-14772444.tar.gz ~
[root@localhost ~]# 
[root@localhost ~]# ls
anaconda-ks.cfg  VMwareTools-10.3.21-14772444.tar.gz

# 解壓tar包文件
[root@localhost ~]# tar zxvf VMwareTools-10.3.21-14772444.tar.gz 


# 進入解壓后的文件夾
[root@localhost ~]# ls
anaconda-ks.cfg  VMwareTools-10.3.21-14772444.tar.gz  vmware-tools-distrib
[root@localhost ~]# cd vmware-tools-distrib/
[root@localhost vmware-tools-distrib]#
[root@localhost vmware-tools-distrib]# ls
bin  caf  doc  etc  FILES  INSTALL  installer  lib  vgauth  vmware-install.pl
[root@localhost vmware-tools-distrib]# ll
總用量 380
drwxr-xr-x.  2 root root     84 102 2019 bin
drwxr-xr-x.  5 root root     36 102 2019 caf
drwxr-xr-x.  2 root root     64 102 2019 doc
drwxr-xr-x.  5 root root   4096 102 2019 etc
-rw-r--r--.  1 root root 146996 102 2019 FILES
-rw-r--r--.  1 root root   2538 102 2019 INSTALL
drwxr-xr-x.  2 root root     91 102 2019 installer
drwxr-xr-x. 14 root root   4096 102 2019 lib
drwxr-xr-x.  3 root root     20 102 2019 vgauth
-rwxr-xr-x.  1 root root 227024 102 2019 vmware-install.pl

3)執(zhí)行VMware Tools安裝 : 預(yù)置環(huán)境部署

# 前置條件:系統(tǒng)中需已安裝gcc,gcc++環(huán)境,若未安裝,需執(zhí)行以下命令
[root@localhost ~]# yum install -y gcc gcc*
執(zhí)行安裝程序時,報錯提示:/usr/bin/perl: 壞的解釋器: 沒有那個文件或目錄
[root@localhost vmware-tools-distrib]# ./vmware-install.pl                                                         
-bash: ./vmware-install.pl: /usr/bin/perl: 壞的解釋器: 沒有那個文件或目錄  
# 報錯原因為:沒有安裝perl環(huán)境,需手動安裝perl環(huán)境,執(zhí)行以下命令:
[root@localhost vmware-tools-distrib]# yum install -y perl

4)安裝VMware Tools可執(zhí)行文件:vmware-install.pl

[root@localhost vmware-tools-distrib]# ./vmware-install.pl 
open-vm-tools packages are available from the OS vendor and VMware recommends 
using open-vm-tools packages. See http://kb.vmware.com/kb/2073803 for more
information.
Do you still want to proceed with this installation? [no] yes			#  此處手動輸入yes,其他位置直接回車,選擇默認即可

INPUT: [yes]

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]

INPUT: [/usr/bin]  default

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

INPUT: [/etc/rc.d]  default

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

INPUT: [/etc/rc.d/init.d]  default

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

INPUT: [/usr/sbin]  default

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

INPUT: [/usr/lib/vmware-tools]  default

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]

INPUT: [yes]  default

In which directory do you want to install the common agent library files? 
[/usr/lib]

INPUT: [/usr/lib]  default

In which directory do you want to install the common agent transient files? 
[/var/lib]

INPUT: [/var/lib]  default

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

INPUT: [/usr/share/doc/vmware-tools]  default

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]

INPUT: [yes]  default

The installation of VMware Tools 10.3.21 build-14772444 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]

INPUT: [yes]  default

Initializing...


Making sure services for VMware Tools are stopped.

Stopping vmware-tools (via systemctl):  [  確定  ]


The module vmci has already been installed on this system by another installer 
or package and will not be modified by this installer.

The module vsock has already been installed on this system by another installer
or package and will not be modified by this installer.

The module vmxnet3 has already been installed on this system by another
installer or package and will not be modified by this installer.

The module pvscsi has already been installed on this system by another
installer or package and will not be modified by this installer.

The module vmmemctl has already been installed on this system by another
installer or package and will not be modified by this installer.

The VMware Host-Guest Filesystem allows for shared folders between the host OS 
and the guest OS in a Fusion or Workstation virtual environment.  Do you wish
to enable this feature? [no]

INPUT: [no]  default

The vmxnet driver is no longer supported on kernels 3.3 and greater. Please
upgrade to a newer virtual NIC. (e.g., vmxnet3 or e1000e)

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]

INPUT: [no]  default


Skipping configuring automatic kernel modules as no drivers were installed by
this installer.

Do you want to enable Guest Authentication (vgauth)? Enabling vgauth is needed 
if you want to enable Common Agent (caf). [yes]

INPUT: [yes]  default

Do you want to enable Common Agent (caf)? [no]

INPUT: [no]  default

No X install found.


Skipping rebuilding initrd boot image for kernel as no drivers to be included
in boot image were installed by this installer.

Generating the key and certificate files.
Successfully generated the key and certificate files.
manageSELinux install: The 'semanage' utility was not found.
There was an error configuring the SELinux security context for VMware Tools.
Please make certain that SELinux is configured correctly.

The configuration of VMware Tools 10.3.21 build-14772444 for Linux for this 
running kernel completed successfully.

You must restart your X session before any mouse or graphics changes take
effect.

To enable advanced X features (e.g., guest resolution fit, drag and drop, and
file and text copy/paste), you will need to do one (or more) of the following:
1. Manually start /usr/bin/vmware-user
2. Log out and log back into your desktop session
3. Restart your X session.

Found VMware Tools CDROM mounted at /mnt/cdrom. Ejecting device /dev/sr0 ...
Enjoy,

--the VMware team

[root@localhost vmware-tools-distrib]# 

四、安裝完成后,需卸載VMware Tools鏡像

如何在centos7安裝vmware tool,linux,centos,vmware

# 安裝完成后,需在命令行執(zhí)行以下命令卸載VMware Tools鏡像,釋放掛載的鏡像
[root@localhost vmware-tools-distrib]# umount /dev/cdrom 
umount: /dev/cdrom:未掛載

如何在centos7安裝vmware tool,linux,centos,vmware

至此,已完成在VCSA中對linux系統(tǒng)命令行版虛擬機VMware Tools工具的安裝。文章來源地址http://www.zghlxwxcb.cn/news/detail-792134.html

到了這里,關(guān)于VCSA中l(wèi)inux系統(tǒng)虛擬機 (CentOS/RHEL最小化安裝版) 安裝 VMware Tools的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實不符,請點擊違法舉報進行投訴反饋,一經(jīng)查實,立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費用

相關(guān)文章

  • C# 實現(xiàn)winform軟件最小化到系統(tǒng)托盤,開機自啟動

    ? 問題描述 ??用戶的電腦是win7系統(tǒng),應(yīng)用系統(tǒng)在用戶電腦上運行時部分功能需要訪問注冊表,但是使用這些功能時會提示用戶沒有權(quán)限訪問注冊表。 原因分析 ??win7及后續(xù)高版本系統(tǒng)對用戶的權(quán)限控制比較嚴,就算用戶的權(quán)限較高,但用戶啟動程序時默認還是以普通用

    2024年02月03日
    瀏覽(23)
  • 機器學(xué)習(xí)的學(xué)習(xí)準則(期望風(fēng)險最小化、經(jīng)驗風(fēng)險最小化、結(jié)構(gòu)風(fēng)險最小化)

    機器學(xué)習(xí)的學(xué)習(xí)準則(期望風(fēng)險最小化、經(jīng)驗風(fēng)險最小化、結(jié)構(gòu)風(fēng)險最小化)

    訓(xùn)練集是有N個獨立同分布的樣本組成,即每個樣本(x,y)是獨立的從相同的分布中抽取的。這個真實的分布未知 輸入空間X和輸出空間Y構(gòu)成樣本空間,對于樣本空間中的樣本(x, y)∈X x Y,假定x和y之間可通過一個未知的真實隱射y=g(x)來描述,或者通過真實條件概率分布來描述。

    2024年02月09日
    瀏覽(21)
  • DFA的最小化

    DFA的最小化

    一、實驗?zāi)康?1.熟練掌握DFA與NFA的定義與有關(guān)概念。 2.理解并掌握確定的有窮自動機的最小化等算法。 二、實驗要求 輸入:DFA 輸出:最小化的DFA 三、實驗過程 1.化簡DFA關(guān)鍵在于把它的狀態(tài)集分成一些兩兩互不相交的子集,使得任何兩個不相交的子集間的狀態(tài)都是可區(qū)分

    2024年02月09日
    瀏覽(29)
  • 最小化安裝移動云大云操作系統(tǒng)--BCLinux-for-Euler-22.10-everything-x86_64-230316版

    最小化安裝移動云大云操作系統(tǒng)--BCLinux-for-Euler-22.10-everything-x86_64-230316版

    CentOS 結(jié)束技術(shù)支持,轉(zhuǎn)為RHEL的前置stream版本后,國內(nèi)開源Linux服務(wù)器OS生態(tài)轉(zhuǎn)向了開源龍蜥和開源歐拉兩大開源社區(qū),對應(yīng)衍生出了一系列商用Linux服務(wù)器系統(tǒng)。BCLinux-for-Euler-22.10是中國移動基于開源歐拉操作系統(tǒng)22.03社區(qū)版本深度定制的企業(yè)級X86服務(wù)器通用版操作系統(tǒng)。本文

    2024年02月11日
    瀏覽(103)
  • LeetCode——最小化字符串長度

    LeetCode——最小化字符串長度

    目錄 一、題目 二、題目解讀? 三、代碼? 1、set去重 2、用一個二進制數(shù)記錄每個字母是否出現(xiàn)過 6462. 最小化字符串長度 - 力扣(Leetcode) 給你一個下標(biāo)從? 0 ?開始的字符串? s ?,重復(fù)執(zhí)行下述操作? 任意 ?次: 在字符串中選出一個下標(biāo)? i ?,并使? c ?為字符串下標(biāo)? i

    2024年02月08日
    瀏覽(91)
  • 捕獲最小化窗口的縮略圖畫面

    捕獲最小化窗口的縮略圖畫面

    : capture minimized window window thumbnail IsIconic? 最小化的窗口,API GetClientRect 返回的窗口尺寸是0x0,故無法通過GetDC+BitBlt捕獲到窗口畫面。 但是 Agora/zoom/tencentMeeting 都可以拿到最小化窗口的縮略圖。經(jīng)確認這個程序并沒有注入任何dll到目標(biāo)窗口,且也沒有臨時顯示最小化了

    2024年02月07日
    瀏覽(28)
  • QT最小化程序到托盤運行

    QT最小化程序到托盤運行

    實現(xiàn)程序關(guān)閉時最小化托盤的功能 托盤實現(xiàn)顯示主頁面和退出的功能 支持擴展,直接引用TrayIcon類即可,對外暴露接口 單例實現(xiàn),可復(fù)用 注:博主所有資源永久免費,若有幫助,請點贊轉(zhuǎn)發(fā)是對我莫大的幫助 注:博主本人學(xué)習(xí)過程的分享,引用他人的文章皆會標(biāo)注原作者

    2024年02月05日
    瀏覽(29)
  • Qt實現(xiàn)最小化窗口到托盤圖標(biāo)

    Qt實現(xiàn)最小化窗口到托盤圖標(biāo)

    目錄 前言: 1.先看效果圖 2.大致思路以及實現(xiàn)流程 3.具體代碼以及解釋 4.總結(jié) 使用QT開發(fā)桌面軟件,將軟件最小化至托盤這樣的功能的是比較常見的,今天自己實現(xiàn)一下這個功能,并進行記錄總結(jié)。 ?主要功能就是當(dāng)軟件開始運行, 在系統(tǒng)托盤會自動出現(xiàn)一個關(guān)于本軟件的

    2023年04月08日
    瀏覽(26)
  • unity發(fā)布設(shè)置(最小化、置頂、限制單開)

    unity發(fā)布設(shè)置(最小化、置頂、限制單開)

    1. 勾上下圖標(biāo)紅處,發(fā)布后可防止按windows鍵縮小 ?2.發(fā)布后程序默認最小化 3.發(fā)布的程序只能開一個進程

    2024年02月12日
    瀏覽(27)
  • leetcode 2616. 最小化數(shù)對的最大差值

    leetcode 2616. 最小化數(shù)對的最大差值

    在數(shù)組nums中找到p個數(shù)對,使差值絕對值的和最小。 思路: 最小差值應(yīng)該是數(shù)值相近的一對數(shù)之間產(chǎn)生,讓數(shù)值相近的數(shù)字盡量靠在一起方便計算,所以需要排序。 這里不去直接考慮一對對的數(shù)字,而是直接考慮差值的取值。 用binary search搜索一個差值。 左邊界是0,右邊界

    2024年02月13日
    瀏覽(34)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包