LNMP One-click installation package common commands, software installation directory and configuration file path

Source: Internet
Author: User
Tags fpm memcached phpinfo redis phpmyadmin

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.