fuweibuzheng 发表于 2018-8-14 12:40:11

lnmp1.5正式版,PHP安装失败,系统deepin linux15.7

lnmp1.5正式版,PHP安装失败,系统deepin linux1.5.7。最开始deepin 15.6安装时,安装数据库失败,后来换了系统15.7,安装PHP失败,系统日志见附件。求帮帮忙!

fuweibuzheng 发表于 2018-8-14 12:50:53

回复 1# 的帖子

文件大小超出限制,不让发布,压缩文件才170kb

licess 发表于 2018-8-14 17:54:46

分卷压缩上传或者其他https://send.firefox.com/ https://www.file.io/ 网盘之类的都行
没日志的话没法分析原因

fuweibuzheng 发表于 2018-8-15 11:27:43

回复 3# 的帖子

我上传到了百度网盘,
链接: https://pan.baidu.com/s/1Yab54R35vOYdsYqoMzWCfA 密码: 8ggn

fuweibuzheng 发表于 2018-8-15 13:02:39

回复 3# 的帖子

Ubuntu_Modify_Source()
{
    if [ "${country}" = "CN" ]; then
      OldReleasesURL='http://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/'
    else
      OldReleasesURL='http://old-releases.ubuntu.com/ubuntu/'
    fi
    CodeName=''
    if grep -Eqi "10.10" /etc/*-release || echo "${Ubuntu_Version}" | grep -Eqi '^10.10'; then
      CodeName='maverick'
    elif grep -Eqi "11.04" /etc/*-release || echo "${Ubuntu_Version}" | grep -Eqi '^11.04'; then
      CodeName='natty'
    elifgrep -Eqi "11.10" /etc/*-release || echo "${Ubuntu_Version}" | grep -Eqi '^11.10'; then
      CodeName='oneiric'
    elif grep -Eqi "12.10" /etc/*-release || echo "${Ubuntu_Version}" | grep -Eqi '^12.10'; then
      CodeName='quantal'
    elif grep -Eqi "13.04" /etc/*-release || echo "${Ubuntu_Version}" | grep -Eqi '^13.04'; then
      CodeName='raring'
    elif grep -Eqi "13.10" /etc/*-release || echo "${Ubuntu_Version}" | grep -Eqi '^13.10'; then
      CodeName='saucy'
    elif grep -Eqi "10.04" /etc/*-release || echo "${Ubuntu_Version}" | grep -Eqi '^10.04'; then
      CodeName='lucid'
    elif grep -Eqi "14.10" /etc/*-release || echo "${Ubuntu_Version}" | grep -Eqi '^14.10'; then
      CodeName='utopic'
    elif grep -Eqi "15.04" /etc/*-release || echo "${Ubuntu_Version}" | grep -Eqi '^15.04'; then
      CodeName='vivid'
    elif grep -Eqi "12.04" /etc/*-release || echo "${Ubuntu_Version}" | grep -Eqi '^12.04'; then
      CodeName='precise'
    elif grep -Eqi "15.10" /etc/*-release || echo "${Ubuntu_Version}" | grep -Eqi '^15.10'; then
      CodeName='wily'
    elif grep -Eqi "16.10" /etc/*-release || echo "${Ubuntu_Version}" | grep -Eqi '^16.10'; then
      CodeName='yakkety'
    elif grep -Eqi "14.04" /etc/*-release || echo "${Ubuntu_Version}" | grep -Eqi '^14.04'; then
      Ubuntu_Deadline trusty
    elif grep -Eqi "17.04" /etc/*-release || echo "${Ubuntu_Version}" | grep -Eqi '^17.04'; then
      CodeName='zesty'
    elif grep -Eqi "17.10" /etc/*-release || echo "${Ubuntu_Version}" | grep -Eqi '^17.10'; then
      Ubuntu_Deadline artful
    elif grep -Eqi "16.04" /etc/*-release || echo "${Ubuntu_Version}" | grep -Eqi '^16.04'; then
      Ubuntu_Deadline xenial
    fi
    if [ "${CodeName}" != "" ]; then
      \cp /etc/apt/sources.list /etc/apt/sources.list.$(date +"%Y%m%d")
      cat > /etc/apt/sources.list<<EOF
deb ${OldReleasesURL} ${CodeName} main restricted universe multiverse
deb ${OldReleasesURL} ${CodeName}-security main restricted universe multiverse
deb ${OldReleasesURL} ${CodeName}-updates main restricted universe multiverse
deb ${OldReleasesURL} ${CodeName}-proposed main restricted universe multiverse
deb ${OldReleasesURL} ${CodeName}-backports main restricted universe multiverse
deb-src ${OldReleasesURL} ${CodeName} main restricted universe multiverse
deb-src ${OldReleasesURL} ${CodeName}-security main restricted universe multiverse
deb-src ${OldReleasesURL} ${CodeName}-updates main restricted universe multiverse
deb-src ${OldReleasesURL} ${CodeName}-proposed main restricted universe multiverse
deb-src ${OldReleasesURL} ${CodeName}-backports main restricted universe multiverse
EOF
    fi
}

这段代码里面,这些源,deepin linux 是找不到/etc/*-release 这个文件的,到是有一个 issue 文件。
方便加个qq吗?我的qq:1193698945

[ 本帖最后由 fuweibuzheng 于 2018-8-15 13:05 编辑 ]

licess 发表于 2018-8-15 16:07:12

15.7好像是测试版吧,目前无法进行排查
你是deepin和ubuntu这些代码没关系

下面签名里有QQ,QQ。旺旺只提供付费服务

fuweibuzheng 发表于 2018-8-15 18:08:02

回复 6# 的帖子

谢谢,我已经安装好了,也找到错误原因了
页: [1]
查看完整版本: lnmp1.5正式版,PHP安装失败,系统deepin linux15.7