2013年2月2日星期六

CentOS 32位 Linux vps wine 挂gomez peer一键运行包 --貌似理论上可行



bash脚本下载地址:
http://atrong.googlecode.com/files/gomezpeer.sh


#!/bin/sh
yum remove portmap* httpd* bind9* samba* nscd* sendmail* -y
yum update -y
yum groupinstall xfce-4.4 -y
yum groupinstall "Chinese Support" -y
yum install vnc-server -y
yum install yum-priorities -y
rpm --import http://atrong.googlecode.com/files/RPM-GPG-KEY.dag.txt
rpm -ivh http://atrong.googlecode.com/files/rpmforge-release-0.5.1-1.el5.rf.i386.rpm
yum check-update
yum --enablerepo=rpmforge install wine -y
wget http://lastmile.gomez.com/PEERInstall.exe
vncserver
echo 'VNCSERVERS="1:root"'>>/etc/sysconfig/vncservers
echo 'VNCSERVERARGS[1]="-geometry 800x600"'>>/etc/sysconfig/vncservers
echo > /root/.vnc/xstartup
echo '#!/bin/sh'>>/root/.vnc/xstartup
echo '/usr/bin/startxfce4'>>/root/.vnc/xstartup
chmod +x ~/.vnc/xstartup
chkconfig vncserver on
reboot
复制代码

方法:运行脚本,安装完毕后,可以使用VNC客户端连接Linux主机

没有评论:

发表评论