表:LNMP镜像组成一览

您在使用LNMP镜像的时候,可能会需要了解如下的路径、地址和参数说明:

路径或说明
操作系统CentOS
Web服务Nginx
默认根目录/data/wwwroot
PHP配置文件/etc/php.ini
PHP路径/etc/php.d
Nginx虚拟主机配置文件/etc/nginx/conf.d/default.conf
Nginx配置文件/etc/nginx/nginx.conf
php-fpm目录/etc/php-fpm.d
php-fpm配置文件/etc/php-fpm.d/www.conf
日志文件/var/log/nginx
MySQL数据目录/data/mysql
MySQL配置文件/etc/my.cnf
MySQL管理地址http://服务器公网IP/phpmyadmin
9Panel访问地址http://服务器公网IP/9panel