欧美一级特黄大片做受成人-亚洲成人一区二区电影-激情熟女一区二区三区-日韩专区欧美专区国产专区

shadowsocks安裝及使用

安裝 shadowsocks
1. 安裝shadowsocks

創(chuàng)新互聯(lián)建站主要從事成都網(wǎng)站建設(shè)、成都網(wǎng)站設(shè)計、網(wǎng)頁設(shè)計、企業(yè)做網(wǎng)站、公司建網(wǎng)站等業(yè)務(wù)。立足成都服務(wù)二連浩特,10年網(wǎng)站建設(shè)經(jīng)驗,價格優(yōu)惠、服務(wù)專業(yè),歡迎來電咨詢建站服務(wù):028-86922220

    pip install shadowsocks

2. 編寫shadowsocks配置文件測試,配置文件如下:

cat >> /etc/shadowsocks.json <<EOF
{
    "server":"0.0.0.0",
    "server_port":1075,
    "local_port":1080,
    "password":"25d55ad283aa400af464c76d713c07ab",
    "timeout":10,
    "method":"aes-256-cfb"
}
EOF

3.測試配置文件是否可用

    ssserver -c /etc/shadowsocks.json

    
4.如果啟動成功,出現(xiàn)1075端口即可


5. 使用supervisor管理shadowsocks進(jìn)程。安裝 supervisor

    pip install supervisor

    
6. 啟動 supervisor
  

 mkdir -p /etc/supervisor/conf.d/
cat >>/etc/supervisor/supervisor.conf<<EOF
; supervisor config file
[unix_http_server]
file=/var/run/supervisor.sock   ; (the path to the socket file)
chmod=0700                       ; sockef file mode (default 0700)
[supervisord]
logfile=/var/log/supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log)
pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
childlogdir=/var/log/supervisor            ; ('AUTO' child log dir, default $TEMP)
; the below section must remain in the config file for RPC
; (supervisorctl/web interface) to work, additional interfaces may be
; added by defining them in separate rpcinterface: sections
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl=unix:///var/run/supervisor.sock ; use a unix:// URL  for a unix socket
; The [include] section can just contain the "files" setting.  This
; setting can list multiple files (separated by whitespace or
; newlines).  It can also contain wildcards.  The filenames are
; interpreted as relative to this file.  Included files *cannot*
; include files themselves.
[include]
files = /etc/supervisor/conf.d/*.conf
EOF

    
    啟動supervisor

    supervisord

    
    
7.     添加supervisor 的shadowsocks配置文件

cat >>/etc/supervisor/conf.d/shadowsocks.conf  <<EOF
[program:shadowsocks]
command=ssserver -c /etc/shadowsocks.json  
autorestart=true  
redirect_stderr=true
stdout_logfile=/tmp/shadowsocks.log
stdout_logfile_maxbytes=300MB
stdout_logfile_backups=10
stdout_capture_maxbytes=500MB
EOF

8.重新加載supervisor

    supervisorctl update

    
9.檢查supervisor是否啟動了shadowsocks

ubuntu@ip-172-131-12-251:~$ sudo supervisorctl status
shadowsocks                      RUNNING   pid 18785, uptime 0:13:10
ubuntu@ip-172-131-12-251:~$
出現(xiàn)RUNNING 即成功

windows客戶端下載地址:https://github.com/shadowsocks/shadowsocks-windows/releases/download/4.0.4/Shadowsocks-4.0.4.zip

mac客戶端下載地址:https://github.com/shadowsocks/shadowsocks-iOS/releases

當(dāng)前題目:shadowsocks安裝及使用
文章源于:http://www.aaarwkj.com/article6/pdhhig.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供做網(wǎng)站、微信小程序、網(wǎng)站改版、微信公眾號、商城網(wǎng)站

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

成都定制網(wǎng)站建設(shè)
日韩美女后入式在线视频| 侵犯人妻中文字幕一区二区| 人妻一本久道久久综合鬼色| 国产av高清亚洲精品高清二部| 人妻少妇久久中文字幕久久| 黄色三级亚洲男人的天堂| 91九色在线视频观看| 日韩欧美在线一区二区| 欧美亚洲尤物久久精品| 青青草日韩欧美在线观看| 在线看岛国毛片十八禁| 青青草av一区二区三区| 婷婷色精品一区二区激情| 日韩美女搞黄色的网站| 日韩精品电影一区在线观看| av中文字幕亚洲一区二区| 精品亚洲第一区二区免费在线| 日韩成人手机视频在线观看 | 18禁黄久久久一区二区三区| 久久久久久亚洲av黄床| 亚洲女人淫片在线观看| 欧美日韩国产激情在线观看| av男人的天堂一区二区| 亚洲女人下体毛茸茸视频| 国产一区二区高清在线| 日韩亚洲欧美精品另类| 亚洲中文字幕av每天更新| 日本精品亚洲一区二区三区| 黄片无毛欧美在线观看| 亚洲国产精品一区二区成人| 日本少妇人妻中文字幕| 精品人妻一区二区三区mp4| 久久99热婷婷精品一区| 国产一区二区三区精品久久| 免费在线观看美女av| 亚洲精品一区二区三区香蕉| 人妻艳情一区二区三区| 久热精品视频在线观看| 欧美黄色日本一区二区| 亚州精品少妇久久久久久| 黄片大全在线免费视频观看|