Oracle Linux Server 7安裝VMwareTools問題


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
一路回車,直到安裝完成。

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM