LAMP架构部署和动态网站环境的配置( 六 )



... Success!

By default MariaDB comes with a database named 'test' that anyone can

access. This is also intended only for testing and should be removed

before moving into a production environment.

Remove test database and access to it? [Y/n
n //n不删除test数据库 , 根据自己需求定 。

... skipping.

Reloading the privilege tables will ensure that all changes made so far

will take effect immediately.

Reload privilege tables now? [Y/n
y //刷新数据表

... Success!

Cleaning up...

All done! If you've completed www.dasheng178.com all of the above steps your MariaDB

installation should now be secure.

Thanks for using MariaDB!

# mysql -h 127.0.0.1 -u root -p //连接数据库

4、test web service , apache + php +mariadb安装启动服务后就开始测试 。

4.1、通过浏览器访问web服务器出现如下解密说明apache安装成功 。

http://192.168.10.5

4.2、测试apache+php

# vim /var/www/html/index.php

推荐阅读