一、项目简介

  该项目由Irving提出,有Irving、wang.cheng、laoda、syh0307 四人开发,开发环境:LNMP

  该项目软件为四个程序员的兄弟连二期项目,不做任何商业用途。

  码云:https://git.oschina.net/include_yx/lamp.git || git@git.oschina.net:include_yx/lamp.git

二、搭建服务器环境

  1. 服务器选择:LNMP(Linux+Nginx+MySQL+PHP)

  2.Linux安装:CentOS-6.3-i386-bin-DVD1.iso

  3.LNMP集成环境安装   

 1 [root@iZ287mhoky1Z ~]# wget -c http://soft.vpser.net/lnmp/lnmp1.2-full.tar.gz && tar zxf lnmp1.2-full.tar.gz && cd lnmp1.2-full && ./install.sh lnmp
 2 --2016-08-11 16:13:45--  http://soft.vpser.net/lnmp/lnmp1.2-full.tar.gz
 3 Resolving soft.vpser.net... 50.93.201.152, 2600:3c01::f03c:91ff:fe96:d57a
 4 Connecting to soft.vpser.net|50.93.201.152|:80... connected.
 5 HTTP request sent, awaiting response... 200 OK
 6 Length: 326745420 (312M) [application/octet-stream]
 7 Saving to: “lnmp1.2-full.tar.gz”
 8 
 9 100%[======================================================================================>] 326,745,420 2.05M/s   in 2m 10s  
10 
11 2016-08-11 16:15:56 (2.39 MB/s) - “lnmp1.2-full.tar.gz” saved [326745420/326745420]
12 +------------------------------------------------------------------------+
13 |          LNMP V1.2 for CentOS Linux Server, Written by Licess          |
14 +------------------------------------------------------------------------+
15 |        A tool to auto-compile & install LNMP/LNMPA/LAMP on Linux       |
16 +------------------------------------------------------------------------+
17 |          For more information please visit http://www.lnmp.org         |
18 +------------------------------------------------------------------------+
19 Please setup root password of MySQL.(Default password: root)
20 Please enter: ******
21 MySQL root password:****** 
22 ===========================
23 Do you want to enable or disable the InnoDB Storage Engine?
24 Default enable,Enter your choice [Y/n]: y
25 You will enable the InnoDB Storage Engine
26 ===========================
27 You have 5 options for your DataBase install.
28 1: Install MySQL 5.1.73
29 2: Install MySQL 5.5.42 (Default)
30 3: Install MySQL 5.6.23
31 4: Install MariaDB 5.5.42
32 5: Install MariaDB 10.0.17
33 Enter your choice (1, 2, 3, 4 or 5): 3
34 You will Install MySQL 5.6.23
35 ===========================
36 You have 5 options for your PHP install.
37 1: Install PHP 5.2.17
38 2: Install PHP 5.3.29
39 3: Install PHP 5.4.41 (Default)
40 4: Install PHP 5.5.25
41 5: Install PHP 5.6.9
42 Enter your choice (1, 2, 3, 4 or 5): 5
43 You will install PHP 5.6.9
44 ===========================
45 You have 3 options for your Memory Allocator install.
46 1: Don't install Memory Allocator. (Default)
47 2: Install Jemalloc
48 3: Install TCMalloc
49 Enter your choice (1, 2 or 3): 1
50 You will install not install Memory Allocator.
51 .
52 .
53 .
54 ============================== Check install ==============================
55 Checking ...
56 Nginx: OK
57 MySQL: OK
58 PHP: OK
59 PHP-FPM: OK
60 +------------------------------------------------------------------------+
61 |          LNMP V1.2 for CentOS Linux Server, Written by Licess          |
62 +------------------------------------------------------------------------+
63 |         For more information please visit http://www.lnmp.org          |
64 +------------------------------------------------------------------------+
65 |    lnmp status manage: lnmp {start|stop|reload|restart|kill|status}    |
66 +------------------------------------------------------------------------+
67 |  phpMyAdmin: http://IP/phpmyadmin/                                     |
68 |  phpinfo: http://IP/phpinfo.php                                        |
69 |  Prober:  http://IP/p.php                                              |
70 +------------------------------------------------------------------------+
71 |  Add VirtualHost: lnmp vhost add                                       |
72 +------------------------------------------------------------------------+
73 |  Default directory: /home/wwwroot/default                              |
74 +------------------------------------------------------------------------+
75 |  MySQL/MariaDB root password: 123456                                   |
76 +------------------------------------------------------------------------+
77 +-------------------------------------------+
78 |    Manager for LNMP, Written by Licess    |
79 +-------------------------------------------+
80 |              http://lnmp.org              |
81 +-------------------------------------------+
82 nginx (pid 14442 14440) is running...
83 php-fpm is runing!
84  SUCCESS! MySQL running (14859)
85 Active Internet connections (only servers)
86 Proto Recv-Q Send-Q Local Address               Foreign Address             State      
87 tcp        0      0 0.0.0.0:3306                0.0.0.0:*                   LISTEN      
88 tcp        0      0 0.0.0.0:80                  0.0.0.0:*                   LISTEN      
89 tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      
90 Install lnmp V1.2 completed! enjoy it.
View Code

相关文章: