Jump to content

2.安装LNMP,先不要安装MariaDB


Recommended Posts

安装步骤:
https://lnmp.org/install.html

命令
screen -S lnmp


如果提示 screen: command not found,你需安装screen
sudo yum -y install epel-release

sudo yum -y install screen

 

wget http://soft.vpser.net/lnmp/lnmp1.8.tar.gz -cO lnmp1.8.tar.gz && tar zxf lnmp1.8.tar.gz && cd lnmp1.8 && ./install.sh lnmp

 

You have 11 options for your DataBase install.
1: Install MySQL 5.1.73
2: Install MySQL 5.5.62 (Default)
3: Install MySQL 5.6.51
4: Install MySQL 5.7.34
5: Install MySQL 8.0.25
6: Install MariaDB 5.5.68
7: Install MariaDB 10.1.48
8: Install MariaDB 10.2.38
9: Install MariaDB 10.3.29
10: Install MariaDB 10.4.19
0: DO NOT Install MySQL/MariaDB
Enter your choice (1, 2, 3, 4, 5, 6, 7, 8, 9, 10 or 0): 

先不要安装MariaDB
按 0


You have 9 options for your PHP install.
1: Install PHP 5.2.17
2: Install PHP 5.3.29
3: Install PHP 5.4.45
4: Install PHP 5.5.38
5: Install PHP 5.6.40 (Default)
6: Install PHP 7.0.33
7: Install PHP 7.1.33
8: Install PHP 7.2.34
9: Install PHP 7.3.29
10: Install PHP 7.4.21
11: Install PHP 8.0.8
Enter your choice (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11): 

我选择PHP 8
按 11


You have 3 options for your Memory Allocator install.
1: Don't install Memory Allocator. (Default)
2: Install Jemalloc
3: Install TCMalloc
Enter your choice (1, 2 or 3): 

不安装
按 1

 

Press any key to install...or Press Ctrl+c to cancel
按任意键,开始安装

 

开始漫长的安装过程,若断线

因为一开始就用命令 screen -S lnmp 去安装

那么恢复连线,可以敲命令继续 screen -r lnmp

 

安装完成,花费22分钟

 

Checking ...
Nginx: OK
Do not install MySQL/MariaDB.
PHP: OK
PHP-FPM: OK
Clean Web Server src directory...

Install lnmp takes 22 minutes.
Install lnmp V1.8 completed! enjoy it.

Edited by Jack
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...