2023年10月

修改SSH端口
sudo vi /etc/ssh/sshd_config
把 #Port 22 取消注释并修改端口号,保存
sudo systemctl restart sshd

安装LAMP

sudo apt update
sudo apt install -y lamp-server^

安装PHPmyAdmin
https://www.cnblogs.com/xpwi/p/9821371.html

sudo  apt-get install  phpmyadmin

设置MySQL密码并允许root登录
https://phoenixnap.com/kb/access-denied-for-user-root-localhost

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'insert_password';

安装typecho
https://github.com/typecho/typecho

压缩解压
https://blog.csdn.net/songbinxu/article/details/80435665

apache mod

sudo a2enmod proxy
sudo a2enmod proxy_balancer
sudo a2enmod proxy_http

x-ui
https://github.com/FranzKafkaYu/x-ui

网站全球测速
https://tool.chinaz.com/speedtest/