OracleLinuxServer7安装VMwareTools问题
#./vmware-install.pl时报错:
#-bash: ./vmware-instal.pl:/usr/bin/perl:bad interpreter:No such file or directory

原因:
未安装perl环境。

解决方法:
在YUM环境下安装perl。
配置本地yum源:(参考资料:http://www.cnblogs.com/rusking/p/4248946.html)
编写 /etc/yum.repos.d/local_repo.repo 文件内容如下。
[rhel-source]
name=Red Hat Enterprise Linux Local repo  
##仓库描述
baseurl=file:///opt/rpm/local_repo        
##软件仓库位置
enabled=1                                 
##是否启用
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle   
##签名秘钥,/etc/pki/rpm-gpg/在这个目录下,可进入该目录查看。

YUM安装perl:
#yum install perl

perl安装完成之后,再安装vmwareTool,执行/vmware-install.pl,默认安装,一路回车即可。
======================
其它问题:
在安装vmware tool的过程中,出现如下提示:
What is the location of the "ifconfig" program on your machine?
此处回车不行,因为系统没有安装ifconfig,需要重新手动安装后,再来安装vmware Tool。

Yum安装ifconfig:
#yum search ifconfig
#net-tools.x86_64:Basc networking tools
#yum install net-tools-2.0-0.17.20131004git.e17.x86_64.rpm

之后,再来安装vmware tool正常。

--------之后,问题又出现了,安装完VMware Tool之后,reboot默认启动到字符界面。也切换不到图形登录界面。

继续折腾--重新安装,在安装过程中注意SOFTWARE SELECTION,不要选择默认安装,需要选择最后一个Server With GUI,右边组件随便选择。如下图:

官方安装文档:http://oracle-base.com/articles/linux/oracle-linux-7-installation.php

SELinux

  • If the OS is to be used for an Oracle installation, it is easier if Secure Linux (SELinux) is disabled or switched to permissive. To do this edit the "/etc/selinux/config" file, making sure the SELINUX flag is set as follows.

    SELINUX=permissive

    If SELinux is configured after installation, the server will need a reboot for the change to take effect.

Firewall

  • If the OS is to be used for an Oracle installation, it is easier if the firewall is disabled. This can be done by issuing the following commands from a terminal window as the "root" user.

    # systemctl stop firewalld
    # systemctl disable firewalld

You can install and configure it later if you wish.

SSH

  • Make sure the SSH daemon is started using the following commands.

    # systemctl start sshd.service
    # systemctl enable sshd.service

=================

重新安装后,进行图形界面正常。安装VMware tool:

1、[root@localhost vmware-tools-distrib]# ./vmware-install.pl
The installer found the following conflicting packages installed on the system and will now remove them:

open-vm-tools

error: Failed dependencies:
 libhgfs.so.0()(64bit) is needed by (installed) open-vm-tools-desktop-9.4.0-3.el7.x86_64
 libvmtools.so.0()(64bit) is needed by (installed) open-vm-tools-desktop-9.4.0-3.el7.x86_64
 open-vm-tools(x86-64) = 9.4.0-3.el7 is needed by (installed) open-vm-tools-desktop-9.4.0-3.el7.x86_64
Failed to remove the following packages:

open-vm-tools

Please manually remove them before installing VMware Tools.

Execution aborted.

2、[root@localhost vmware-tools-distrib]# yum remove open-vm-tools  卸载open-vm-tools

3、[root@localhost vmware-tools-distrib]# ./vmware-install.pl  重新安装vmware tool
一路回车,直到安装完成。

Oracle Linux Server 7安装VMwareTools问题的更多相关文章

  1. Oracle Linux 5.7安装VMware Tools的问题

    案例环境介绍:     虚拟机的版本:VMware® Workstation 8.0.3 build-703057    操作系统版本:Oracle Linux Server release 5.7 ...

  2. Oracle Linux(64位)安装64位Oracle10g遇到ins_ctx.mk问题

    在Oracle Linux Server Release 5.7上安装64位Oracle 10g 时,遇到如下问题: Error in invoking target 'install' of mak ...

  3. 在Oracle Linux Server release 6.4下配置ocfs2文件系统

    ① 安装ocfs-tools-1.8 如果是使用RedHat Enterprise Linux 6.4,也可以安装ocfs-tools-1.8的,只是要插入Oracle Linux Server re ...

  4. oracle linux 6.8 安装

    ' 测试环境vm虚拟机 硬盘大小50G 内存2G CPU 4 选择install or upgrade an existing system 选择skip跳过内存检查 Next 选择语言,Next 选 ...

  5. Oracle linux 6.3 安装11g R2 RAC on vbox

    1 安装系统 Virtual box 4.3 Oracle linux 6.3 Oracle 11g r2 Make sure "Adapter 1" is enabled, se ...

  6. RAC分解步骤之一,在oracle linux 4u4上安装oracle 10.2.0.1.0操作日志

    练习oracle的rac组建过程,第一步,先练习4u4上安装oracle 10.2.0.1.0.直接安装rac,有些难度.从简单的做起.总RAC步骤,参照小布老师的RAC组建. 1. 启动vc,登陆v ...

  7. oracle linux 6 docker 安装

    docker对安装系统的内核版本有严格的要求,本文针对oracle linux 6.5进行讲解,其它系统参见: https://docs.docker.com/v1.5/installation/ 下 ...

  8. 虚拟机linux操作系统上安装vmwareTools

    当你安装过操作系统后,你就可以在虚拟机上找到这个画面,在管理里面有一个安装VMwareTools这就是我们的目标,打开后就直接点击下载并安装就好了 当下载完成后在虚拟机下面就会出现这个东西,他的意思就 ...

  9. Linux server配置安装Java,Tomcat服务器

    系统:Ubuntu 16.04 dev_desktop 1.Java安装并配置环境变量 (1)从Java官方网站下载最新版JDK: http://www.oracle.com/technetwork/ ...

随机推荐

  1. java中的二进制

    (1)按位与运算 & 1 & 1 = 1, 0 & 1 = 0 51 & 5  即 0011  0011 & 0000  0101 =0000 0001 = 1 ...

  2. jquery 根据网站url给导航nav添加active效果

    后台的同事因为把nav公用了,所以无法单页添加active,一下方法通过判断url的后缀给当前页添加active $(function(){ var _nava= $('.nav .nav-wrapp ...

  3. WebApi官网学习记录---web api中的路由

    如果一条路由匹配,WebAPI选择controller和action通过如下方式: 1.找到controller,将"controller"赋值给{controller}变量 2. ...

  4. Button简单实例1

    1.XML按钮定义 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" an ...

  5. 关于Emit中动态类型TypeBuilder创建类标记的一点思考

      利用TypeBuilder是可以动态创建一个类型,现在有个需求,动态生成一个dll,创建类型EmployeeEx,需要继承原dll里面的Employee类,并包含Employee类上的所有类标记. ...

  6. CGRect包含交错,边缘,中心的检测

    CGRectContainsPoint函数        判断给定的点是否被一个CGRect包含,可以用CGRectContainsPoint函数 BOOL contains = CGRectCont ...

  7. php中mail()改用msmtp发送邮件

    php中的mail()函数默认调用的是sendmail,这次我将其换成了轻量级的msmtp.在次过程中涉及到:修改配置文件php.ini,创建配置文件msmtprc或(.msmtprc)并修改其权限. ...

  8. JavaScript、Ajax与jQuery的关系

    简单总结: 1.JS是一门前端语言. 2.Ajax是一门技术,它提供了异步更新的机制,使用客户端与服务器间交换数据而非整个页面文档,实现页面的局部更新. 3.jQuery是一个框架,它对JS进行了封装 ...

  9. https://github.com/aptana/studio3/releases aptana

    https://github.com/aptana/studio3/releases  aptana

  10. 用PHP向MySql中写入图片

    我们经常遇到的问题是如何将图片文件放到Mysql数据库当中,这样可以避免没有认证的用户找到我们的图片资源! 1.看看数据库里的表结构怎么写 CREATE TABLE Images (     PicN ...