admin

centos6/7 ss安装教程

admin 软件技术支持 2019-03-15 2153浏览 0

 

wget  http://mirrors.linuxeye.com/oneinstack.tar.gz 
tar xzf oneinstack.tar.gz
cd oneinstack
./shadowsocks.sh install

./shadowsocks.sh 2>&1 | tee shadowsocks.log
提示输入密码(默认或者选择都可以)admin
提示输入端口(默认或者选择都可以)15000
提示输入加密算法(默认或者选择都可以)

安装完成后会有连接提示

Your Server IP: 47.75.60.229
Your Server Port: 9001
Your Password: admin
Your Local IP: 127.0.0.1
Your Local Port: 1080
Your Encryption Method: aes-256-cfb

配置文件地址
/etc/shadowsocks/config.json

service shadowsocks start #启动
service shadowsocks stop #关闭
service shadowsocks restart #重启
service shadowsocks status#状态

新增用户(会添加新的密码和端口 然后写入配置文件)
[root@qimoqizp oneinstack]# ./ss.sh adduser

#######################################################################
#       OneinStack for CentOS/RadHat 6+ Debian 7+ and Ubuntu 12+      #
#                         Install SS Server                           #
#       For more information please visit  https://oneinstack.com       #
#######################################################################

Please input password for SS: admin

Please input SS port(Default: 9002): 
iptables: Saving firewall rules to /etc/sysconfig/iptables:[  OK  ]
Stoping SS
INFO: loading config from /etc/shadowsocks/config.json
stopped
INFO: loading config from /etc/shadowsocks/config.json
2018-10-04 20:43:33 INFO     loading libcrypto from libcrypto.so.10
started
Starting SS
SS is running with pid: 2515

Your Server IP: 47.75.60.229
Your Server Port: 9002
Your Password: admin
Your Local IP: 127.0.0.1
Your Local Port: 1080
Your Encryption Method: aes-256-cfb


修改端口和密码
vi /etc/shadowsocks/config.json
然后重启服务



shadowsocks客户端下载地址

安卓  https://github.com/shadowsocks/shadowsocks-android/releases 

windows   https://github.com/shadowsocks/shadowsocks-windows/releases  

mac  https://github.com/shadowsocks/ShadowsocksX-NG/releases   

苹果手机 直接苹果商店(需要付费)


版权声明

本站《作品展示》类文章均为原创,转载必须注明出处,技术分享类文章部分来源于网络,版权归原作者所有,若侵权请留言。

发表评论