Lanmps One-click PHP Environment installation package

Source: Internet
Author: User
Tags fpm mysql version custom name phpmyadmin ssh secure shell

Go: Http://www.lanmps.com/LANMPS One-click installation package, PHP Green Environment Suite package:

Https://github.com/foxiswho/lanmps

Installation

Mar 17, 2017

Lanmps One-click installation package, PHP Green Environment Suite Package

Linux+nginx+mysql+php+elasticsearch (PHPMYADMIN+OPENCACHE+XDEBUG) environment kit, Green PHP Suite, automatic installation with one click

System Requirements
    • System: Linux under Centos,redhat,ubuntu
    • Memory: greater than or equal to 512M memory
    • Networking is required for installation

Lanmps One-click installation package V3.2.2:linux+nginx+mysql+php+elasticsearch (PHPMYADMIN+OPENCACHE+XDEBUG) kit, Green PHP Suite, one-click Automatic installation.

The installation was successful in centos7.x,ubuntu17.x!

Apache will implement it in the next release.

Installation Tools

SSH Secure Shell Client Download right click New window open

XSHELL+XFTP (recommended under Windows)

or use other tools

Using the SSH Secure Shell Client login server

Lanmps Download

installation package Size: 340MB (contains required files for the relevant environment)

Method One:

Baidu Network disk Download (FAST): Http://pan.baidu.com/s/1bnjIYKJ

Method Two:

: http://download.lanmps.com/lanmps/lanmps-3.2.2.tar.gz (Seven kn free resources, 10G monthly traffic)

Then upload the file to the server

Installation

Please execute the command with the root user

Please execute the command with the root user

Please execute the command with the root user

重要的事情说3遍

1.screen Installation Start

Screen introduction screen to prevent SSH login timeout or drop, interrupt installation (Lanmps is a custom name). If you drop the line, execute screen -r lanmps , you can restore the execution screen before the line, if you forget the name, the execution screen -ls will list all sessions, which is 数字.lanmps just the session

If the prompt screen:command not found command does not exist.

CentOS can perform:yum install -y screen

Ubuntu can perform:apt-get install -y screen

To see what the system commands are:cat /etc/issue

CentOS system
yum install -y screen && screen -S lanmps
Ubuntu system
apt-get install -y screen && screen -S lanmps
2. Execute the Install command

3.2.2 is the version number

Depending on the version number of the latest version, change the appropriate code version number below

此版本改动较大, sometimes php-fpm does not start, please manually start/WWW/LANMPS/PHP-FPM ( 版本 )start

If the package you need is the latest version, please modify the appropriate configuration and download the corresponding file to the down directory.

The default password for the database isroot

mysql5.7版本 数据库默认密码为空Modify mysql5.7 Password

Execute in the current directory of the installation package:

tar -zxvf lanmps-3.2.2.tar.gz && cd lanmps-3.2.2 && ./lanmps.sh

2.2 After executing the above command, the following prompt appears: Select the installation Kit category (default 1)

2.3 Select PHP Version (default 4)

2.4 Select the MySQL version (default 3)

2.5 tip "Press any key to start ..." and start the installation by pressing any key

2.6 Program Installation

Here, Lanmps script will automatically compile and install Nginx, MySQL, PHP, PhpMyAdmin, Opencache, Memcache, Xdebug,elasticsearch,redis and other software.

Where Xdebug is turned off by default and is enabled for use on php.ini.

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

2.7 Installation Complete

The following interface appears, which means the installation was successful!

If you cannot access the site after restarting the server, remember 关闭防火墙 or开启防火墙端口

Centos 7:

Turn off the firewall: sudo systemctl stop firewalld.service Turn off boot:sudo systemctl disable firewalld.service

Centos 7 Executes the following two commands one is to increase the firewall port, one is to restart the firewall

firewall-cmd --zone=public --add-port=80/tcp --permanentsystemctl restart firewalld.service

Ubuntu 16.x:

Install Settings new site case

Setting up a new site case using the Lanmps Environment Suite installation

Configuration related Instructions

Lanmps State Management Commands

Lanmps State Management Commands

Lanmps Directory Description

Lanmps Directory Description

About Lanmps

About Lanmps

Update log
  • March 07, 2017 Lanmps V3.2.2 released

  • Upgrade php7.1.x
  • Upgrade mysql5.7.x
  • Upgrade Redis
  • Upgrade nginx1.11.x
  • Bug fixes

  • December 15, 2016 Lanmps V3.2.0 released

  • Upgrade PHP7.1
  • Upgrade MYSQL5.7
  • Upgrade Redis
  • Upgrade NGINX1.11
  • Bug fixes

  • July 11, 2016 Lanmps V3.1.0 released

  • Upgrade PHP7
  • Upgrade MYSQL5.7
  • Upgrade Redis
  • Upgrade NGINX1.10
  • Search engine replacement for Elasticsearch
  • Bug fixes

  • July 16, 2015 Lanmps V2.2.3 released

  • PHP Version update
  • Bug fixes

  • January 31, 2015 Lanmps V2.0.3 released

  • Fix Apaache loading PHP BUG
  • Bug fixes

  • January 12, 2015 Lanmps V2.0.1 released

  • PHP Version update
  • MariaDB Database Updates
  • Nginx version Update
  • You can change any installation directory
  • Apache support, optional Apache installation
  • Apache supports split log by Month Day
  • Bug fixes
  • Optimize some parameters

  • December 22, 2014 Lanmps V1.0.3 released

  • PHP Version update
  • MariaDB version Update
  • Nginx version Update
  • Bug fixes

  • November 1, 2014 Lanmps V1.0.0 released

  • PHP Version update
  • Add MARIADB Database
  • Nginx version Update
  • Add Sphinx Search
  • You can change any installation directory
  • Support Nginx Log Auto-segmentation (need to set Linux timer Task)

  • May 15, 2014 Lanmps V0.2 released

  • PHP Version update
  • Add MARIADB Database
  • Nginx version Update

  • November 10, 2013 Lanmps V0.1 released

  • Nginx+mysql+php+opencache+phpmyadmin+xdebug Base Implementation Installation
  • Xdebug off by default, open in php.ini if required
  • Mysql version is 5.6.14, no version is selected by default and will be implemented in later versions
  • PHP can choose version
  • Nginx is the latest version of 1.5.6
  • Support for Ubuntu and CentOS systems in Linux

  • 2013-09-09 Lanmps Project started

Lanmps One-click PHP Environment installation package (RPM)

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.