- 积分
- 2
- 威望
-
- 金钱
-
- 注册时间
- 2017-3-20
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2017-3-23 11:48:28
|
显示全部楼层
回复 5# 的帖子
军哥,咱们的脚本在腾讯云上不能运行吗?
安装log会报 Couldn't resolve host 'mirrors.tencentyun.com' ,找不到这个地址,相应的脚本改怎么改,让它不连这个地址?
--- lnmp.org ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 311ms
rtt min/avg/max/mdev = 45.332/45.332/45.332/0.000 ms
DNS...ok
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
http://mirrors.tencentyun.com/epel/6/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.tencentyun.com'"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
include/main.sh: line 250: lsb_release: command not found
CentOS
[0;34mSetting timezone...[0m
[0;34m[+] Installing ntp...[0m
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
http://mirrors.tencentyun.com/epel/6/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.tencentyun.com'"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
23 Mar 11:43:12 ntpdate[25677]: adjust time server 173.255.246.13 offset -0.046718 sec
Thu Mar 23 11:43:12 CST 2017
[0;34m[-] Yum remove packages...[0m
error: package httpd is not installed
error: package httpd-tools is not installed
error: package mysql is not installed
error: package mysql-libs is not installed
error: package php-mysql is not installed
error: package php-cli is not installed
error: package php-gd is not installed
error: package php-common is not installed
error: package php is not installed
Loaded plugins: fastestmirror, security
Setting up Remove Process |
|