1.安装jdk8
命令:sudo apt-get install openjdk-8-jdk
2.安装mysql5.7
命令:sudo apt-get install mysql-server-5.7
修改相关配置
[mysqld]
character-set-client-handshake = FALSE
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci
init_connect='SET NAMES utf8mb4'
[mysql]
default-character-set = utf8mb4
[client]
default-character-set = utf8mb4
3.安装tomcat8
sudo apt-get install tomcat8