Linux(CnetOS6.5) 执行setup,报错 -bash: setup: command not found看这里

执行setup,报错 -bash: setup: command not found

[root@CentOS6 ~]# setup
bash: setup: command not found

1.执行setup报错的原因:

  • Linux中的Minimal系统默认都是没有安装setup图形小工具的

2.解决方法

如果执行 yum install setuptool -y 报错请点击此处解决在返回此页面执行以下操作

[root@CentOS6 ~]# yum install setuptool -y
Loaded plugins: fastestmirror
Setting up Install Process
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/x86_64/6/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base
  • 安装setuptool
[root@CentOS6 ~]# yum install setuptool -y
  • 安装系统服务管理
 [root@CentOS6 ~]#yum install ntsysv -y
  • 安装setup中的防火墙设置
[root@CentOS6 ~]# yum install system-config-securitylevel-tui -y
  • 安装setup中配套的网络设置
[root@CentOS6 ~]# yum install system-config-network-tui -y
  • 安装时区
[root@CentOS6 ~]# yum  install system-config-date -y
  • 安装setup工具配套的
[root@CentOS6 ~]# yum  install authconfig-gtk -y
  • 安装setup工具配套的键盘配置组件
[root@CentOS6 ~]# yum  install system-config-keyboard -y

3.解决成功

[root@CentOS6 ~]# setup

在这里插入图片描述

  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值