CentOS6.8 and 7 cannot be installed directly after installation Vmtools problem

Source: Internet
Author: User

The problem occurs in the background :

Recently because the study needs to use CentoS-6.8 and CentOS-7 system, so the minimum installation system after the installation of Vmtools, but unexpectedly error, error content as follows

./vmware-install.plbash:./vmware-install.pl:/usr/bin/perl:bad interpreter:no such file or directory.

This is what the ghost, the most rookie of my first look at the eyes of the Meng, never happened before, how this time there was an accident?

So the internet to find the problem lies.

Problem Search and Resolution:

A very useful solution was found after a short search.

http://www.2cto.com/os/201111/112284.html Minimum installation CentOS6 Vmware-tools installation considerations

The discovery of this content makes me vaguely feel the problem.

The article mentions that this problem is due to the lack of Perl support, the above error is that in the/usr/bin/perl can not find the support for Perl. So I started installing Perl.

Yum Groupinstall "Perl support"

Some configuration of the local source is also required before entering the above command

First delete the file under/ETC/YUM.REPOS.D (currently I do not know why to delete just know this can solve the problem)

Then create the/etc/yum.repos.d/centos-media file and configure it

[Name] A name that is easy to recognize Name=name ibid. baseurl= will point the local source to the path that needs to be created beforehand and hang the local source on it gpgcheck=0 gpg, 0 means no self-test, 1 means Self-Test. I chose not to self-Test enabled=1 1 table turned on, 0 table closed. Because we are going to use local source so set to 1

The above work is ready to be installed in Perl support.

When the Perl installation is complete, the Vmtools can be installed properly.

Problem solving.

Follow-up thinking about the problem:

Because the previous installation of the 6.x version of Redhat has not been related to the problem, so it is not clear why this vmtools installation.

But I know that the biggest role of Vmtools is to optimize the desktop environment, optimize the drive, and the minimal installation of Linux without the desktop, so this may be part of the reason, but this should be the most apparent reason.

Because I do not know much about development, but still know the point, Vmtools in Linux will invoke the Perl language support, I think it is very likely that the development of Vmtools using Perl.

Before installing Linux with a desktop and never had this problem, I think the Linux desktop should also be used in the Perl environment, so vmtools installation in Linux with desktops is not a problem.

I don't know if this speculation is right or wrong, but at least put forward a hypothesis to be verified.

This article is from "Zhang Fan-it's fantasy drifting" blog, please be sure to keep this source http://chawan.blog.51cto.com/9179874/1829532

CentOS6.8 and 7 cannot be installed directly after installation Vmtools problem

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.