CentOS installation Vm-tools in VMware

Source: Internet
Author: User

View device information for a CD-ROM drive

There are several commands that you can use to view

DMESG command

/proc/sys/dev/cdrom/info file
cat /proc/sys/dev/cdrom/info

LSBLK command

List all block devices

Installing Vm-tools

From the menu, choose virtual Machines, reinstall VMware Tools, enter the CentOS terminal, and perform the above command to view the CD-ROM drive device information.

# 创建挂载目录mkdir /mnt/cdrom# 挂载mount /dev/sr0 /mnt/cdrom# 将光盘中的内容拷贝到主目录下mkdir ~/tmpcp /mnt/cdrom/* ~/tmp/# 解压cd ~/tmptar -xzvf VMwareTools-9.6.1-1378637.tar.gz# 安装cd vmware-tools-distrib./vmware-install.pl

Installation encountered the following error

Need to uninstall Open-vm-tools-desktop

rpm -e open-vm-tools-desktop

Uninstall after the installation, the installation process will have the following interaction, encountered the following two Interactive select No, other cases directly press ENTER

Searching for GCC...The path "" is not valid path to the gcc binary.Would you like to change it? [yes]  noSearching for a valid kernel header path...The path "" is not a valid path to the 3.10.0-123.el7.x86_64 kernel headers.Would you like to change it? [yes]  no
Configure shared Folders

After setting up the shared directory, you can view the shared directory in CentOS

The default share path for VMware is in /mnt/hgfs , which is written in the script of VMware Tools /etc/init.d/vmware-tools .

Reference
    • Linux: How to view device information for a dvd/cd-rom drive
    • Installing Vm-tools for Linux systems in VMware
    • CentOS 7 Settings folder sharing in VMware

CentOS installation Vm-tools in VMware

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.