centos 6+安裝山逗斯騷尅特(本文內容來自都比更具帝)

來源:互聯網
上載者:User

標籤:conf   github   使用者設定檔   password   檔案名稱   服務   密碼   nbsp   記憶體   

系統支援:CentOS 6+,Debian 7+,Ubuntu 12+

記憶體要求:≥128M

關於本指令碼
  1. 一鍵安裝 Shadowsocks-Python, ShadowsocksR, Shadowsocks-Go, Shadowsocks-libev 版(四選一)服務端;
  2. 各版本的啟動指令碼及設定檔名不再重合;
  3. 每次運行可安裝一種版本;
  4. 支援以多次運行來安裝多個版本,且各個版本可以共存(注意連接埠號碼需設成不同);
  5. 若已安裝多個版本,則卸載時也需多次運行(每次卸載一種);
  6. Shadowsocks-Python 和 ShadowsocksR 安裝後不可同時啟動(因為本質上都屬 Python 版)。
預設配置

伺服器連接埠:自己設定(如不設定,預設為 8989)
密碼:自己設定(如不設定,預設為 teddysun.com)
備忘:指令碼預設建立單使用者設定檔,如需配置多使用者,請手動修改相應的設定檔後重啟即可。

使用方法

使用root使用者登入,運行以下命令:

wget --no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks-all.shchmod +x shadowsocks-all.sh./shadowsocks-all.sh 2>&1 | tee shadowsocks-all.log

安裝完成後,指令碼提示如下

Congratulations, your_shadowsocks_version install completed!Your Server IP :your_server_ipYour Server Port :your_server_portYour Password :your_passwordYour Encryption Method:aes-256-cfb Welcome to visit:https://teddysun.com/486.htmlEnjoy it!

指令碼百度云:http://pan.baidu.com/s/1c10jIuc   提取碼:398z

卸載山逗斯騷尅特的方法:shadowsocks-all.sh uninstall

啟動指令碼

啟動指令碼後面的參數含義,從左至右依次為:啟動,停止,重啟,查看狀態。

Shadowsocks-Python 版:

/etc/init.d/shadowsocks-python start | stop | restart | status

ShadowsocksR 版:

/etc/init.d/shadowsocks-r start | stop | restart | status

Shadowsocks-Go 版:

/etc/init.d/shadowsocks-go start | stop | restart | status

Shadowsocks-libev 版:

/etc/init.d/shadowsocks-libev start | stop | restart | status

各版本預設設定檔

Shadowsocks-Python 版:

/etc/shadowsocks-python/config.json

ShadowsocksR 版:

/etc/shadowsocks-r/config.json

Shadowsocks-Go 版:

/etc/shadowsocks-go/config.json

Shadowsocks-libev 版:

/etc/shadowsocks-libev/config.json

centos 6+安裝山逗斯騷尅特(本文內容來自都比更具帝)

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.