LNAMP: Installation script from Server Home

LNAMP: Installation script from Server Home

Installation Instructions:
This installation script is suitable for all mainstream versions of CentOS, Debian and Ubuntu. It automatically installs Nginx (to handle front-end static requests), Apache (to handle PHP requests as the back-end), MySQL, PHP, and automatically optimizes server software configuration parameters according to different host hardware conditions to make full use of host resources. The LNAMP architecture combines the high efficiency and low resource usage of the Nginx server with the high stability of Apache, and is the best PHP operating environment in the Linux system.

Installation steps:
(1) Install screen and python commands

Since the installation script is written in Python, you need to install the python command to execute it.
At the same time, in order to prevent SSH disconnection during the installation process, it is recommended to install the screen command tool first.
The installation method under CentOS system is:
yum install -y screen
(The Python command is basically installed on CentOS systems, so there is no need to install it again because yum itself is a Python program.
The installation method under Debian and Ubuntu systems is:
apt-get install -y screen python
(2) Create a screen window

After installing screen, use the following command to open a screen window:
screen -S lnamp
All subsequent operations are performed in this screen window.
If the SSH connection is disconnected due to network problems during the installation, you can reconnect SSH and use the following command to open the installation window:
screen -x lnamp
(3) Install LNAMP

After the above preparations are completed, start the formal installation of LNAMP.
Enter the following command, and the installation script will automatically install the LNAMP environment.
wget -O – http://www.server110.com/lnamp/ | python
After the installation is complete, the server information will be displayed on the screen. At the same time, this information will be saved in /root/setup.txt for future viewing.

Add a site:
Enter the site command, and when prompted to select the required operation, enter the number 1 and press Enter.

via: http://www.server110.com/lnamp/

<<:  svenskadomaner: Swedish domain registrar

>>:  CheapVPSLLC: $7.5/year/128MB/10GB space/250GB traffic/OpenVZ

Recommend

AlphaVPS: €25/month/2*L5630/16GB RAM/1TB HDD/10TB traffic/5 IP/Bulgaria

AlphaVPS, an American hosting company, was establ...

Parkomat.io: Build your own WebDav, DNS and Web server on Linux

Parkomat.io is a script for creating DNS + Web + ...

HostRainbow: $10/year/1GB SSD space/10GB traffic/Singapore/Los Angeles/India

HostRainbow, owned by German hosting company 3738...

CrownCloud: $15/year/1 IPv4/256MB memory/4GB space/1TB traffic/KVM

As introduced before, the same model now has doub...

ServerStadium: $35/month/16GB memory/1TB hard disk/10TB traffic/4 IP/Seattle

ServerStadium, an American hosting provider, was ...

[Black Friday] VaporNode: 40% off KVM VPS, great value for money

VaporNode, an American hosting company, has been ...