centos6 掛vagex及多開教程

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

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

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

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

          1.清理無(wú)用的程序,如果你vps還有其他用途,請(qǐng)忽略

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

          2.更新下系統(tǒng)

          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.設(shè)置vnc密碼,輸入兩次。

          vncpasswd


          7.啟動(dòng)vnc,創(chuàng)建vnc文件

          vncserver


          8.編輯vnc配置文件

          vi /root/./xstartup


          插入xfce啟動(dòng)代碼,替換文件開頭部分就行了

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

          9.設(shè)置vnc自動(dòng)啟動(dòng)

          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優(yōu)化插件

          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。啟動(dòng)firefox ,安裝插件

          補(bǔ)充部分。多開教程

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

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

          輸入yes,輸入密碼。

          2.在vnc 里點(diǎn)右鍵 applications –》run program

          輸入

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

          在打開的firefox窗口中創(chuàng)建新的profile

          安裝foxyproxy插件,設(shè)置*://vagex.com/* 經(jīng)過代理訪問

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

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


          只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


          網(wǎng)站導(dǎo)航:
           

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

          Copyright © H2O

          主站蜘蛛池模板: 沁源县| 宁南县| 金沙县| 泽普县| 沙湾县| 正定县| 曲靖市| 土默特右旗| 井研县| 翁牛特旗| 汉寿县| 灵丘县| 北票市| 颍上县| 富顺县| 四会市| 灵山县| 蓝山县| 辰溪县| 彭州市| 南昌县| 东丰县| 高雄市| 龙门县| 宿松县| 阿图什市| 碌曲县| 藁城市| 张家界市| 仙桃市| 丰镇市| 蓬溪县| 夏河县| 新干县| 阳山县| 聂拉木县| 迁西县| 北票市| 仪征市| 长沙市| 保康县|