systemctl start mariadb.service //然后发现下面的问题
job for mariadb.service failed because the control process exited with error code .
See "systemctl status mariadb.service" and "journalctl -xe" for details
于与查询下mysql日志,找到对应问题解决。
/var/log/mariadb/mariadb.log
SSH连接设置。这里我为了方便,只使用了密钥认证。于是把其他的都注释了。
vim /etc/ssh/sshd_config
基本参数: PermitRootLogin yes
#允许root认证登录
PasswordAuthentication yes
#允许密码认证 RSAAuthentication yes
#秘钥认证PubkeyAuthentication yes