If you do not have a Setup command in your CentOS system, it is likely that you installed the CentOS system with a minimal installation (minimal). When you execute the Setup command, you will get an error:
error message:
[Root@localhost ~]# setup
-bash:setup:command not found
This is because your CentOS system does not have the Setup command by default, and there are no components that are associated with the Setup command tool. At this time, the Yum tool can be installed on the line one by one, the specific installation method is as follows.
Workaround:
Yum-y Install setuptool
Install the Setup command tool
yum-y install NTSYSV
Install the Setup tools supporting system service components
yum-y Install System-config-securitylevel-tui
Install the Setup Tool kit for the firewall configuration component
yum-y install System-config-network-tui
Install the Setup Tools Kit for the network configuration component
yum-y install AUTHCONFIG-GTK
Install the Setup tool kit for validation configuration
yum-y Install System-config-keyboard
Install the Setup tool's accompanying keyboard configuration component
After you have installed the Setup command and its accompanying components, you can then run the Setup command to see the complete graphical configuration interface.