1.装ss
apt-get install python-pip python-m2crypto pip install shadowsocks
2.配置文件
{ "server":"your_server_ip", "server_port":8000, "local_port":1080, "password":"your_passwd", "timeout":600, "method":"aes-256-cfb" }
Explanation of each field:
- server: your hostname or server IP (IPv4/IPv6).
- server_port: server port number.
- local_port: local port number.
- password: a password used to encrypt transfer.
- timeout: connections timeout in seconds.
- method: encryption method, “bf-cfb”, “aes-256-cfb”, “des-cfb”, “rc4”, etc. Default is table, which is not secure. “aes-256-cfb” is recommended.
3.启动
ssserver -c /etc/shadowsocks.json -d restart
附:
ubuntu装远程桌面:
1.装xrdp:
apt-get install xrdp
2.装vnc4server
apt-get install vnc4server
3.装xfce4
apt-get install xubuntu-desktop echo "xfce4-session" >~/.xsession
时间: 2024-10-26 02:24:52