备忘录

早些年经历过一次没有备份导致很多东西丢失的事故,所以现在养成了备份的好习惯。

转发代理

Local -> Aliyun -> VirMach
Local <- Aliyun <- VirMach

bash <(curl -s -L https://git.io/v2ray.sh)
firewall-cmd --list-all
firewall-cmd --zone=public --add-port=11111/tcp --permanent
firewall-cmd --permanent --add-forward-port=port=11111:proto=tcp:toaddr=1.1.1.1:toport=11111
firewall-cmd --reload

记录

  • 更新https ./certbot-auto
  • 更改Nginx配置 vi /etc/nginx/nginx.conf
  • Nginx重启 service nginx restart
  • 修改MySQL配置 vi /etc/my.cnf
  • MySQL重启 service mysql restart