万般无奈之下换LNMP一键安装包试试吧

连在几台VPS上测试了论坛程序均不成功,到最后竟然连error log都搞没有了,在VestaCP、CyberPanel不同的面板和CentOS不同的版本上也都试过,均无果,只能再试一试Licess的LNMP一键安装包了。

安装挺复杂,耗的时间比前两个长得多,但最终还是顺利安装完成。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
+------------------------------------------------------------------------+
| LNMP V1.4 for CentOS Linux Server, Written by Licess |
+------------------------------------------------------------------------+
| For more information please visit https://lnmp.org |
+------------------------------------------------------------------------+
| lnmp status manage: lnmp {start|stop|reload|restart|kill|status} |
+------------------------------------------------------------------------+
| phpMyAdmin: http://IP/phpmyadmin/ |
| phpinfo: http://IP/phpinfo.php |
| Prober: http://IP/p.php |
+------------------------------------------------------------------------+
| Add VirtualHost: lnmp vhost add |
+------------------------------------------------------------------------+
| Default directory: /home/wwwroot/default |
+------------------------------------------------------------------------+
| MySQL/MariaDB root password: root |
+------------------------------------------------------------------------+
+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| https://lnmp.org |
+-------------------------------------------+
nginx (pid 28716 28714) is running...
php-fpm is runing!
SUCCESS! MySQL running (29221)
Active Internet connections (only servers)
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 0.0.0.0:80 0.0.0.0:* LISTEN
Install lnmp takes 34 minutes.
Install lnmp V1.4 completed! enjoy it.

Updated: May 25, 2018

lnmp.org的一键安装包一般是每年六月一日发布正式版,也就是说,一周后应当出1.5版了。这次作者正在忙于MySQL 8的整合,不知会不会跳票。回想两个月前刚上手这套系统时还有些看不惯,它安装耗时长、没有图形化配置和维护界面,出新版增加新功能也并不及时……但几个同类型Stack用下来,似乎还就是这个一直跑着挺欢实,也没曝出过什么问题,跟几个不同的服务器环境也都配合默契没闹过兼容的毛病。我想,这能不能算是我的七种武器之一呢?

Updated: June 2, 2018

lnmp.org果然发布了1.5版的一键包,不过当日即有好几个用户在官方论坛上报了安装错误,大多跟数据库安装有关。我也“实地”用了两台机器三个Distro测试了下,发现在Fedora 28上的确失败了,而同门的CentOS则无论在512MB还是8G的内存上都跑的相当稳健。