兴致冲冲的安装好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. 集合框架学习之List接口

    Java语言的java.util包中提供了一些集合类,这些集合类又被称为容器.用来完善数组的不足之处.集合类与数组的不同之处是,数组的长度是固定的,集合的长度是可变的:数组用来存放基本类型的数据,集合 ...

  2. spring用到的设计模式

    https://www.cnblogs.com/yuefan/p/3763898.html https://www.cnblogs.com/hwaggLee/p/4510687.html https: ...

  3. URAL 2040 Palindromes and Super Abilities 2

    Palindromes and Super Abilities 2Time Limit: 500MS Memory Limit: 102400KB 64bit IO Format: %I64d &am ...

  4. @setupmethod -- flask.setupmethod

    源码: def setupmethod(f): """Wraps a method so that it performs a check in debug mode i ...

  5. 可以学习相关框架【转:https://testerhome.com/topics/6283】

    https://testerhome.com/topics/6283 单元测试方面(Java): Junit:本来想用我熟悉的testng,但是开发的同学说测试springmvc只能用Junit.所以 ...

  6. 潜伏者(codevs 1171)

    题目描述 Description [问题描述]R 国和S 国正陷入战火之中,双方都互派间谍,潜入对方内部,伺机行动.历尽艰险后,潜伏于 S 国的R 国间谍小C 终于摸清了S 国军用密码的编码规则:1. ...

  7. 学.net必学的东西 10项【不知道我能不能学这么多,!- -,光程序编辑我都累死了】

    原文发布时间为:2008-10-30 -- 来源于本人的百度文章 [由搬家工具导入] 10项.NET必学的技术2007年08月28日 星期二 14:58 1、WCF (Windows Communic ...

  8. windows 下安装Apache httpd 只需三步

    1.下载 Apache 官网地址:http://httpd.apache.org/docs/current/platform/windows.html#down 找到这个, 看到这几个选项: Apac ...

  9. msp430入门编程47

    msp430中C语言的人机交互--菜单退出 msp430入门编程 msp430入门学习

  10. SqlSugar最容易使用的ORM

    SqlSugar官网