下载一键RPM包安装出错请帮忙看看
[i=s] 本帖最后由 杨大狼 于 2012-8-6 17:42 编辑 [/i]安装的过程中出现这个错误,请问是什么原因,谢谢
[code]root@li4766789:~# wget [url=http://down.wdlinux.cn/in/lanmp_wdcp_24_in.sh]http://down.wdlinux.cn/in/lanmp_wdcp_24_in.sh[/url]
--2012-08-06 05:27:22-- [url=http://down.wdlinux.cn/in/lanmp_wdcp_24_in.sh]http://down.wdlinux.cn/in/lanmp_wdcp_24_in.sh[/url]
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 [url=http://www.wdlinux.cn]http://www.wdlinux.cn[/url]
lanmp_wdcp_24_in.sh: 72: Syntax error: "}" unexpected [i=s] 本帖最后由 杨大狼 于 2012-8-6 17:42 编辑 [/i]
就是按照教程操作的,不知道问题出在哪儿了 看签名 搞定了,rebuild的时候不小心把系统搞成debian了,不好意思啦admin 因为着急才发帖求助的,还好解决了,呵呵 这个是怎么回事?我也遇到同样的问题,看了所有的入门帖子,试了好几个,还是不行啊?
求解答,谢谢了。
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 [url]http://www.wdlinux.cn[/url]
lanmp_wdcp_24_in.sh: 72: Syntax error: "}" unexpected [b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=11606&ptid=3177]4#[/url] [i]杨大狼[/i] [/b]
我用的是阿里云 ubuntu系统,也是这个问题?怎么回事啊?求解答 RPM安装包,只限于wdOS,CentOS,Redhat的系统用
页:
[1]