LinuxVPS CentOS Shadowsocks 一鍵安裝腳本教程
話不羅嗦那麽多,其實大家心理都明白,搭建這個其實是傻瓜模式的,至於原理和細節我們也不用深究,本腳本適用系統支持:CentOS,內存要求:≥128M.關於本腳本:一鍵安裝 libev版的Shadowsocks最新版本.該版本的特點是內存占用小(600k左右),低CPU消耗,甚至可以安裝在基於OpenWRT 的路由器上.
默認配置:
服務器端口:自己設定(如不設定,默認為 8989)
密碼:自己設定(如不設定,默認為 teddysun.com)
加密方式:自己設定(如不設定,默認為 aes-256-gcm)
Shadowsocks for Windows 客戶端下載:
https://github.com/shadowsocks/shadowsocks-windows/releases
使用方法:
使用root用戶登錄,運行以下命令:
1 2 3 | wget --no-check-certificate -O shadowsocks-libev.sh https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks-libev.sh chmod +x shadowsocks-libev.sh ./shadowsocks-libev.sh 2>&1 | tee shadowsocks-libev.log |
安裝完成後,腳本提示如下:
1 2 3 4 5 6 7 8 | Congratulations, Shadowsocks-libev server install completed! Your Server IP :your_server_ip Your Server Port :your_server_port Your Password :your_password Your Encryption Method:your_encryption_method Welcome to visit:https://teddysun.com/357.html Enjoy it! |
卸載方法:
使用 root 用戶登錄,運行以下命令:
1 | ./shadowsocks-libev.sh uninstall |
安裝完成後即已後臺啟動 Shadowsocks-libev ,運行:
1 | /etc/init.d/shadowsocks status |
可以查看進程是否啟動。
本腳本安裝完成後,會將 Shadowsocks-libev 加入開機自啟動。
使用命令:
啟動:/etc/init.d/shadowsocks start
停止:/etc/init.d/shadowsocks stop
重啟:/etc/init.d/shadowsocks restart
查看狀態:/etc/init.d/shadowsocks status
悦听有声,路过看看
简繁转换功能在也没刷新下会失效
好东西 谢谢分享先收藏一下下 ...
主题蛮好看的,好像轻博客一样
不错呀
不错哦 收藏了