centos 6.8安装 VMware workstation

前端之家收集整理的这篇文章主要介绍了centos 6.8安装 VMware workstation前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

1. 下载VMware workstation

http://down.tech.sina.com.cn/page/3748.html

2. 准备x11环境:

yum groupinstall "X Window System"

yum groupinstall "Desktop"

并重启

3. 安装vnc-server:

yum install tigervnc-server

执行vncserver,首次执行时需要创建密码,vnc客户端连接时需要输入密码

4. 安装内核源码,根据操作系统版本,下载对应的kernel代码

ftp://mirror.switch.ch/pool/4/mirror/scientificlinux/6.8/x86_64/os/Packages/

ftp://mirror.switch.ch/pool/4/mirror/scientificlinux/6.8/x86_64/os/Packages/kernel-devel-2.6.32-642.el6.x86_64.rpm

ftp://mirror.switch.ch/pool/4/mirror/scientificlinux/6.8/x86_64/os/Packages/kernel-firmware-2.6.32-642.el6.noarch.rpm

ftp://mirror.switch.ch/pool/4/mirror/scientificlinux/6.8/x86_64/os/Packages/kernel-headers-2.6.32-642.el6.x86_64.rpm

5. 运行vmware安装包,安装完成后,执行vmware,可能会报错:

Gtk-Message:Failedtoloadmodule"pk-gtk-module":libpk-gtk-module.so:cannotopensharedobjectfile:Nosuchfileordirectory

执行:

#locatelibpk-gtk-module.so

/usr/lib64/gtk-2.0/modules/libpk-gtk-module.so

#locatelibcanberra-gtk-module.so

/usr/lib64/gtk-2.0/modules/libcanberra-gtk-module.so

找到之后,再添加系统加载modules的路径

#vim/etc/ld.so.conf.d/gtk-2.0.conf

/usr/lib64/gtk-2.0/modules

然后重新加载下modules

#ldconfig
最后重装VMware

# vmware-installer -l

Product Name Product Version
==================== ====================
vmware-workstation 10.0.4.2249910

# vmware-installer -u vmware-workstation

#./VMware-Workstation-Full-12.5.6-5528349.x86_64.bundle

6. 如果使用桥接方式安装虚拟机,还需要进入虚拟机配置默认路由,才可以ping通:

route add default gw 192.168.200.1




参考:

http://blog.csdn.net/ytingone/article/details/41447939

https://linux.cn/article-5335-1.html#3_6832

https://www.howtoforge.com/vnc-server-installation-on-centos-7

http://blog.163.com/nosmo443399@126/blog/static/374319082013216112124701/

猜你在找的CentOS相关文章