LNMP One-click installation package

Source: Internet
Author: User
Tags vps

System Requirements:

    • Centos/rhel/fedora/debian/ubuntu/raspbian Linux System

    • Requires more than 2GB hard drive remaining space

    • 128M or more memory, Xen need to have swap,openvz at least 128MB or more vswap or burst memory (small memory do not use 64-bit system), MySQL 5.6 and MARIADB 10 recommended 1G of memory.

    • VPS or server must already be networked, while vps/server DNS to normal!

    • Under Linux, please note that when you enter a command, it is case sensitive!

LNMP One-click installation package V1.2 is already in Linode, diahosting, PhotonVPS, Digitalocean, VR Hong Kong VPS, Tour host, Ramnode, BUDGETVM, Rui Hao Open source, Directspace, Kvmla, Oneasiahost CentOS 5-7, Debian 5-8, Ubuntu for VPS in Singapore, Sindy Interconnect, Hostigation, BUYVM, Locvps, 80VPS, Xsvps and many more. 10.04-15.04 is tested on 32-bit and 64-bit systems.

Installation steps:
1. Use putty or similar SSH tools to login to VPS or server;

Run after Login:screen-s lnmp

If the prompt screen:command not found command does not exist can be performed: Yum installs screen or apt-get install screen installation, detailed screen tutorial.

2. Download and install the LNMP one-click installation package:

You can choose to use the download version (recommended for foreign or U.S. VPS use) or the full version (recommended domestic VPS use), the two are no different, but the full version of some of the required source files pre-placed in the installation package.

install LNMP execution: wget-c http://soft.vpser.net/lnmp/lnmp1.2-full.tar.gz && tar zxf lnmp1.2-full.tar.gz & & CD Lnmp1.2-full &&/install.sh LNMP
If you need to install LNMPA or lamp, replace the parameter after./install.sh with lnmpa or lamp .

There are also several foreign mirror download nodes, lnmp download node specific replacement method.

After you follow the above command, you will see the following prompt:

You need to set the root password for MySQL (do not enter the direct carriage return will be set to root), enter the carriage back into the next step, as shown in:

Here you need to confirm whether MySQL InnoDB is enabled, if you are not sure whether you can enter Y for enable, enter Y for Enable, and N for not enabled. By default, y is enabled, enter back to enter next, select MySQL version:

Enter the serial number of the MySQL or mariadb version, enter the next step and select the PHP version:

Enter the number of the PHP version, enter the next step, choose whether to install memory optimization:

You can choose not to install, jemalloc or Tcmalloc, enter the corresponding serial number.

If it is Lnmpa or lamp, you also need to set up the administrator mailbox

Then select Apache Version

After you have prompted "Press any key to install...or presses CTRL + C to cancel", click Enter to confirm the installation begins.
The Lnmp script will automatically install software that compiles nginx, MySQL, PHP, PhpMyAdmin, Zend Optimizer.

Installation time may vary from a few 10 minutes to several hours, mainly due to the machine's configuration speed and other factors.

3. Complete Installation
If the Nginx:ok,mysql:ok,php:ok is displayed

and Nginx, MySQL, PHP are both running,80 and 3306 ports are present, and install LNMP V1.2 completed! Enjoy it. Then the instructions have been installed successfully.
Next press the add Virtual Host Tutorial , add a virtual host, through the SFTP or FTP server upload website, the domain name resolution to the VPS or server IP, the resolution is valid to use.

4. Installation failure

If a similar prompt appears, the installation fails, stating that no installation was successful!! Need to use WINSCP or other similar tools, the/root directory below the Lnmp-install.log download down to the LNMP support forum post note your system distribution name and version number, 32-bit or 64-bit information, And the Lnmp-install.log compression to the attachment form to the forum, we will find errors through the log, and give the corresponding solution.

5, add, delete virtual host and pseudo-static management
Http://lnmp.org/faq/lnmp-vhost-add-howto.html

6, Eaccelerator, XCache, memcached, ImageMagick, Ioncube, Redis, Opcache installation
Http://lnmp.org/faq/addons.html

7, LNMP related software directory and file location
Http://lnmp.org/faq/lnmp-software-list.html

8. LNMP State Management Command
Http://lnmp.org/faq/lnmp-status-manager.html


LNMP One-click installation package

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.