VPS 下安装 Shadowsocks[Shadowsocks-go一键安装]

10,165 views次阅读
没有评论

提醒:本文最后更新于2025-06-19 10:40,文中所关联的信息可能已发生改变,请知悉!

安装的是 Shadowsocks-go一键安装脚本 

VPS 下安装 Shadowsocks[Shadowsocks-go一键安装]

Shadowsocks-go一键安装脚本

服务器端口:8989

客户端端口:1080

密码:自己设定(如不设定,默认为teddysun.com)

加密方式: aes-256-cfb

 

安装方法:

使用root用户登录,运行以下命令:

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

 

安装完成后,脚本提示如下:

  1. Congratulations, shadowsocks-go install completed!
  2. Your Server IP:your_server_ip
  3. Your Server Port:8989
  4. Your Password:your_password
  5. Your Local Port:1080
  6. Your Encryption Method:aes-256-cfb
  7. Welcome to visit:http://teddysun.com/392.html
  8. Enjoy it!

 

卸载方法:

使用 root 用户登录,运行以下命令:

  1. ./shadowsocks-go.sh uninstall

 

其他事项:

安装完成后即已后台启动 shadowsocks-go

  1. /etc/init.d/shadowsocks status

可以查看 shadowsocks-go 进程是否已经启动。

 

使用命令:

  1. 启动:/etc/init.d/shadowsocks start
  2. 停止:/etc/init.d/shadowsocks stop
  3. 重启:/etc/init.d/shadowsocks restart
  4. 状态:/etc/init.d/shadowsocks status

 

多用户多端口配置文件

配置文件路径:/etc/shadowsocks/config.json

  1. {
  2.     "server":"0.0.0.0",
  3.     "server_port":8989,
  4.     "local_port":1080,
  5.     "password":"xxxxxxxx",
  6.     "port_password":{
  7.          "8989":"password0",
  8.          "9001":"password1",
  9.          "9002":"password2",
  10.          "9003":"password3",
  11.          "9004":"password4"
  12.     },
  13.     "method":"aes-256-cfb",
  14.     "timeout":600
  15. }

端口自己定义 密码当然也是自己设置 ,本人使用rc4-md5加密方式 。

 

感谢 一键安装脚本作者 秋水逸冰。

 

 

 


 

 

备份:

shadowsocks-go-20150529

 

Shadowsocks-go一键安装脚本@teddysun.com-20150420

 

shadowsocks-go-20150529

 

Shadowsocks-go一键安装脚本@teddysun.com-20150801

 


 

 

免费SS:

 

http://www.shadowsockscn.com/code

http://www.xingyuss.com/user/register.php

http://www.bujike.com/code

http://www.bolg.club/code.php

https://catss.top/code

http://vip14.good.v15ho.mmpic8.com/code.php

正文完
 0
HopoL
版权声明:本站原创文章,由 HopoL 于2015-05-29发表,共计1604字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
评论(没有评论)

HopoL's Blog

文章搜索
最新评论
Metaldololity Metaldololity Whoa, that's really simple. You just save my time a lot. Thankyou!
HopoL HopoL Since you’ve got the backup, it’s actually pretty simple. Just restore the backup files to your new flash drive, then head over to the /config directory and edit the go file. Look for export UNRAID_GUID=xxxxxxxxxxxxxx and swap it with your new drive's GUID. That should do the trick!
Metaldololity Metaldololity Really apreciate for your fast respond, mate. I actually have the backup of the flashdrive (from regular unraid backup). The problem is, when i search on youtube tutorial about changing the failed flashdrive, the process need some sort of confirmation with an account in unraid (blacklist the old one -> whitelist the new one). Since i have a cracked unraid, i don't know how to register my new flashdrive as the correct one (and the system not asking me for the old failed flashdrive). Thanks in advance
HopoL HopoL Man, that's a tough spot to be in. Regularly backing up your /boot folder is super important for exactly this reason. If you don't have a backup and your flash drive is completely fried, your best bet is to Google some specific recovery guides or check the Unraid forums. There are ways to rebuild your config by identifying your parity and data drives, but it can be a bit of a process. Hope you can get it sorted!
Metaldololity Metaldololity Hi! Huge thanks for the update on 7.2.0. I have question here, my flashdrive corrupted. how do i install it on the new flashdrive without losing all my configuration?