Lnmp-linux under Nginx+mysql+php+phpmyadmin+eacelerator One-click installation package

Source: Internet
Author: User
Tags fpm imagemagick phpinfo vps ioncube phpmyadmin ubuntu vps zend

LNMP One-click installation package is a Linux shell can be installed for Centos/radhat, Debian/ubuntu VPS (VDS) or standalone host installation Lnmp (Nginx, MySQL, PHP, PhpMyAdmin) Shell program for the production environment.

Lnmpa is based on the lnmp of the new extension, the current LNMP one-click installation package users can directly upgrade to Lnmpa (Nginx, MySQL, PHP, Apache), from Nginx as the front-end processing static pages, JS, pictures, etc. Apache, as the back-end processing PHP, to solve the high concurrency of the php-cgi 502 problem, improve the server's ability to handle dynamic content and stability.

LNMP One-click installation package official website: http://lnmp.org/

LNMP One-click installation package 0.8 & Lnmpa has been in vpsyou (thanks for providing test VPS), diahosting (Thanks for providing test VPS), PhotonVPS (Thanks for providing test VPS), Vpszz, MyHost123, the Swiss-Marriott Open Source VPS, BurstNet, Linode, Yardvps, Directspace, Thrustvps, BUYVM, 123Systems and many other US VPS CentOS, Debian, Ubuntu 32-bit and 64-bit systems on the test pass (Centos/debian are more than 5.0 versions, Ubuntu 9.04 or more versions), individual 128MB small memory CentOS 64-bit template problems, small memory please try to choose 32 bit.

Installation steps:

1, download Lnmp One-click installation package:

    • can choose to use the download version (recommended for foreign or U.S. VPS use) or full version (recommended domestic VPS use), if using the download version of the command wget-c http://soft.vpser.net/lnmp/ lnmp0.8.tar.gz, if you use the full version, execute command wget-chttp://soft.vpser.net/lnmp/lnmp0.8-full.tar.gz, after executing the above command LNMP one-click installation package will be downloaded to the VPS.

2, decompression LNMP One-click installation package:

    • Executing the tar zxvf lnmp0.8.tar.gz or tar zxvf lnmp0.8-full.tar.gz will decompress the LNMP one-click installation package.

3. Installation steps under CentOS

    • Download version execute command CD lnmp0.8/, full version execute command: CD lnmp0.8-full/
    • Then execute the./centos.sh, enter the domain name you want to bind, return, enter the password for the MySQL root you want to set, and return to confirm. Program will automatically install the compiler nginx, PHP, MySQL, PhpMyAdmin, Zend these software.

4. Installation steps under Debian

    • Download version execute command CD lnmp0.8/, full version execute command: CD lnmp0.8-full/
    • Then the 32-bit system executes./debian.sh, enter the domain name you want to bind to and enter the vps/server again: Asia, America, Europe, Oceania, or Africa, enter, and type the password of MySQL root to set, enter , enter again to confirm. Program will automatically install the compiler nginx, PHP, MySQL, PhpMyAdmin, Zend these software. Installation takes about 10 minutes to set the MySQL root user's password.

5. Installation steps under Ubuntu

    • Download version execute command CD lnmp0.8/, full version execute command: CD lnmp0.8-full/
    • The 32-bit system then executes the./ubuntu.sh, enter the domain name to bind to, return, enter the password to set the MySQL root, and return to confirm. Program will automatically install the compiler nginx, PHP, MySQL, PhpMyAdmin, Zend these software. Installation takes about 10 minutes to set the MySQL root user's password.
Other component Installation

1, install Eaccelerator, execute the following command:./eaccelerator.sh, follow the prompts to select the version, enter the confirmation, will automatically install and restart the Web service.

2, install Ioncube, execute the following command:./ioncube.sh when you confirm, the Web service is installed and restarted automatically.

3, install ImageMagick, execute the following command:./imagemagick.sh when you confirm, the Web service is installed and restarted automatically.

4, install memcached, execute the following command:./memcached.sh when you confirm, the Web service is installed and restarted automatically.

5, install PUREFTPD and admin panel, execute the following command:./pureftpd.sh follow the prompts to enter your MySQL root password, FTP user management panel password, MySQL FTP database password (can directly enter, automatically generate a password), enter the confirmation, will automatically Install PUREFTPD, install the PUREFTPD, execute in the browser http://your domain name or ip/ftp/Enter the password of the FTP user admin panel you set up earlier, you can manage.

6, install VSFTPD, execute the following command:./vsftpd.sh will automatically install the VSFTPD, just execute the command: useradd-d/home/wwwroot-s/sbin/nologin adminftp Add on the account specified the root directory of the FTP account, and then execute: passwd adminftp set the password, log on to it.

7, upgrade the Nginx version, execute the following command:./upgrade_nginx.sh Enter the version number of Nginx as prompted, such as 1.0.10, and the version number can be obtained from http://nginx.org/en/download.html.

8, upgrade the PHP version, execute the following command:./upgrade_php.sh Enter the PHP version number, such as 5.3.6, as prompted.

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 graphical interface program

phpinfo:http://the domain name or ip/phpinfo.php that you entered earlier
phpmyadmin:http://the domain name or ip/phpmyadmin/that you entered earlier
Probe://The domain name or ip/p.php entered before/HTTP
PUREFTP Management Interface: HTTP//ip/ftp/before the domain name entered
memcached test page://The domain name or ip/memcached.php you entered earlier

LNMP Related Categories

Nginx:/usr/local/nginx
MySQL:/usr/local/mysql
PHP:/usr/local/php
Site Directory:/home/wwwroot/
Nginx Log directory:/home/wwwlogs/
Nginx Virtual Host configuration file directory:/usr/local/nginx/conf/vhost/
Apache Virtual Host configuration file directory:/usr/local/apache/conf/vhost/

LNMP Related configuration Files

Nginx Main configuration file:/usr/local/nginx/conf/nginx.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 configuration file:/usr/local/pureftpd/pure-ftpd.conf
PUREFTPD mysql configuration file:/usr/local/pureftpd/pureftpd-mysql.conf
Apache configuration file:/usr/local/apache/conf/httpd.conf

LNMP One-click installation package 0.8 & Lnmpa has been in vpsyou (thanks for providing test VPS), diahosting (Thanks for providing test VPS), PhotonVPS (Thanks for providing test VPS), Vpszz, MyHost123, the Swiss-Marriott Open Source VPS, BurstNet, Linode, Yardvps, Directspace, Thrustvps, BUYVM, 123Systems and many other US VPS CentOS, Debian, Ubuntu 32-bit and 64-bit systems on the test pass (Centos/debian are more than 5.0 versions, Ubuntu 9.04 or more versions), individual 128MB small memory CentOS 64-bit template problems, small memory please try to choose 32 bit.

Lnmp-linux under Nginx+mysql+php+phpmyadmin+eacelerator One-click installation package

Related Article

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.