Board logo

标题: [求助] 下载一键RPM包安装出错请帮忙看看 [打印本页]

作者: 杨大狼    时间: 2012-8-6 17:38     标题: 下载一键RPM包安装出错请帮忙看看

本帖最后由 杨大狼 于 2012-8-6 17:42 编辑

安装的过程中出现这个错误,请问是什么原因,谢谢


[code]root@li4766789:~# wget http://down.wdlinux.cn/in/lanmp_wdcp_24_in.sh
--2012-08-06 05:27:22--  http://down.wdlinux.cn/in/lanmp_wdcp_24_in.sh
Resolving down.wdlinux.cn... 122.49.11.85
Connecting to down.wdlinux.cn|122.49.11.85|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3101 (3.0K) [application/octet-stream]
Saving to: a
root@li4766789 :~# ls
lanmp_wdcp_24_in.sh
root@li4766789 :~# sh lanmp_wdcp_24_in.sh
lanmp_wdcp_24_in.sh: 26: [[: not found
Turn off selinux...
lanmp_wdcp_24_in.sh: 29: setenforce: not found
sed: can't read /etc/selinux/config: No such file or directory
lanmp_wdcp_24_in.sh: 31: yum: not found
PING dl.wdlinux.cn (108.171.214.83) 56(84) bytes of data.
64 bytes from 108-171-214-83.static.webnx.com (108.171.214.83): icmp_req=1 ttl=5                                                                                                 5 time=108 ms
64 bytes from 108-171-214-83.static.webnx.com (108.171.214.83): icmp_req=2 ttl=5                                                                                                 5 time=111 ms
64 bytes from 108-171-214-83.static.webnx.com (108.171.214.83): icmp_req=3 ttl=5                                                                                                 5 time=108 ms

--- dl.wdlinux.cn ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2001ms
rtt min/avg/max/mdev = 108.026/109.454/111.980/1.831 ms
lanmp_wdcp_24_in.sh: 45: [[: not found
lanmp_wdcp_24_in.sh: 54: [[: not found
yum update...
lanmp_wdcp_24_in.sh: 57: yum: not found
lanmp_wdcp_24_in.sh: 63: [[: not found
lanmp_wdcp_24_in.sh: 65: function: not found

          configuration ,lamp or lnmp,wdcp install is finshed
          visit http://ip
          wdcp visit http://ip:8080
          more infomation please visit http://www.wdlinux.cn

lanmp_wdcp_24_in.sh: 72: Syntax error: "}" unexpected
作者: 杨大狼    时间: 2012-8-6 17:39

本帖最后由 杨大狼 于 2012-8-6 17:42 编辑

就是按照教程操作的,不知道问题出在哪儿了
作者: admin    时间: 2012-8-6 17:45

看签名
作者: 杨大狼    时间: 2012-8-6 17:49

搞定了,rebuild的时候不小心把系统搞成debian了,不好意思啦admin 因为着急才发帖求助的,还好解决了,呵呵
作者: mophester    时间: 2012-12-4 11:58

这个是怎么回事?我也遇到同样的问题,看了所有的入门帖子,试了好几个,还是不行啊?
求解答,谢谢了。



root@AY121110115427bef5480:~# sh lanmp_wdcp_24_in.sh
lanmp_wdcp_24_in.sh: 26: [[: not found
Turn off selinux...
lanmp_wdcp_24_in.sh: 29: setenforce: not found
sed: can't read /etc/selinux/config: No such file or directory
lanmp_wdcp_24_in.sh: 31: yum: not found
PING dl.wdlinux.cn (61.146.178.5) 56(84) bytes of data.
64 bytes from 61.146.178.5: icmp_req=1 ttl=55 time=30.2 ms
64 bytes from 61.146.178.5: icmp_req=2 ttl=55 time=31.6 ms
64 bytes from 61.146.178.5: icmp_req=3 ttl=55 time=30.5 ms

--- dl.wdlinux.cn ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 30.267/30.818/31.688/0.654 ms
lanmp_wdcp_24_in.sh: 45: [[: not found
lanmp_wdcp_24_in.sh: 54: [[: not found
yum update...
lanmp_wdcp_24_in.sh: 57: yum: not found
lanmp_wdcp_24_in.sh: 63: [[: not found
lanmp_wdcp_24_in.sh: 65: function: not found

          configuration ,lamp or lnmp,wdcp install is finshed
          visit http://ip
          wdcp visit http://ip:8080
          more infomation please visit http://www.wdlinux.cn

lanmp_wdcp_24_in.sh: 72: Syntax error: "}" unexpected
作者: mophester    时间: 2012-12-4 12:01

回复 4# 杨大狼


    我用的是阿里云 ubuntu系统,也是这个问题?怎么回事啊?求解答
作者: admin    时间: 2012-12-4 17:54

RPM安装包,只限于wdOS,CentOS,Redhat的系统用




欢迎光临 WDlinux官方论坛 (http://wdlinux.cn/bbs/) Powered by Discuz! 7.2