Linux服务器
搭建个人云盘seafile
搭建个人云盘seafile (opens new window)
# 查看端口占用情况
netstat -nat | grep 1080
# 查看某个进程
ps -ef | grep [进程名] | grep -v grep
# 杀进程
kill -9 进程id
# 查看代理是否成功
curl -x socks5h://0.0.0.0:1080 www.google.com
curl --socks5-hostname 0.0.0.0:1080 www.google.com
curl --socks5-hostname 127.0.0.1:1080 cip.cc
# 编辑ssr配置
vim /opt/shadowsocksr/config.json
# 启动ssr client
sslocal -c /etc/shadowsocks/shadowsocks.json -d start
# 关闭ssr client
sslocal -c /etc/shadowsocks/shadowsocks.json -d stop
{
"server": "120.232.239.14",
"server_port": 50166,
"local_address": "0.0.0.0",
"local_port": 1080,
"password": "RuoHuaMing123",
"method": "rc4-md5",
"protocol": "auth_aes128_md5",
"protocol_param": "83052:hF4yU3",
"obfs": "http_simple",
"obfs_param": "f6f0d83052.microsoft.com",
"speed_limit_per_con": 0,
"speed_limit_per_user": 0
}
上次更新: 2023/04/05, 09:41:10