系统相关
首页 > 系统相关> > 基于RedHat7.0的最小安装转图形显示界面安装VMwaretools

基于RedHat7.0的最小安装转图形显示界面安装VMwaretools

作者:互联网

【小菜鸡的自学使用历程】

前提条件:已安装redhat7.0且是最小安装,未安装Serve with GUI

过程:1.挂载镜像

mkdir /mnt/cdrom              #在目录mnt下创建一个目录cdrom
mount /dev/cdrom /mnt/cdrom    #挂载光盘将、将/dev/cdrom挂载到mnt/cdrom下

 

2.准备安装,终端输入

yum group list
Loaded plugins: langpacks, product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Available environment groups:
   Minimal Install
   Infrastructure Server
   File and Print Server
   Basic Web Server
   Virtualization Host
   Server with GUI
Available Groups:
   Compatibility Libraries
   Console Internet Tools
   Development Tools
   Graphical Administration Tools
   Legacy UNIX Compatibility
   Scientific Support
   Security Tools
   Smart Card Support
   System Administration Tools
   System Management
Done

接着输入

yum -y groupinstall "Server with GUI"

安装完成后,终端输入以下显示为

Loaded plugins: langpacks, product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Installed environment groups:
   Server with GUI
Available environment groups:
   Minimal Install
   Infrastructure Server
   File and Print Server
   Basic Web Server
   Virtualization Host
Available Groups:
   Compatibility Libraries
   Console Internet Tools
   Development Tools
   Graphical Administration Tools
   Legacy UNIX Compatibility
   Scientific Support
   Security Tools
   Smart Card Support
   System Administration Tools
   System Management
Done

重启后进去输入startx,进入图形界面

打开终端

cp /mnt/cdrom/VMwareTools(tab补全) /tmp  #复制vmtool功能包到tmp下,也可以丢/home下,开心就好找得到就行
cd /tmp   #切换到tmp目录下
tar  -zxpf VM(tab补全)#解压vmtools的功能包
cd vmware-tools-distrib/  #切换到vmware-tools-distrib目录下
./vmware-install.pl -d #使用vmware-install.pl脚本安装vmware-tools 
reboot #重启
startx 切换到图形界面

标签:安装,mnt,Server,cdrom,RedHat7.0,VMwaretools,Tools,vmware
来源: https://www.cnblogs.com/ws0635/p/15389926.html