安装失败的问题,求教

一共安装了两回,第一回是运行到这就自己停止了
file

第二回是运行到这就自己停止了,感觉就是初始化系统都失败了

file

看了 /var/log/laravel-ubuntu-init.log 这个文件,移到了最后一行有这么一个报错

file

这个我没看懂是怎么回事,求教大神

《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
《G01 Go 实战入门》
从零开始带你一步步开发一个 Go 博客项目,让你在最短的时间内学会使用 Go 进行编码。项目结构很大程度上参考了 Laravel。
leo
最佳答案

在服务器执行 redis-server -v 看看装的是哪个版本?新版本的 redis 貌似会默认启用 ipv6,而阿里云不支持 ipv6 所以会启动超时。

5年前 评论
讨论数量: 7
leo

在服务器执行 redis-server -v 看看装的是哪个版本?新版本的 redis 貌似会默认启用 ipv6,而阿里云不支持 ipv6 所以会启动超时。

5年前 评论

@leo 我刚才看了我自己的服务器系统是 Ubuntu18.04,然后我重新配了一个实例 Ubuntu16.04 的,再次重新按照步骤走,执行该命令就执行成功了。那这个应该是?

5年前 评论
leo

@TravelerLi 神奇,我这个脚本应该是不支持在 18.04 上安装的,按理说在第一步的时候就会提示

5年前 评论

@leo 一开始我本地的 homestead 根据教程安装的时候,Ubuntu 也是 18.04 的,也能正常运行,所以我就尝试阿里云也这么来,但是没成功,所以没找到答案

5年前 评论

一直在初始化系统,/var/log/laravel-ubuntu-init.log 这个文件

E: Couldn't find any package by glob 'php7.2-gd'
E: Couldn't find any package by regex 'php7.2-gd'
E: Unable to locate package php7.2-mbstring
E: Couldn't find any package by glob 'php7.2-mbstring'
E: Couldn't find any package by regex 'php7.2-mbstring'
E: Unable to locate package php7.2-mysql
E: Couldn't find any package by glob 'php7.2-mysql'
E: Couldn't find any package by regex 'php7.2-mysql'
E: Unable to locate package php7.2-opcache
E: Couldn't find any package by glob 'php7.2-opcache'
E: Couldn't find any package by regex 'php7.2-opcache'
E: Unable to locate package php7.2-pgsql
E: Couldn't find any package by glob 'php7.2-pgsql'
E: Couldn't find any package by regex 'php7.2-pgsql'
E: Unable to locate package php7.2-readline
E: Couldn't find any package by glob 'php7.2-readline'
E: Couldn't find any package by regex 'php7.2-readline'
E: Unable to locate package php7.2-xml
E: Couldn't find any package by glob 'php7.2-xml'
E: Couldn't find any package by regex 'php7.2-xml'
E: Unable to locate package php7.2-zip
E: Couldn't find any package by glob 'php7.2-zip'
E: Couldn't find any package by regex 'php7.2-zip'
E: Unable to locate package php7.2-sqlite3
E: Couldn't find any package by glob 'php7.2-sqlite3'
E: Couldn't find any package by regex 'php7.2-sqlite3'

4年前 评论

@gyp719 这个看起来像是你没有下载成功 php 包

4年前 评论

@TravelerLi 你这个问题和我一样, 现在我要怎么做啊? 安装一半自动退出来了

2年前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!