<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/ DTD/wml_1.1.xml">

<wml>
<head>
<meta http-equiv="cache-control" content="max-age=180,private" />
</head>
<card title="centos挂Gomez一键包">
<p>
作者:<a href="index.php?action=showuser&amp;userid=2&amp;hash=">admin</a><br />时间:2012-09-14 13:14<br />分类:<a href="index.php?action=list&amp;cid=30&amp;hash=">Linux学习笔记</a><br />内容:
https://atrong.googlecode.com/files/gomezpeer.sh


 


XML/HTML代码


    #!/bin/sh   

    
yum remove portmap* httpd* bind9* samba* nscd* sendmail* -y   

    yum update -y   

    
yum groupinstall xfce-4.4 -y   

    yum groupinstall &quot;Chinese Support&quot; -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=&quot;1:root&quot;'&gt;&gt;/etc/sysconfig/vncservers   

    echo 'VNCSERVERARGS[1]=&quot;-geometry 800x600&quot;'&gt;&gt;/etc/sysconfig/vncservers   

    
echo &gt; /root/.vnc/xstartup   

    echo '#!/bin/sh'&gt;&gt;/root/.vnc/xstartup   

    
echo '/usr/bin/startxfce4'&gt;&gt;/root/.vnc/xstartup   

    chmod +x ~/.vnc/xstartup   

    
chkconfig vncserver on   

    reboot   



</p><p>
<a href="index.php?action=login&amp;hash=">立即登陆发表评论</a><br />
</p>
<p><a href="index.php?action=list&amp;hash=">返回日志列表</a><br /><a href="index.php?action=index&amp;hash=">返回主页</a></p>
</card>
</wml>
