安裝mariadbjava
yum install mariadb-server
啓動服務mysql
systemctl start mariadb
開機自啓動服務sql
systemctl enable mariadb
配置數據庫 數據庫
mysql_secure_installation
MySQL安裝服務器
yum -y install mysql-community-server
啓動MySQLssh
systemctl start mysqld.service
查看可安裝JAVA阿里雲
yum -y list java*
安裝JAVAspa
yum -y install java-1.8.0-openjdk*
密鑰登陸服務器(阿里雲)code
chmod 400 /root/mysshkey.pem
ssh -i /root/mysshkey.pem root@10.10.xx.xxx