在太阳下
不管你喜不喜欢,高不高兴,爱与不爱;太阳照旧照耀着你!温暖着你!

CentOS 6 x64安装lnmp1.5

CentOS 6 x64安装lnmp1.5
TIME 2019-10-04 17:20

获取安装包

wget -c http://soft.vpser.net/lnmp/lnmp1.5-full.tar.gz && tar -zxf lnmp1.5-full.tar.gz && cd lnmp1.5-full && ./install.sh lamp

返回结果

+————————————————————————+
| LNMP V1.5 for CentOS Linux Server, Written by Licess |
+————————————————————————+
| A tool to auto-compile & install LNMP/LNMPA/LAMP on Linux |
+————————————————————————+
| For more information please visit https://lnmp.org |
+————————————————————————+
You have 10 options for your DataBase install.
1: Install MySQL 5.1.73
2: Install MySQL 5.5.60 (Default)
3: Install MySQL 5.6.40
4: Install MySQL 5.7.22
5: Install MySQL 8.0.11
6: Install MariaDB 5.5.60
7: Install MariaDB 10.0.35
8: Install MariaDB 10.1.33
9: Install MariaDB 10.2.14
0: DO NOT Install MySQL/MariaDB
Enter your choice (1, 2, 3, 4, 5, 6, 7, 8, 9 or 0):

默认安装

Please setup root password of MySQL.
Please enter: **********************
MySQL root password: **********************

设置 MySQL root帐户密码

Do you want to enable or disable the InnoDB Storage Engine?
Default enable,Enter your choice [Y/n]: n
You will disable the InnoDB Storage Engine!

问你是否要启用或禁用InnoDB存储引擎?
不知道是啥,选择否,回复 n

You have 8 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.36 (Default)
6: Install PHP 7.0.30
7: Install PHP 7.1.18
8: Install PHP 7.2.6
Enter your choice (1, 2, 3, 4, 5, 6, 7 or 8):
No input,You will install PHP 5.6.36

选择PHP版本
默认安装

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):
No input,You will not install Memory Allocator.

选择内存分配器,不知道是啥
默认安装

Please enter Administrator Email Address: **********************
===========================
Server Administrator Email: **********************

设置root帐户密码

You have 2 options for your Apache install.
1: Install Apache 2.2.34
2: Install Apache 2.4.33 (Default)
Enter your choice (1 or 2):
No input,You will install Apache 2.4.33

让你选择apache的版本
默认安装

Press any key to install…or Press Ctrl+c to cancel

按任意键开始安装

Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
tcp 0 0 :::22 :::* LISTEN
tcp 0 0 :::80 :::* LISTEN
Install lnmp takes 31 minutes.
Install lnmp V1.5 completed! enjoy it.

安装耗时31分钟

安装 Pure-FTPd

./pureftpd.sh

返回结果

+———————————————————-+
| Pureftpd for LNMP, Written by Licess |
+———————————————————-+
|This script is a tool to install pureftpd for LNMP |
+———————————————————-+
|For more information please visit https://lnmp.org |
+———————————————————-+
|Usage: ./pureftpd.sh |
+———————————————————-+
Press any key to install…or Press Ctrl+c to cancel

按任意键安装…
返回以下界面

+———————————————————————-+
| Install Pure-FTPd completed,enjoy it!
| =>use command: lnmp ftp {add|list|del|show} to manage FTP users.
+———————————————————————-+
| For more information please visit https://lnmp.org
+———————————————————————-+

安装成功

常用命令

lnmp ftp add      #添加FTP帐户
lnmp ftp list       #查看所有的FTP帐户
lnmp ftp del      #删除FTP帐户
lnmp ftp show  #展示所有的FTP帐户

添加FTP帐户

lnmp ftp add

 

+——————————————-+
| Manager for LNMP, Written by Licess |
+——————————————-+
| https://lnmp.org |
+——————————————-+
Enter ftp account name: *********

设置FTP帐户名

Enter password for ftp account 你的用户名: *********

设置FTP帐户密码

Enter directory for ftp account 你的用户名: /home/wwwroot

键入目录,即可…

点击数:33

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
Verified by MonsterInsights