Skip to content

新机指南 – what you do after you get a new VPS?

拿到一台新机器之后,

登陆设置

## 设置ssh key
ssh-copy-id [email protected]
# ssh over
ssh-copy-id [email protected]
## ssh over
ssh [email protected] 
passwd ## 修改密码
## change port
vi /etc/ssh/sshd_config
  Port 2xxxx
  PermitRootLogin yes
service sshd restart  ## /etc/init.d/sshd restart重启ssh服务
## 重新登陆 (第二次)
ssh [email protected] -p 2xxxx   ## using new port
# set up bbr
## 重启两次 (install + enable/optimization)
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh

测速

安装trojan

记得先做域名设置

安装Telegram代理(mtproto)

安装Docker Portainer

## v2ray 容器
## html5 speedtest

如果是大盘鸡,可以考虑安装NextCloud作为个人网盘

如果是速度慢的网站,考虑做转发

未完待续。。。

Leave a Reply

Your email address will not be published.