TypechoJoeTheme

张文龙博客_along

virmrch服务器安装centos后一键脚本ctrl报错

virmuch服务器内存512M
重新安装系统后反复报错:

<div>Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.

[[email protected] ~]# curl -L https://raw.githubusercontent.com/naiba/nezha/master/script/install.sh -o nezha.sh && chmod +x nezha.sh
**-bash: curl: command not found**
[[email protected] ~]# sudo ./nezha.sh
**-bash: sudo: command not found**
[[email protected] ~]# export PATH=$PATH:/bin:/usr/bin:/usr/local/bin 
[[email protected] ~]# curl -L https://raw.githubusercontent.com/naiba/nezha/master/script/install.sh -o nezha.sh && chmod +x nezha.sh
**-bash: curl: command not found**
[[email protected] ~]# sudo ./nezha.sh
**-bash: sudo: command not found**
[[email protected] ~]# yum update -y && yum install curl -y
Loaded plugins: fastestmirror
Determining fastest mirrors
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base
[[email protected] ~]# curl -L https://raw.sevencdn.com/naiba/nezha/master/script/install.sh -o nezha.sh && chmod +x nezha.sh
-bash: curl: command not found
[[email protected] ~]# sudo ./nezha.sh
-bash: sudo: command not found
[[email protected] ~]# yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base
[[email protected] ~]# yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base</div>

重新安装debian测试

赞 · 0
版权属于:

张文龙博客_along

本文链接:

http://www.wlra.cn/index.php/archives/16/(转载时请注明本文出处及文章链接)

评论 (0)
本篇文章评论功能已关闭