微生物的力量
微生物的力量
它们不知世上有人,却能够深深改变人类世界。
微生物的力量
它们不知世上有人,却能够深深改变人类世界。
The Vps is too old to get a newer OS from the provider.
deb http://archive.debian.org/debian jessie-backports main
deb http://archive.debian.org/debian jessie-backports-sloppy main
the -o Acquire::Check-Valid-Until=false
is the key information. Hope it is helpful.
$ sudo apt install axel
axel -n 1000 url
https://www.yanxurui.cc/posts/server/2017-03-21-NGINX-as-a-file-server/
[program:autossh]
command=autossh -M0 -N
-o "ExitOnForwardFailure yes"
-o "ServerAliveInterval 15"
-o "ServerAliveCountMax 4"
-o "ControlPath none"
-o "UserKnownHostsFile=/dev/null"
-o StrictHostKeyChecking=no
-R 18022:localhost:22
-R 18080:localhost:80
-R 18443:localhost:443
user_name@user_ip_or_domain
autostart=true
autorestart=true
startretries=999
redirect_stderr=true
stdout_logfile = /var/log/supervisor/autossh.log
stdout_logfile_maxbytes = 10MB
I bought a VPS from http://virmach.com five years ago. It had been running Ubuntu 14.04 OS for over five years. It was stable but a bit out-of-date. Firstly I tried the Ubuntu 18 template, which was builtin by the cheap Vps provider (virmach). Unfortunately, I cannot log into the system after the OS installation, it always automatically refused my ssh connection, and continuously told me my password is wrong through the HTML5 vnc console. It's already very late yesterday evening, I was tired and wanted to give up.
Then I found the Debian 10 Server X64 ISO file on the cdrom TAB. I love Debian, so I decided give it a go before going to bed. That's a very familiar and happy process. I just want to record the main steps of the process as a memo. Here it is
“把文档写详细点会死吗?” 大概率会吧。虽然我来写未必会更好,但我还是要批评 ShadowsocksX-NG 和 Shadowsocks for windows 的项目的 README.md 文件。
起因:我妹夫访问我的翻墙服务器实在是太脏话慢了。虽然我这会身在墙外,然而身为墙国人,祖国总会给机会锤炼你的翻墙技术。所以,本着药不能停的原则,我又拣起了高速翻墙的技能。
下面是我最后成功完成配置的具体步骤。
假定你的shadowsocks配置是:
{
"server":"0.0.0.0",
"server_port":8964,
"local_port":1080,
"password":"your-secure-password",
"timeout":60,
"method":"chacha20-ietf-poly1305"
}
假定你的 Kcptun server 配置是:
./server_linux_amd64 -t 127.0.0.1:8964 -l :28964 -mode fast3 -key chrd5 -sockbuf 16777217 -nocomp -dscp 46 -crypt none
则你的Shadowsocks for windows 需要如下配置:
Server IP: your-server-ip-or-domain
Server Port: 28964
Password: your-secure-password
Encryption: chacha20-ietf-poly1305
Plugin Program: client_windows_amd64.exe
Plugin Opts:
[v] Need Plugin Argument
Plugin Arguments: -l %SS_LOCAL_HOST%:%SS_LOCAL_PORT% -r %SS_REMOTE_HOST%:%SS_REMOTE_PORT% -key chrd5 -crypt none -mode fast3 -nocomp
Remarks: AnythingYouLike
-
字符,网上有些教程会写成 --
, 这可能是个坑。就这样。希望也能帮到你。如果你遇到了麻烦,不要客气也不要担心自己的问题幼稚,欢迎留言给我,只要我及时看到并有空,就会帮忙。