注册 | 登陆

centos挂Gomez一键包

https://atrong.googlecode.com/files/gomezpeer.sh

 

XML/HTML代码
  1. #!/bin/sh   
  2. yum remove portmap* httpd* bind9* samba* nscd* sendmail* -y   
  3. yum update -y   
  4. yum groupinstall xfce-4.4 -y   
  5. yum groupinstall "Chinese Support" -y   
  6. yum install vnc-server -y   
  7. yum install yum-priorities -y   
  8. rpm --import http://atrong.googlecode.com/files/RPM-GPG-KEY.dag.txt   
  9. rpm -ivh http://atrong.googlecode.com/files/rpmforge-release-0.5.1-1.el5.rf.i386.rpm   
  10. yum check-update   
  11. yum --enablerepo=rpmforge install wine -y   
  12. wget http://lastmile.gomez.com/PEERInstall.exe   
  13. vncserver   
  14. echo 'VNCSERVERS="1:root"'>>/etc/sysconfig/vncservers   
  15. echo 'VNCSERVERARGS[1]="-geometry 800x600"'>>/etc/sysconfig/vncservers   
  16. echo > /root/.vnc/xstartup   
  17. echo '#!/bin/sh'>>/root/.vnc/xstartup   
  18. echo '/usr/bin/startxfce4'>>/root/.vnc/xstartup   
  19. chmod +x ~/.vnc/xstartup   
  20. chkconfig vncserver on   
  21. reboot   

« 上一篇 | 下一篇 »

Trackbacks

点击获得Trackback地址,Encode: UTF-8

发表评论

评论内容 (必填):