兴致冲冲的安装好ubuntu1.8。

想安装lnmp,结果失败,失败,失败。

一遍由一遍,很痛苦。

每一遍都要半个小时,甚至更久。

等来的就是失败。

看日志也看不出头绪来。

============================phpMyAdmin install completed=======================

Add Startup and Starting LNMP...

Add nginx service at system startup...

Starting nginx... nginx (pid 14922 14921 14920 14919 14918) already running.

Add mysql service at system startup...

update-rc.d: error: unable to read /etc/init.d/mysql

include/end.sh: 行 49: /etc/init.d/mysql: 没有那个文件或目录

Add php-fpm service at system startup...

Starting php-fpm /etc/init.d/php-fpm: 57: /etc/init.d/php-fpm: /usr/local/php/sbin/php-fpm: not found

 failed

============================== Check install ==============================

Checking ...

Nginx: OK

Error: MySQL install failed.

Error: PHP install failed.

Sorry, Failed to install LNMP!

Please visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.

You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.

怎么解决呢?

网上查了好多,说是1.8改动太大,lnmp1.4已经不能适用了。就用1.5吧。

5月 22 22:01:30 jiqing-pad systemd[1]: Starting LSB: start and stop MySQL...

5月 22 22:01:30 jiqing-pad mysql[15710]: Starting MySQL

5月 22 22:01:31 jiqing-pad mysql[15710]: . *

5月 22 22:01:31 jiqing-pad systemd[1]: Started LSB: start and stop MySQL.

State    Recv-Q    Send-Q        Local Address:Port        Peer Address:Port    

LISTEN   0         128                 0.0.0.0:80               0.0.0.0:*       

LISTEN   0         128           127.0.0.53%lo:53               0.0.0.0:*       

LISTEN   0         5                 127.0.0.1:631              0.0.0.0:*       

LISTEN   0         128                       *:3306                   :       

LISTEN   0         5                     [::1]:631                 [::]:*       

Install lnmp takes 27 minutes.

Install lnmp V1.5 completed! enjoy it.

果然1.5成功了!

具体的参考

https://github.com/licess/lnmp

安装前确认已经安装wget命令,如提示wget: command not found ,使用yum install wget 或 apt-get install wget 命令安装。 为防止掉线等情况,建议使用screen,可以先执行:screen -S lnmp 命令后,再执行LNMP安装命令: wget http://soft.vpser.net/lnmp/lnmp1.5beta.tar.gz -cO lnmp1.5beta.tar.gz && tar zxf lnmp1.5beta.tar.gz && cd lnmp1.5 && ./install.sh {lnmp|lnmpa|lamp}

ubuntu1.8安装lnmp失败的更多相关文章

  1. 安装lnmp一键安装包(转)

    系统需求: CentOS/RHEL/Fedora/Debian/Ubuntu/Raspbian Linux系统 需要3GB以上硬盘剩余空间 128M以上内存,Xen的需要有SWAP,OpenVZ的另外 ...

  2. 关于轻松安装LNMP和LAMP的编译环境

    http://lnmp.org/install.html 系统需求: CentOS/RHEL/Fedora/Debian/Ubuntu/Raspbian Linux系统 需要2GB以上硬盘剩余空间 1 ...

  3. CentOS编译安装LNMP环境

    这里是教大家如何在centos下利用源码编译安装LNMP环境. 工具/原料 centos服务器一台 自用电脑一台 准备篇 配置好IP.DNS .网关,确保使用远程连接工具能够连接服务器 配置防火墙,开 ...

  4. ubuntu 安装lnmp、swoole、redis

    1.安装lnmp (此处也可用于centos) 登陆服务器后  cd /var screen -S lnmp wget http://soft.vpser.net/lnmp/lnmp1.5.tar.g ...

  5. 一键安装Lnmp教程

    LNMP一键安装包 系统需求: CentOS/RHEL/Fedora/Debian/Ubuntu/Raspbian Linux系统 需要3GB以上硬盘剩余空间 128M以上内存,Xen的需要有SWAP ...

  6. Centos 6.8编译安装LNMP环境

    Centos 6.8编译安装LNMP环境 参考资料: http://www.jb51.net/article/107429.htm https://phperzh.com/articles/1360 ...

  7. 一键安装LNMP/LAMP

    安装步骤:1.使用putty或类似的SSH工具登陆VPS或服务器: 登陆后运行:yum install screen安装  screen screen -S lnmp创建一个名字为lnmp的会话 2. ...

  8. Ansible 实战:一键安装 LNMP

    Ansible 配置文件 : [root@center /data/ansiblework]# cat ansible.cfg [defaults] remote_user = root remote ...

  9. 阿里云centos6.5实践编译安装LNMP架构web环境

    LNMP 代表的就是:Linux系统下Nginx+MySQL+PHP这种网站服务器架构. 本次测试需求: **实践centos6.5编译安装 LNMP生产环境 架构 web生产环境 使用 ngx_pa ...

随机推荐

  1. AI学习笔记(02)

    AI学习笔记   第一个黑箭头是用于挑选物体和移 动物体.在绘图是选中一个物体,就可以将它自由的移动.和其他的绘图软件相同当你选 中物体的时候物体周围就会出现八个方形的控制点,你可以通过这些控制点对物 ...

  2. 【转】阿里巴巴分布式服务框架 Dubbo 团队成员梁飞专访

    原文链接:http://www.iteye.com/magazines/103   Dubbo是阿里巴巴内部的SOA服务化治理方案的核心框架,每天为2000+ 个服务提供3,000,000,000+ ...

  3. python022 Python3 面向对象

    Python3 面向对象 Python从设计之初就已经是一门面向对象的语言,正因为如此,在Python中创建一个类和对象是很容易的.本章节我们将详细介绍Python的面向对象编程. 如果你以前没有接触 ...

  4. 倍增法求LCA

    倍增法求LCA LCA(Least Common Ancestors)的意思是最近公共祖先,即在一棵树中,找出两节点最近的公共祖先. 倍增法是通过一个数组来实现直接找到一个节点的某个祖先,这样我们就可 ...

  5. 【Zeller公式计算星期几】HDU 6112 今夕何夕

    acm.hdu.edu.cn/showproblem.php?pid=6112 [思路] 公式计算即可,注意特判2月29号 Zeller公式里,计算出的week不能直接模7,要保证week是正数 [A ...

  6. Session保存用户名到Session域对象中

    Session保存用户名 1.构造登录界面 用户名: 密   码: ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 <!DOCTYPE html> < ...

  7. SUSE linux使用zypper 安装软件-比yum更好用

    1. How to install "wget" command in Linux and how to use multiple : https://www.cyberciti. ...

  8. 一段曲折的copy路程

    cp 的时候出现:-bash: /bin/cp: Argument list too longcp ./*.swf  /www/img/html/xxx/action/ 解决办法:find ./ -n ...

  9. 移动web页面字体大小二

    按设计稿中的字体大小设置页面字体大小(px),在手机端,因为不同设备会有不同,换算成rem单位.rem是“font size of the root element”,可以通过这篇文章了解http:/ ...

  10. Bootstrap3 为何无法显示Glyphicons 图标

    Bootstrap3 为何无法显示Glyphicons 图标 在CSS引入字体即可解决 @font-face { font-family: 'Glyphicons Halflings'; src: u ...