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

BudgetNode: $7/month/3GB memory/120GB space/2TB traffic/KVM/Miami

BudgetNode, a US hosting company, a formally regi...

Install Google-drive-ocamlfuse in Centos/Ubuntu and mount Google Drive

See: Gdrive: Sync Google Drive files and automati...

HostMem 1GB RAM Los Angeles CN2 GT KVM VPS Review

Details : HostMem: CN2 GT KVM VPS in Los Angeles,...

Clouvider: £5.49/month/1GB RAM/20GB SSD/1TB data transfer/VDS/UK

Clouvider is a British hosting company that opera...

Verelox: 9.99€/year/128MB memory/5GB space/500GB traffic/KVM

Verelox, as far as I can see, is a newly establis...