安装LNMP 1.4稳定版两次均失败 HOST VPS256主机
[i=s] 本帖最后由 zhutingqi 于 2017-6-24 11:11 编辑 [/i][color=#333333][font=Arial, "][size=13px]安装LNMP稳定版[/size][/font][/color]
[font=新宋体][b]wget -c [url=http://soft.vpser.net/lnmp/lnmp1.4.tar.gz]http://soft.vpser.net/lnmp/lnmp1.4.tar.gz[/url] && tar zxf lnmp1.4.tar.gz && cd lnmp1.4 && ./install.sh [/b][b]两次均失败,见下图。[/b]
[/font][size=13px][b][font=新宋体][color=#333333]============================Install PHPMyAdmin=================================
============================phpMyAdmin install completed=======================
The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload,
status). For other actions, please try to use systemctl.
Add Startup and Starting LNMP...
Add nginx service at system startup...
Starting nginx... nginx (pid 3908 3905) already running.
Add mysql service at system startup...
/etc/init.d/mysql: line 244: my_print_defaults: command not found
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
Add php-fpm service at system startup...
error reading information on service php-fpm: No such file or directory
error reading information on service php-fpm: No such file or directory
include/end.sh: line 54: /etc/init.d/php-fpm: No such file or directory
============================== Check install ==============================[/color][/font]
[color=#ff0000][font=Arial, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif]Checking ...[/font]
[font=Arial, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif]Nginx: OK[/font]
[font=Arial, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif]Error: MySQL install failed.[/font]
[font=Arial, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif]Error: PHP install failed.[/font]
[font=Arial, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif]Sorry, Failed to install LNMP![/font]
[font=Arial, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif]Please visit [/font][url=https://bbs.vpser.net/forum-25-1.html]https://bbs.vpser.net/forum-25-1.html[/url][font=Arial, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif] feedback errors and logs.[/font]
[font=Arial, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif]You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.[/font]
[font=Arial, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif][root@lpcb lnmp1.4]# ‘’[/font][/color]
[font=Arial, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif][color=#333333][attach]3099[/attach][/color][/font]
[font=Arial, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif][color=#333333]我的HOST VPS主机配置[/color][/font][/b][/size][font=Arial, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif][color=#333333][size=13px][b]Operating System
CentOS 7.1 x86_64
Disk Space
10 GB
Bandwidth
512 GB
Memory
256 MB
[/b][/size][/color][/font] 是不是安装 CentOS 7.1 64位太高了?
LNMP 全部是安装默认的PHP跟数据库一路默认点击下去的。 LNMP里面全部选择低版本也一样出错。
[attach]3100[/attach] 内存不足吧。
选择的数据库版本过高吧。
不然256M是足够可装的。 应该是机器问题,换512的装任意系统都可以了。
页:
[1]