ubuntu1.8 Installation Lnmp failed

Source: Internet
Author: User

The mood dash installs the good ubuntu1.8.
To install LNMP, the result fails, fails, fails.
Again and again, very painful.
It takes half an hour, or more, every time.
Wait for the failure.
Look at the log also can not see the clue.

============================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/mysqlinclude/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: OKError: 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.

How to solve it?
Online check a lot, said is 1.8 changes too big, lnmp1.4 already can not apply. Let's use 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 MySQL5月 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.

Sure enough, 1.5 succeeded!

The specific reference

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 Installation Lnmp failed

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.