centos6 掛vagex及多開教程

          Posted on 2013-08-15 01:01 H2O 閱讀(947) 評論(0)  編輯  收藏 所屬分類: 那一天o 0 O

          由于centos5 去除了xfce的組安裝,使用yum install * 安裝后問題多多,不知道是不是源的問題。而且貌似centos6 掛vagex 更穩定些。

          特別提醒:本教程適用于  32 位

          本教程參考:http://sunsea.im/centos-install-firefox-flash-vagex.html 感謝原作者。

          1.清理無用的程序,如果你vps還有其他用途,請忽略

          yum remove portmap* httpd* bind9* samba* nscd* sendmail* -y

          2.更新下系統

          yum update -y

          3.安裝xfce

          wget http://blog.firetry.com/soft/epel-release-6-7.noarch.rpm rpm -ivh epel-release-6-7.noarch.rpm  yum search xfce  yum groupinstall xfce 

          4.安裝vnc

          yum -y groupinstall chinese-support  #防止中文亂碼

          5.配置vnc

          vi /etc/sysconfig/vncservers


          shift+g 移到最后插入下面的代碼

          VNCSERVERS="1:root" VNCSERVERARGS[1]="-geometry 800x600"


          6.設置vnc密碼,輸入兩次。

          vncpasswd


          7.啟動vnc,創建vnc文件

          vncserver


          8.編輯vnc配置文件

          vi /root/./xstartup


          插入xfce啟動代碼,替換文件開頭部分就行了

          #!/bin/sh /usr/bin/startxfce4

          9.設置vnc自動啟動

          chmod +x ~/.vnc/xstartup chkconfig vncserver on

          10.安裝firefox 。感謝www.8shop.org 提供下載

          wget http://www.8shop.org/firefox-3.6.28.tar.bz2 bzip2 -d firefox-3.6.28.tar.bz2 tar -xvf firefox-3.6.28.tar

          11.安裝flash插件

          wget http://blog.firetry.com/soft/libflashplayer.so mkdir -p ~/.mozilla/plugins/ cp libflashplayer.so ~/.mozilla/plugins/

          12.下載vagex 插件,youtube優化插件

          wget http://-debian.googlecode.com/files/_firefox_add_on-1.1.8-fx.xpi wget http://vagex-debian.googlecode.com/files/youtube_video_quality_manager-1.2-fx.xpi

          13.reboot 下就行了。

          14.ip:5901 登陸vnc。啟動firefox ,安裝插件

          補充部分。多開教程

          1.ssh 代理 。在終端運行下邊的命令,xxxx 是你的ip

          ssh -qTfnN -D 7070  username@x.x.x.x

          輸入yes,輸入密碼。

          2.在vnc 里點右鍵 applications –》run program

          輸入

          /root/firefox/firefox -profilemanager -no-remote

          在打開的firefox窗口中創建新的profile

          安裝foxyproxy插件,設置*://vagex.com/* 經過代理訪問

          安裝插件,ok ,就可以雙開了,如果你vps 強大的話,多開幾個也沒有問題的。

          本文為轉載,僅為保留連接有效 感謝原文作者 原文鏈接:http://blog.firetry.com/htmls/319.html


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           

          posts - 0, comments - 21, trackbacks - 0, articles - 101

          Copyright © H2O

          主站蜘蛛池模板: 延川县| 余姚市| 炉霍县| 荃湾区| 凭祥市| 都昌县| 和政县| 葫芦岛市| 沐川县| 错那县| 云林县| 肃南| 常熟市| 栾川县| 义乌市| 石台县| 大石桥市| 永和县| 区。| 巴塘县| 惠安县| 嵩明县| 大悟县| 涡阳县| 天水市| 浦县| 英超| 麻城市| 当涂县| 罗甸县| 诸暨市| 三台县| 德令哈市| 湖州市| 福安市| 南城县| 安丘市| 清远市| 思茅市| 萨迦县| 息烽县|