前言:
由于这台服务器上跑了几个程序,不敢用再安装宝塔去部署,所以手动部署去试试。
一,安装Mysql:
1.安装教程:
https://www.cnblogs.com/opsprobe/p/9126864.html(mysql-client-5.7 )
查看版本:dpkg -l | grep mysql
ii mysql-client-5.7 5.7.35-0ubu ntu0.18.04.1 amd64 MySQL database client binaries ii mysql-client-core-5.7 5.7.35-0ubu ntu0.18.04.1 amd64 MySQL database core client bin aries ii mysql-common 5.8+1.0.4 all MySQL database common files, e .g. /etc/mysql/my.cnf ii mysql-server 5.7.35-0ubu ntu0.18.04.1 all MySQL database server (metapac kage depending on the latest version) ii mysql-server-5.7 5.7.35-0ubu ntu0.18.04.1 amd64 MySQL database server binaries and system database setup ii mysql-server-core-5.7 5.7.35-0ubu ntu0.18.04.1 amd64 MySQL database server binaries
2.支持InnoDB:
3.支持utf8mb4: