LNMP Common Commands
State management LNMP State management:/ROOT/LNMP {start|stop|reload|restart|kill|status}
Nginx State Management:/etc/init.d/nginx {Start|stop|reload|restart}
PHP-FPM State Management:/etc/init.d/php-fpm {start|stop|quit|restart|reload|logrotate}
PUREFTPD State Management:/etc/init.d/pureftpd {start|stop|restart|kill|status}
MySQL State management:/etc/init.d/mysql {start|stop|restart|reload|force-reload|status}
Apache State Management:/etc/init.d/httpd {start|stop|restart|graceful|graceful-stop|configtest|status}
memcached State Management:/etc/init.d/memcached {Start|stop|restart}
related Graphic Interface program
Phpinfo:http://ip/phpinfo.php '
phpmyadmin:http://ip/phpmyadmin/
PHP Probes: http://IP/p.php
PUREFTP Management Interface: http://IP/ftp/
memcached test page: Http://IP/memcached.phpLNMP
LNMP Related Software installation directory
Nginx Directory:/usr/local/nginx/
MySQL Directory:/usr/local/mysql/
MySQL Database directory:/usr/local/mysql/var/
MARIADB Directory:/usr/local/mariadb/
MARIADB Database directory:/usr/local/mariadb/var/
PHP Directory:/usr/local/php/
Multi-PHP version of the directory:/USR/LOCAL/PHP5.5/Other versions of the previous 5.5 version number replaced by the other
phpMyAdmin Directory: 0.9 version for/home/wwwroot/phpmyadmin/1.0 and later versions for/home/wwwroot/default/phpmyadmin/It is strongly recommended that this directory be renamed to its not easily guessed name. phpMyAdmin can download the new version of the replacement from the official website.
Default Web Site Directory: 0.9 version for/home/wwwroot/1.0 and later version for/home/wwwroot/default/
Nginx Log directory:/home/wwwlogs/
/root/vhost.sh the directory where the virtual host configuration file is added:/usr/local/nginx/conf/vhost/
PUREFTPD Directory:/usr/local/pureftpd/
PUREFTPD Web Management directory: Version 0.9 for/home/wwwroot/default/ftp/1.0 version for/home/wwwroot/default/ftp/
PROFTPD Directory:/usr/local/proftpd/
Redis Directory:/usr/local/redis/
LNMP Related configuration file location
Nginx master configuration (default virtual Host) file:/usr/local/nginx/conf/nginx.conf
Added virtual host configuration file:/usr/local/nginx/conf/vhost/domain name. conf
MySQL configuration file:/etc/my.cnf
PHP configuration file:/usr/local/php/etc/php.ini
PHP-FPM configuration file:/usr/local/php/etc/php-fpm.conf
pureftpd config file:/usr/local/pureftpd/pure-ftpd.conf 1.3 and later:/usr/local/pureftpd/etc/pure-ftpd.conf
pureftpd mysql config file:/usr/local/pureftpd/pureftpd-mysql.conf
proftpd config file:/usr/local/proftpd/etc/proftpd.conf 1.2 and previous versions are/usr/local/proftpd/proftpd.conf
PROFTPD User profile:/usr/local/proftpd/etc/vhost/user name. conf
Redis configuration file:/usr/local/redis/etc/redis.conf
Lnmpa Related directory file location
Apache Directory:/usr/local/apache/
Apache configuration file:/usr/local/apache/conf/httpd.conf
Apache Virtual Host configuration file directory:/usr/local/apache/conf/vhost/
Apache Default Virtual Host configuration file:/usr/local/apache/conf/extra/httpd-vhosts.conf
Virtual Host configuration file name:/usr/local/apache/conf/vhost/domain name. conf