Installing VMware Tools in a Linux virtual machine using a Compiler (1018414)
来源:互联网 发布:淘宝销量代码 编辑:程序博客网 时间:2024/06/05 03:28
原始链接:http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1018414
Note: If your Linux distribution is not RPM-based, has a custom kernel, or is unsupported, use the steps below to compile VMware Tools, otherwise, seeInstalling VMware Tools in a Linux virtual machine using RPM (1018392).
To install VMware Tools in a Linux guest operating system using Compiler:
- Ensure that your Linux virtual machine is powered on.
- If you are running a GUI interface, open a command shell.
Note: Log in as a root user, or use the sudo command to complete each of these steps. - Click VM in the virtual machine menu, then click Guest > Install/Upgrade VMware Tools and clickOK.
- To create a mount point, run:
mkdir /mnt/cdrom - To mount the CDROM, run:
mount /dev/cdrom /mnt/cdrom - To copy the Compiler gzip tar file to a temporary local directory, run:
cp /mnt/cdrom/VMwareTools-version.tar.gz /tmp/
Where version is the VMware Tools package version. - To determine the version of VMware tools, run:
ls /mnt/cdrom
You see output similar to:
# VMwareTools-5.0.0-12124.tar.gz - To change to the tmp directory and extract the contents of the tar file into a new directory calledvmware-tools-distrib, run:
cd /tmp
tar -zxvf VMwareTools-version.tar.gz - To change directory tovmware-tools-distrib and run thevmware-install.pl PERL script to install VMware Tools, run:
cd vmware-tools-distrib
./vmware-install.pl
Notes:- Follow the screen prompts to install the VMware Tools. Options in square brackets are default choices and can be selected by pressingEnter.
- To compile VMware Tools successfully, you need gcc Compiler and Linux Kernel sources provided by your Linux distribution. Consult your Linux distribution documentation for details on how to install these packages.
- It is normal for the console screen to go blank for a short time during the installation when the display size changes.
- Some warnings or errors are normal, like when a files does not exist.
- Depending on the Linux distribution, your network service might restart after installation. VMware recommends that you invoke this command from the console and not remotely.
- If you are running a GUI interface, restart your X Window session for any mouse or graphics changes to take effect.
- To start VMware Tools running in the background during an X Window session, run:
/usr/bin/vmware-toolbox & - Depending on your environment you may need to unmount the CD-ROM. To unmount the CD-ROM, run:
umount /mnt/cdrom - Depending on your environment, you may need to manually end the VMware Tools installation. To end the VMware Tools install, clickVM in the virtual machine menu, then click Guest > End VMware Tools Install.
- To remove VMware Tools installation packages, run:
cd
rm /tmp/VMwareTools-version.tar.gz
rm -rf /tmp/vmware-tools-distrib
0 0
- Installing VMware Tools in a Linux virtual machine using a Compiler (1018414)
- Installing VMware Tools in a Linux Virtual Machine(VMware Tools的安装步骤)
- Common Tasks :Installing VMware Tools in a Virtual Machine
- 安装VMware Tools in a Linux Virtual Machine
- Using USB Devices in a Virtual Machine
- 在VMWare 中增加磁盘(Adding a new disk to a VMware Virtual Machine in Linux)
- Adding a new disk to a VMWare Virtual Machine in Linux
- Installing openssh-server on a virtual machine
- Using the SoftICE Debugger in a Virtual Machine
- Setting a MAC address for a virtual machine in VMware Fusion
- Create a new virtual machine in CentOS
- Installing VMware Tools in Ubuntu
- Cannot update VMware Tools correctly :the configuration program is to be executed in a virtual match
- Using VMware convert duplication phyical linux to virtual machine
- Install VMware Tools in a Solaris Guest
- Cloning a running Virtual Machine using the Service Console
- Installing VMware Tools in Fedora Core 6
- Implementing a virtual machine in C(虚拟机C语言实现)
- C语言中union与大小端模式的理解
- Balanced Binary Tree
- json预习与自学
- javascript简易日历
- [SDOI2009]晨跑
- Installing VMware Tools in a Linux virtual machine using a Compiler (1018414)
- 跟我一起写makefile二
- 跟我一起写makefile三
- 十一月总结
- 跟我一起写makefile四
- 练手小项目(5)安全卫士_利用内容提供者进行短信备份 修正版
- 跟我一起写makefile 五
- valgrind用法
- 这三天学到的设计模式