CentOS/RHEL安装setup配置工具
在RHEL/CentOS中,可以很方便使用setup配置工具配置网络、防火墙、服务等很多关键配置项,使用非常方便,然而采用最小化安装后,默认并没有安装该工具,运行该命令提示如下:
1
2
|
[[email protected] ~] # setup - bash : setup: command not found |
此时需要我们手动安装了,具体如下:
#安装setup主工具
1
|
[[email protected] ~] # yum install setuptool
|
#安装setup中配套的系统服务管理工具
1
|
[[email protected] ~] # yum install ntsysv
|
#安装防火墙及setup中配套的防火墙设置
1
|
|
#安装setup中配套的网络设置
1
|
[[email protected] ~] # yum install system-config-network-tui
|
#安装Setup中配套的键盘和时区设置(注意:关联包很多,没必要的话建议不安装,时区键盘使用命令行配置也很简单,一旦设定一般也不需要更改):
1
|
[[email protected] ~] # yum install system-config-keyboard
|
完成后再次运行setup命令,如图:
转载于:https://blog.51cto.com/towangwang/967068