使用 SSH 执行以下命令:
yum -y groupinstall "Desktop""Desktop Platform" "X Window System" "Fonts"
启动图形界面
startx
或者后台运行nohup startx&
安装 VNC 服务,用以下任意
yum install -y tigervnc-server
运行并设置密码 端口可自定义 把1改成其他的
vncserver :1
配置用户
vi /etc/sysconfig/vncservers
编辑文本最后两行(shift+I),先将注释符号去掉,在将内容修改为如下
VNCSERVERS="1:root"
VNCSERVERARGS[2]="-geometry 1024x768-nolisten tcp -localhost"
再修改 vnc 服务桌面配置文件
vi /root/.vnc/xstartup
在打开的编辑文本中将最后一行 (twm&) 注释掉,在添加一行 gnome-session&,最终的修改结果为:
#twm &
gnome-session &
重启 vnc 服务
service vncserver restart
添加 vncserver 自启动
chkconfig vncserver on
yum 优先级
yum install yum-priorities
首先安装一个epel
wgethttp://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
sudo rpm -ivh epel-release-6-8.noarch.rpm
直接安装wine
yum install wine
或者
cd /usr/src
wgethttps://nchc.dl.sourceforge.net/project/wine/Source/wine-1.7.40.tar.bz2
tar xjf wine-1.7.40.tar.bz2
cd wine-1.7.40/
./configure
make
make install
(注意请在 linux 系统图形桌面终端进行,不要在本地)
下载安装
wget http://www.kegel.com/wine/winetricks
sh winetricks
在弹出的窗口中先安装 Mono 然后再选择:
select the default wineprefix
选择Chinese 语言版本
然后再选择:
install a fonts //这个是安装字体的,要先安装,不然安装.net和运行关关的时候会乱码的。
最后再选择
install a windows dll or component
选择关关运行的环境. NET framework2.0 也就是选择 dotnet20 即可。
然后打开关关采集器文件夹选择使用 wine 启动
只能用32位系统即i686 i386 64位系统 net2.0 无法安装
联系客服