導航:首頁 > 編程系統 > vmlinux安裝tools

vmlinux安裝tools

發布時間:2025-03-01 17:31:20

㈠ 【知識雜談#1】linux如何安裝net-tools和sbin配置PATH

在Linux上安裝net-tools的步驟取決於你所使用的Linux發行版。首先,確認你所用的發行版。例如,對於基於Debian的系統(如Ubuntu、Linux Mint等),可以通過命令行執行:

sudo apt-get update

sudo apt-get install net-tools

對於基於RHEL的系統(如Fedora、CentOS等),可以使用:

sudo dnf install net-tools

若你使用的是基於Arch的系統(如Arch Linux、Manjaro等),則執行:

sudo pacman -S net-tools

請注意,net-tools在某些現代Linux發行版中已被棄用。對於這些系統,推薦使用iproute2作為替代。安裝iproute2的命令如下:

基於Debian系統:

sudo apt-get install iproute2

基於RHEL系統:

sudo dnf install iproute2

基於Arch系統:

sudo pacman -S iproute2

在Linux系統中,配置PATH環境變數以添加sbin路徑,可以確保在命令行中能直接訪問sbin目錄下的可執行文件。假設你的sbin目錄位於/opt目錄下,可以按照以下步驟進行配置:

首先,打開或創建一個名為.bashrc的文件:

nano ~/.bashrc

然後,在文件中添加以下行以包含sbin路徑:

export PATH=$PATH:/opt/sbin

保存並關閉文件。使修改生效,運行:

source ~/.bashrc

現在,你可以在命令行中直接使用sbin目錄下的所有可執行文件。

㈡ Linux安裝vmtools

1、首先打開虛擬機的菜單欄,點擊虛擬機菜單,選擇安裝VMware tools。

㈢ 紅帽linux 9怎麼安裝vmware tools

選擇菜單欄「虛復擬機」——制「安裝VMware tools」 ,等待系統自動更換ISO光碟
mount /dev/cdrom /mnt
cd /mnt
tar zxvf VMwareTools-9.6.0-1294478.tar.gz -C /root/(安裝到的目錄)
cd /root/
cd vmware-tools-distrib/
./vmware-install.pl
一路回車,完成後重啟系統。

看截圖,設置載入的是windows.iso,並不是默認的linux.iso!

㈣ linux虛擬機怎麼安裝vmware tools

Linux VMware Tools安裝步驟簡易版

Linux VMware Tools安裝估計有點困難,我也在網上看了好多版本的Linux安裝VMware Tools,方法都一樣。但是自己在安裝過程中,還是遇到了點問題。但是最終還是搞定。我運行的是VMware workstation 8.0.4 , OS: CentOS 6.0
1. 在CD-ROM虛擬光碟機中選擇使用ISO鏡像,找到VMWARE TOOLS 安裝文件,如C:\program\VMware\VMware Workstation\Programs\linux.iso
當然這個ISO是你安裝VMware workstation 的目錄下的Linux.iso,不是你的Linux OS 鏡像文件。VMware Tools一般都在這個文件里。
2. 以管理員身份進入Linux,root賬號
3. 退出到windows,在虛擬機菜單欄中點擊 虛擬機-> 安裝 VMWARE TOOLS 子菜單,會彈出對話框,點擊"確認" 安裝
4. 掛載光碟機:Mount -t iso9660 /dev/cdrom /mnt
載入CDROM設備,這是如果進入/mnt 目錄下,你會發現一個文件:
VMwareTools-8.8.4-743747.tar.gz
這個就死VMware Tools的Linux軟體包,也是我們剛才使用的WinISO打開的Liunx.ISO
有的虛擬機上估計執行mount /dev/cdrom /mnt/cdrom
如果提示如下錯誤,掛載點不存在。,[root@localhost /]#mount /dev/cdrom /mnt/cdrom
mount: mount point /mnt/cdrom dose not exist
請直接執行此命令:
mount /dev/cdrom /opt
cd /opt
或者應該可以使用自動掛載,直接進入
cd /misc/cd
5. 此文件到臨時文件夾
cp /mnt/mVMwareTools-8.8.4-743747.tar.gz /tmp
6. 卸載CDROM,執行 umount /dev/cdrom
7. 進入tmp文件目錄並解壓此文件包
cd /tmp
tar zxf vmware-linux-tools.tar.gz
解壓默認到vmware-tools-distrib目錄下:此時你可以使用ls -ll 查看文件夾下的文件
8. 進入vmware-tools-distrib,安裝vmware tools.
./vmware-install.pl 執行安裝,
安裝過程中他會一步一步的有問題回應,此過程中,你遇到後面顯示[yes],[no],[yes][no]的直接輸入yes,然後回車。其他的問題不管[]裡面是什麼,直接回車就好了,不要輸入。
9. 大約5分鍾左右安裝完成。 執行init 6重啟ok。

Linux VMware Tools安裝步驟圖文版,大家可以參考下

展台搭建 機器視覺系統 windows7旗艦版 電腦重裝系統 arm9開發板 科比球鞋 機器視覺

虛擬機 製作網頁 網頁製作模板 展台搭建 科比球鞋 電腦系統重裝 windows7旗艦版

虛擬機 網站開發 安德瑪籃球鞋 展台搭建 網站設計 網站設計公司 html5網頁模板

網站開發 安卓軟體開發 電腦裝win7系統 ios編程入門 蘋果刷機 外置顯卡 現在做什麼賺錢

html5網站 u盤安裝系統 html5模板 單片機 電腦重裝系統 女裝免費代理 展台搭建

近視眼恢復 恢復刪除文件 二合一平板電腦 u盤安裝系統 平板電腦排行榜 jordan 電話呼叫系統

操作過程如下:
[root@localhost ~]# cd /
[root@localhost /]# ls
bin dev home lost+found misc net proc sbin srv tftpboot usr
boot etc lib media mnt opt root selinux sys tmp var
[root@localhost /]# cd /media
[root@localhost media]# ls
VMware Tools
[root@localhost media]# cd VMware\ Tools/
[root@localhost VMware Tools]# ls
manifest.txt VMwareTools-8.1.3-203739.tar.gz
[root@localhost VMware Tools]# cp VMwareTools-8.1.3-203739.tar.gz /tmp
[root@localhost VMware Tools]# cd /tmp
[root@localhost tmp]# ls
gconfd-root scim-helper-manager-socket-root
keyring-lbbFvv scim-panel-socket:0-root
mapping-root scim-socket-frontend-root
orbit-root ssh-FmnVlj2751
scim-bridge-0.3.0.lockfile-0@localhost:0.0 virtual-root.ZxmHUV
scim-bridge-0.3.0.socket-0@localhost:0.0 VMwareTools-8.1.3-203739.tar.gz
[root@localhost tmp]# tar -zxf VMwareTools-8.1.3-203739.tar.gz
[root@localhost tmp]# ls
gconfd-root scim-panel-socket:0-root
keyring-lbbFvv scim-socket-frontend-root
mapping-root ssh-FmnVlj2751
orbit-root virtual-root.ZxmHUV
scim-bridge-0.3.0.lockfile-0@localhost:0.0 VMwareTools-8.1.3-203739.tar.gz
scim-bridge-0.3.0.socket-0@localhost:0.0 vmware-tools-distrib
scim-helper-manager-socket-root
[root@localhost tmp]# cd vmware-tools-distrib/
[root@localhost vmware-tools-distrib]# ls
bin doc etc FILES INSTALL installer lib vmware-install.pl
[root@localhost vmware-tools-distrib]# ./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] yes

The path "yes" 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/rc.d]

What is the directory that contains the init scripts?
[/etc/rc.d/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]

yes

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]
The path "yes" is a relative path. Please enter an absolute path.

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 8.1.3 build-203739 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: [確定]
Virtual Printing daemon: [確定]
Unmounting HGFS shares: [確定]
Guest filesystem driver: [確定]

Found a compatible pre-built mole for vmmemctl. Installing it...

Found a compatible pre-built mole for vmhgfs. Installing it...

Found a compatible pre-built mole for vmxnet. Installing it...

Found a compatible pre-built mole for vmblock. Installing it...

[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]

Found a compatible pre-built mole for vmci. Installing it...

Found a compatible pre-built mole for vsock. Installing it...

Found a compatible pre-built mole for vmxnet3. Installing it...

Found a compatible pre-built mole for pvscsi. Installing it...

Detected X.org version 7.1.

Host resolution detected as "1440 x 900".

Please choose one of the following display sizes that X will start with:

[1] "320x200"
[2] "320x240"
[3] "400x300"
[4] "512x384"
[5] "640x400"
[6] "640x480"
[7] "720x480"
[8] "800x480"
[9] "854x480"
[10] "720x576"
[11] "800x600"
[12] "1024x768"
[13] "1280x720"
[14] "1280x768"
[15] "1152x864"
[16] "1280x800"
[17]< "1366x768"
Please enter a number between 1 and 17:

[17] 12

X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.18-128.1.16.el5 i686 Red Hat, Inc.
Current Operating System: Linux localhost.localdomain 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:54 EDT 2009 i686
Build Date: 22 July 2009
Build ID: xorg-x11-server 1.1.1-48.67.el5
Before reporting problems, check
to make sure that you have the latest version.
Mole Loader present
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.16172", Time: Thu Apr 1 02:40:28 2011
(++) Using config file: "/tmp/vmware-config0/XF86Config.16172"
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Multiple symbols for level 1/group 1 on key
> Using XF86Sleep, ignoring XF86Standby
> Warning: Symbol map for key redefined
> Using last definition for conflicting fields
Errors from xkbcomp are not fatal to the X server

X is running fine with the new config file.

FreeFontPath: FPE "unix/:7100" refcount is 2, should be 1; fixing.
Creating a new initrd boot image for the kernel.
Starting VMware Tools services in the virtual machine:
Switching to guest configuration: [確定]
Paravirtual SCSI mole: [確定]
Guest filesystem driver: [確定]
Mounting HGFS shares: [失敗]
Guest memory manager: [確定]
Guest vmxnet fast network device: [確定]
VM communication interface: [確定]
VM communication interface socket family: [確定]
Blocking file system: [確定]
File system sync driver: [確定]
Guest operating system daemon: [確定]
Virtual Printing daemon: [確定]

The configuration of VMware Tools 8.1.3 build-203739 for Linux 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 the following command:
"/usr/bin/vmware-toolbox" ring an X server session.

To enable advanced X features (e.g., guest resolution fit, drag and drop, and
file and text /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; and,
3. Restart your X session.

To use the vmxnet driver, restart networking using the following commands:
/etc/init.d/network stop
rmmod pcnet32
rmmod vmxnet
modprobe vmxnet
/etc/init.d/network start

Enjoy,

--the VMware team

Found VMware Tools CDROM mounted at /media/VMware Tools. Ejecting device
/dev/hdc ...
[root@localhost vmware-tools-distrib]#

㈤ 怎樣在虛擬機linux操作系統中安裝vmtools

在虛擬機Linux安裝 VMware tools 工具的方法如下:

  1. 首先需要以root的身份登錄計算機,如圖:

閱讀全文

與vmlinux安裝tools相關的資料

熱點內容
信豐營銷app有哪些 瀏覽:463
蘋果文件下載項如何下載 瀏覽:179
ps摳婚紗教程 瀏覽:203
如何在移動硬碟上隱藏文件夾 瀏覽:451
瑞虎8老車機怎麼刷app 瀏覽:992
學ui設計要學java嗎 瀏覽:275
淘寶票房數據源怎麼調整 瀏覽:470
iphone5s升級ios卡黑屏 瀏覽:622
u盤沒用的文件刪不了怎麼辦 瀏覽:561
文件夾解鎖工具 瀏覽:528
creo如何減小stp文件大小 瀏覽:857
法那科英制螺紋數控怎麼編程 瀏覽:430
戀舞最新升級獎勵表 瀏覽:149
四川語音交友戀愛app有哪些 瀏覽:528
iphone6美國賣多少 瀏覽:887
圓弧刀東槽如何編程 瀏覽:870
js怎麼單擊改變標簽里的文字 瀏覽:760
實例配置文件里的sid是什麼 瀏覽:43
ps文件模糊 瀏覽:192
葉檀財經推出過什麼購物APP 瀏覽:875

友情鏈接