您的位置:首页 > 运维架构 > Shell

出现 -bash: setup: command not found

2016-01-22 16:02 609 查看
先检测一下是否能dns解析先。
[root@AY1306141252390974e5Z ~]# ping www.*******.com
PING www.*******.com (***.***.***.***) 56(84) bytes of data.
64 bytes from ***.***.***.***: icmp_seq=1 ttl=54 time=69.6 ms
64 bytes from ***.***.***.***: icmp_seq=2 ttl=54 time=68.3 ms
64 bytes from ***.***.***.***: icmp_seq=3 ttl=54 time=68.3 ms
64 bytes from ***.***.***.***: icmp_seq=4 ttl=54
time=68.0 ms
64 bytes from ***.***.***.***: icmp_seq=5 ttl=54
time=64.2 ms

--- www.***.com ping
statistics ---
5 packets transmitted, 5 received, 0% packet
loss, time 4000ms
rtt min/avg/max/mdev = 64.296/67.739/69.631/1.829
ms
[root@AY1306141252390974e5Z ~]# 

还好,dns有设置上去。那么接下来就是可以实现yum安装套件了。

2、#安装setuptool
[root@AY1306141252390974e5Z
~]# yum -y install setuptool

3、不用多想了,系统服务管理肯定也是没有在里面,我就直接也装上
[root@AY1306141252390974e5Z
~]# yum -y install ntsysv

4、setup中配套的防火墙设置也得装上去,不然会出现很多selinux上面的问题,比较蛋疼
[root@AY1306141252390974e5Z ~]# yum -y install
system-config-securitylevel-tui

5、安装setup中配套的网络设置
[root@AY1306141252390974e5Z ~]# yum -y install
system-config-network-tui

6、最后安装一下时区,不然装上软件,会发现时间不对劲的。
[root@AY1306141252390974e5Z ~]# yum -y install
system-config-date

不错,到此就完成了。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  linux