Centos7 搭建LTMP环境PHP、Tengine、Mysql、Supervisord、Redis( 二 )


  1. 输入Y删除匿名用户账号 。By default, a MySQL installation has an anonymous user, allowing anyone to log into MySQL without having to have a user account created for them. This is intended only for testing, and to make the installation go a bit smoother. You should remove them before moving into a production environment. Remove anonymous users? (Press y|Y for Yes, any other key for No) : Y #是否删除匿名用户,输入Y Success.
  2. 输入Y禁止root账号远程登录 。Disallow root login remotely? (Press y|Y for Yes, any other key for No) : Y #禁止root远程登录,输入Y Success.
  3. 输入Y删除test库以及对test库的访问权限 。Remove test database and access to it? (Press y|Y for Yes, any other key for No) : Y #是否删除test库和对它的访问权限,输入Y - Dropping test database... Success.
  4. 输入Y重新加载授权表 。Reload privilege tables now? (Press y|Y for Yes, any other key for No) : Y #是否重新加载授权表,输入Y Success. All done!
八:测试访问LNMP平台在地址栏输入http://<ECS实例公网IP地址>/phpinfo.php 。
Centos7 搭建LTMP环境PHP、Tengine、Mysql、Supervisord、Redis

文章插图
 




推荐阅读