1、使用AWS控制台创建的密钥对或者直接通过网页登录注意:使用pem私钥不允许直接登录root用户,只能登录默认用户例如:ec2-user ,ubuntu等等2、创建root密码sudo passwd root3、切换到root用户su root4、修改 sshd_config 文件vi /etc/ssh/sshd_config允许使用密码登录PasswordAuthentication yes允许root用户登录Permit...
由于linux centos 7 默认yum安装的php版本5.4,有一些漏洞,故需要升级php版本到7.2版本1. 检查当前安装的 PHP查看当前 PHP 版本php -v查看当前 PHP 相关的安装包yum list installed | grep php2. 更换 RPM 源#CentOs 6.x:
rpm -Uvh http://mirror.webtatic.com/yum...