版權說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權,請進行舉報或認領
文檔簡介
1、vmware workstation 下 ubuntu 11.04安裝vmware tools小結(jié) vmware workstation 下 ubuntu 11.04安裝vmware tools小結(jié) vmware workstation 下 ubuntu 11.04安裝vmware tools小結(jié) ubuntu開啟root用戶及其它登錄問題的解決 ubuntu安裝后,root用戶默認是被鎖定了的,不允許登錄,也不允許“su”到 root。有人說這是個不好的實踐,特殊是對于服務器來說。我覺得對于桌面用戶來說,這樣平安性更高一些,是應當?shù)?;但對于服務器可以設置成“允許 su 到root,但不允許r
2、oot用戶直接登錄”。而我為了開發(fā)時的便利,則在桌面和服務器上都采納這種方式。 允許 su 到 root 特別簡潔,下面是設置的方法: metipfoo:$ sudopasswd password: - 輸入安裝時那個用戶的密碼 enter new unix password: - 新的root用戶密碼 retype new unix password: - 重復新的root用戶密碼 passwd:已勝利更新密碼 允許root登錄 假如要允許root登錄(不推舉),則這樣操作: metipfoo:$ gksu /usr/sbin/gdmsetup (或者使用桌面菜單:系統(tǒng)系統(tǒng)管理登錄窗口) 點
3、“平安”選項頁,選擇“允許本地管理員登錄”。 注:這一步依靠上一步 不輸入密碼直接登錄 在論壇上也觀察有人埋怨,家中的ubuntu不能像window$那樣不用輸入密碼就能登錄。其實同樣能做到: 就在上一步的“平安”選項頁中,勾選: “啟用自動登錄”,“用戶”選擇(如:“me”); 留意:公共用的計算機千萬不能這么設置! ssh登錄遠程服務器 假如遠程服務器只允許root用戶ssh到服務器時,在ubuntu下,必需“su 到root”用戶才能登錄勝利(詳細是看服務器端的配置)。 首先,復制密鑰到“/root/.ssh/”名目, metipfoo:$ su password: roottipfoo
4、:/home/me# chmod 600 -r /root/.ssh/ vmware workstation 下 ubuntu 11.04安裝vmware tools小結(jié) roottipfoo:/home/me# ssh -p 27482 11.22.33.44 enter passphrase for key '/root/.ssh/id_rsa': last login: thu jun 21 14:29:00 2021 from 11.22.33.45 安裝vmware tools: 1、點擊“虛擬機 - 安裝vmware tools”,雙擊桌面上消失的光盤圖標,右擊“
5、.tar.gz”后綴文件將其解壓縮桌面上。 2、打開“終端”,運行su命令后輸入密碼獵取root用戶權限,依次執(zhí)行下面的命令(留意這里版本號可能有所不同,可以在終端中執(zhí)行uname -r查看當前內(nèi)核版本): cd /usr/src/linux-headers-2.6.35-22-generic/include cp -p generated/utsrelease.hlinux/utsrelease.h cp -p generated/autoconf.hlinux/autoconf.h 3、在終端中進入桌面的解壓縮名目(以自己的實際分區(qū)名目為基準): cd /home/june/桌面/vmwa
6、re-tools-distrib 然后執(zhí)行: sudo ./vmware-install.pl(留意 / 前有一個 . ) 4、然后剩下的就沒什么了,跟以前的基本全都,一路回車,始終到提示選擇辨別率,再到提示“enjoy, the vmware team”就好了。最終就是在“首選項 - 啟動應用程序”里把vmware-toolbox添加進去就可以了。 簡化的過程: cccc-virtual-machine:$ sudopasswd sudo password for cc: 輸入新的 unix 密碼: 重新輸入新的 unix 密碼: passwd:已勝利更新密碼 cccc-virtual-ma
7、chine:$ su root 密碼: rootcc-virtual-machine:# cd /home/cc/桌面/vmware-tools-distrib rootcc-virtual-machine:/home/cc/桌面/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 b
8、inary files? /usr/bin vmware workstation 下 ubuntu 11.04安裝vmware tools小結(jié) what is the directory that contains the init directories (rc0.d/ to rc6.d/)? /etc what is the directory that contains the init scripts? /etc/init.d in which directory do you want to install the daemon files? /usr/sbin in which d
9、irectory 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 in which directory do you want to install the documentation files? /us
10、r/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.4.6 build-385536 for linux completed successfully. you can decide to remove t
11、his 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
12、 for you now? yes initializing. making sure services for vmware tools are stopped. the module vmmemctl has already been installed on this system by another installer or package and will not be modified by this installer. use the flag -clobber-kernel-modules=vmmemctl to override. vmware workstation 下
13、 ubuntu 11.04安裝vmware tools小結(jié) before you can compile modules, you need to have the following installed. make gcc kernel headers of the running kernel searching for gcc. detected gcc binary at /usr/bin/gcc. the path /usr/bin/gcc appears to be a valid path to the gcc binary. would you like to change i
14、t? no searching for a valid kernel header path. detected the kernel headers of the running kernel at /lib/modules/2.6.38-8-generic/build/include. the path /lib/modules/2.6.38-8-generic/build/include appears to be a valid path to the kernel headers of the running kernel. would you like to change it?
15、no using 2.6.x kernel build system. make:進入名目'/tmp/vmware-root/modules/vmhgfs-only' make -c /lib/modules/2.6.38-8-generic/build/include/. subdirs=$pwd srcroot=$pwd/. modulebuilddir= modules make1: 正在進入名目 /usr/src/linux-headers-2.6.38-8-generic' cc m /tmp/vmware-root/modules/vmhgfs-only/b
16、ackdoor.o cc m /tmp/vmware-root/modules/vmhgfs-only/backdoorgcc32.o cc m /tmp/vmware-root/modules/vmhgfs-only/bdhandler.o cc m /tmp/vmware-root/modules/vmhgfs-only/cpname.o cc m /tmp/vmware-root/modules/vmhgfs-only/cpnamelinux.o cc m /tmp/vmware-root/modules/vmhgfs-only/cpnamelite.o cc m /tmp/vmware
17、-root/modules/vmhgfs-only/dentry.o cc m /tmp/vmware-root/modules/vmhgfs-only/dir.o cc m /tmp/vmware-root/modules/vmhgfs-only/file.o cc m /tmp/vmware-root/modules/vmhgfs-only/filesystem.o cc m /tmp/vmware-root/modules/vmhgfs-only/fsutil.o cc m /tmp/vmware-root/modules/vmhgfs-only/hgfsbd.o cc m /tmp/v
18、mware-root/modules/vmhgfs-only/hgfsescape.o cc m /tmp/vmware-root/modules/vmhgfs-only/hgfsutil.o cc m /tmp/vmware-root/modules/vmhgfs-only/inode.o /tmp/vmware-root/modules/vmhgfs-only/inode.c:159:4: warning: initialization from incompatible pointer type /tmp/vmware-root/modules/vmhgfs-only/inode.c:1
19、73:4: warning: initialization from incompatible pointer type vmware workstation 下 ubuntu 11.04安裝vmware tools小結(jié) /tmp/vmware-root/modules/vmhgfs-only/inode.c: in function hgfspermission: /tmp/vmware-root/modules/vmhgfs-only/inode.c:1867:10: warning: passing argument 1 of atomic_read from incompatible
20、pointer type /usr/src/linux-headers-2.6.38-8-generic/arch/x86/include/asm/atomic.h:23:19: note: expected conststructatomic_t * but argument is of type unsigned int * cc m /tmp/vmware-root/modules/vmhgfs-only/kernelstubslinux.o cc m /tmp/vmware-root/modules/vmhgfs-only/link.o cc m /tmp/vmware-root/mo
21、dules/vmhgfs-only/message.o cc m /tmp/vmware-root/modules/vmhgfs-only/messagebackdoor.o cc m /tmp/vmware-root/modules/vmhgfs-only/module.o cc m /tmp/vmware-root/modules/vmhgfs-only/page.o cc m /tmp/vmware-root/modules/vmhgfs-only/request.o cc m /tmp/vmware-root/modules/vmhgfs-only/rpcout.o cc m /tmp
22、/vmware-root/modules/vmhgfs-only/stubs.o cc m /tmp/vmware-root/modules/vmhgfs-only/super.o cc m /tmp/vmware-root/modules/vmhgfs-only/tcp.o cc m /tmp/vmware-root/modules/vmhgfs-only/transport.o ld m /tmp/vmware-root/modules/vmhgfs-only/vmhgfs.o building modules, stage 2. modpost 1 modules cc /tmp/vmw
23、are-root/modules/vmhgfs-only/vmhgfs.mod.o ld m /tmp/vmware-root/modules/vmhgfs-only/vmhgfs.ko make1:正在離開名目 /usr/src/linux-headers-2.6.38-8-generic' make -c $pwd srcroot=$pwd/. modulebuilddir= postbuild make1: 正在進入名目 /tmp/vmware-root/modules/vmhgfs-only' make1: “postbuild”是最新的。 make1:正在離開名目 /
24、tmp/vmware-root/modules/vmhgfs-only' cp -f vmhgfs.ko ././vmhgfs.o make:離開名目“/tmp/vmware-root/modules/vmhgfs-only” using 2.6.x kernel build system. make:進入名目'/tmp/vmware-root/modules/vmxnet-only' make -c /lib/modules/2.6.38-8-generic/build/include/. subdirs=$pwd srcroot=$pwd/. modulebuild
25、dir= modules make1: 正在進入名目 /usr/src/linux-headers-2.6.38-8-generic' cc m /tmp/vmware-root/modules/vmxnet-only/vmxnet.o building modules, stage 2. modpost 1 modules cc /tmp/vmware-root/modules/vmxnet-only/vmxnet.mod.o ld m /tmp/vmware-root/modules/vmxnet-only/vmxnet.ko make1:正在離開名目 /usr/src/linux
26、-headers-2.6.38-8-generic' make -c $pwd srcroot=$pwd/. vmware workstation 下 ubuntu 11.04安裝vmware tools小結(jié) modulebuilddir= postbuild make1: 正在進入名目 /tmp/vmware-root/modules/vmxnet-only' make1: “postbuild”是最新的。 make1:正在離開名目 /tmp/vmware-root/modules/vmxnet-only' cp -f vmxnet.ko ././vmxnet.o m
27、ake:離開名目“/tmp/vmware-root/modules/vmxnet-only” using 2.6.x kernel build system. make:進入名目'/tmp/vmware-root/modules/vmblock-only' make -c /lib/modules/2.6.38-8-generic/build/include/. subdirs=$pwd srcroot=$pwd/. modulebuilddir= modules make1: 正在進入名目 /usr/src/linux-headers-2.6.38-8-generic'
28、; cc m /tmp/vmware-root/modules/vmblock-only/linux/block.o cc m /tmp/vmware-root/modules/vmblock-only/linux/control.o cc m /tmp/vmware-root/modules/vmblock-only/linux/dbllnklst.o cc m /tmp/vmware-root/modules/vmblock-only/linux/dentry.o cc m /tmp/vmware-root/modules/vmblock-only/linux/file.o cc m /t
29、mp/vmware-root/modules/vmblock-only/linux/filesystem.o cc m /tmp/vmware-root/modules/vmblock-only/linux/inode.o cc m /tmp/vmware-root/modules/vmblock-only/linux/module.o cc m /tmp/vmware-root/modules/vmblock-only/linux/stubs.o cc m /tmp/vmware-root/modules/vmblock-only/linux/super.o ld m /tmp/vmware
30、-root/modules/vmblock-only/vmblock.o building modules, stage 2. modpost 1 modules cc /tmp/vmware-root/modules/vmblock-only/vmblock.mod.o ld m /tmp/vmware-root/modules/vmblock-only/vmblock.ko make1:正在離開名目 /usr/src/linux-headers-2.6.38-8-generic' make -c $pwd srcroot=$pwd/. modulebuilddir= postbui
31、ld make1: 正在進入名目 /tmp/vmware-root/modules/vmblock-only' make1: “postbuild”是最新的。 make1:正在離開名目 /tmp/vmware-root/modules/vmblock-only' cp -f vmblock.ko ././vmblock.o make:離開名目“/tmp/vmware-root/modules/vmblock-only” using 2.6.x kernel build system. make:進入名目'/tmp/vmware-root/modules/vmci-onl
32、y' make -c /lib/modules/2.6.38-8-generic/build/include/. subdirs=$pwd srcroot=$pwd/. modulebuilddir= modules make1: 正在進入名目 /usr/src/linux-headers-2.6.38-8-generic' cc m /tmp/vmware-root/modules/vmci-only/kernelstubslinux.o vmware workstation 下 ubuntu 11.04安裝vmware tools小結(jié) cc m /tmp/vmware-ro
33、ot/modules/vmci-only/vmcidatagram.o cc m /tmp/vmware-root/modules/vmci-only/vmcievent.o cc m /tmp/vmware-root/modules/vmci-only/vmciguestds.o cc m /tmp/vmware-root/modules/vmci-only/vmciguestkernelif.o cc m /tmp/vmware-root/modules/vmci-only/vmcikernelif.o cc m /tmp/vmware-root/modules/vmci-only/vmc
34、iprocess.o cc m /tmp/vmware-root/modules/vmci-only/vmciqueuepair.o cc m /tmp/vmware-root/modules/vmci-only/vmciutil.o cc m /tmp/vmware-root/modules/vmci-only/vmci_drv.o ld m /tmp/vmware-root/modules/vmci-only/vmci.o building modules, stage 2. modpost 1 modules cc /tmp/vmware-root/modules/vmci-only/v
35、mci.mod.o ld m /tmp/vmware-root/modules/vmci-only/vmci.ko make1:正在離開名目 /usr/src/linux-headers-2.6.38-8-generic' make -c $pwd srcroot=$pwd/. modulebuilddir= postbuild make1: 正在進入名目 /tmp/vmware-root/modules/vmci-only' make1: “postbuild”是最新的。 make1:正在離開名目 /tmp/vmware-root/modules/vmci-only'
36、 cp -f vmci.ko ././vmci.o make:離開名目“/tmp/vmware-root/modules/vmci-only” using 2.6.x kernel build system. make:進入名目'/tmp/vmware-root/modules/vmci-only' make -c /lib/modules/2.6.38-8-generic/build/include/. subdirs=$pwd srcroot=$pwd/. modulebuilddir= modules make1: 正在進入名目 /usr/src/linux-header
37、s-2.6.38-8-generic' cc m /tmp/vmware-root/modules/vmci-only/kernelstubslinux.o cc m /tmp/vmware-root/modules/vmci-only/vmcidatagram.o cc m /tmp/vmware-root/modules/vmci-only/vmcievent.o cc m /tmp/vmware-root/modules/vmci-only/vmciguestds.o cc m /tmp/vmware-root/modules/vmci-only/vmciguestkerneli
38、f.o cc m /tmp/vmware-root/modules/vmci-only/vmcikernelif.o cc m /tmp/vmware-root/modules/vmci-only/vmciprocess.o cc m /tmp/vmware-root/modules/vmci-only/vmciqueuepair.o cc m /tmp/vmware-root/modules/vmci-only/vmciutil.o cc m /tmp/vmware-root/modules/vmci-only/vmci_drv.o ld m /tmp/vmware-root/modules
39、/vmci-only/vmci.o building modules, stage 2. modpost 1 modules cc /tmp/vmware-root/modules/vmci-only/vmci.mod.o ld m /tmp/vmware-root/modules/vmci-only/vmci.ko vmware workstation 下 ubuntu 11.04安裝vmware tools小結(jié) make1:正在離開名目 /usr/src/linux-headers-2.6.38-8-generic' make -c $pwd srcroot=$pwd/. modu
40、lebuilddir= postbuild make1: 正在進入名目 /tmp/vmware-root/modules/vmci-only' make1: “postbuild”是最新的。 make1:正在離開名目 /tmp/vmware-root/modules/vmci-only' cp -f vmci.ko ././vmci.o make:離開名目“/tmp/vmware-root/modules/vmci-only” using 2.6.x kernel build system. make:進入名目'/tmp/vmware-root/modules/vsoc
41、k-only' make -c /lib/modules/2.6.38-8-generic/build/include/. subdirs=$pwd srcroot=$pwd/. modulebuilddir= modules make1: 正在進入名目 /usr/src/linux-headers-2.6.38-8-generic' cc m /tmp/vmware-root/modules/vsock-only/linux/af_vsock.o cc m /tmp/vmware-root/modules/vsock-only/linux/notify.o cc m /tmp
42、/vmware-root/modules/vsock-only/linux/stats.o cc m /tmp/vmware-root/modules/vsock-only/linux/util.o cc m /tmp/vmware-root/modules/vsock-only/linux/vsockaddr.o cc m /tmp/vmware-root/modules/vsock-only/driverlog.o ld m /tmp/vmware-root/modules/vsock-only/vsock.o building modules, stage 2. modpost 1 mo
43、dules cc /tmp/vmware-root/modules/vsock-only/vsock.mod.o ld m /tmp/vmware-root/modules/vsock-only/vsock.ko make1:正在離開名目 /usr/src/linux-headers-2.6.38-8-generic' make -c $pwd srcroot=$pwd/. modulebuilddir= postbuild make1: 正在進入名目 /tmp/vmware-root/modules/vsock-only' make1: “postbuild”是最新的。 ma
44、ke1:正在離開名目 /tmp/vmware-root/modules/vsock-only' cp -f vsock.ko ././vsock.o make:離開名目“/tmp/vmware-root/modules/vsock-only” the module vmxnet3 has already been installed on this system by another installer or package and will not be modified by this installer. use the flag -clobber-kernel-modules=vmxnet3 to override. the module pvscsi has already been i
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- GB/T 15896-2024化學試劑甲酸
- 卸船行業(yè)營銷策略方案
- 電視發(fā)射器項目營銷計劃書
- 電照明裝置項目營銷計劃書
- 砂紙卷市場分析及投資價值研究報告
- 磁性編碼器產(chǎn)品供應鏈分析
- 壓力水箱產(chǎn)品供應鏈分析
- 襯衫式外套項目運營指導方案
- 化妝品用散沫花產(chǎn)品供應鏈分析
- 上衣產(chǎn)品供應鏈分析
- 財務會計學中國人民大學商學院會計系戴德明
- 第五章 第1講 開普勒三定律與萬有引力定律-2025高三總復習 物理(新高考)
- 新質(zhì)生產(chǎn)力賦能職業(yè)教育高質(zhì)量發(fā)展
- 學習動機的干預策略研究
- 2024年云南省中考英語試卷附答案
- 2024年保育員考試題庫加解析答案
- 語文 職業(yè)模塊語文綜合實踐教學課件(講好勞模故事 學習勞模精神)
- 醫(yī)院疏散逃生講解
- 【短視頻平臺商品營銷策略探究:以抖音為例8800字(論文)】
- 2024年保險考試-車險查勘定損員筆試參考題庫含答案
- 國企市場化轉(zhuǎn)型方案
評論
0/150
提交評論