启动docker ,下载安装fecshop出错

安装报错 · bb2visit · 于 7个月前 发布 · 423 次阅读

在安装github https://github.com/fecshop/yii2_fecshop_docker 上的启动docker ,下载安装fecshop这里时的composer create-project fancyecommerce/fecshop-app-advanced fecshop 1.4.1.0命令时报 Do not run Composer as root/super user! See https://getcomposer.org/root for details The "https://packagist.phpcomposer.com/p/provider-2018-01$d61fec23bf65bcf170d86544e37b93cb38a2fd5ffb52ae42c1693dcfbba06563.json" file could not be downloaded: php_network_getaddresses: getaddrinfo failed: Name or service not known failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known https://packagist.phpcomposer.com could not be fully loaded, package information was loaded from the local cache and may be out of date Killed 大神们求解一下???非常急切!!! 上面问题解决了之后报内存问题就是在执行/sbin/swapon /var/swap.1命令时报 swapon: /var/swap.1: swapon failed: Operation not permitted 求解???

共收到 5 条回复
Fecshop#17个月前 0 个赞

你的报错是:

php_network_getaddresses: getaddrinfo failed

百度搜搜:https://blog.csdn.net/ownfire/article/details/7850890

网络加载问题。

Fecshop#27个月前 0 个赞

php_network_getaddresses: getaddrinfo failed: Name or service not known https://packagist.phpcomposer.com could not be fully loaded

你用的是composer的中国镜像把? 不知道是不是中国镜像挂了,还是怎么情况,

你可以切换成国外镜像试试:

http://www.fancyecommerce.com/2017/04/19/composer-默认地址改为中国镜像地址,以及中国镜像地址/

Fecshop#37个月前 0 个赞

要么你就先用百度网盘的地址, https://github.com/fecshop/yii2_fecshop_docker
往下看,会看到百度网盘的地址,里面是完整文件压缩包

4楼 已删除.
bb2visit#57个月前 0 个赞

@Fecshop #2楼 谢谢!第一个问题已解决!

bb2visit#67个月前 1 个赞

@Fecshop #2楼 谢谢,第一个问题按照你的帮助我将composer的中国镜像切换成国外镜像完美解决了!谢谢!

添加回复 (需要登录)
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册
Your Site Analytics