问题:新安装的CentOS 6.4系统执行setup 命令,提示命令找不到
12 [root@localhost ~]# setup
-bash: setup: command not found
解决方案:安装setup必要的软件包 setuptool
#安装setuptool
[root@localhost ~]# yum install setuptool
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.bit.edu.cn
* extras: mirror.bit.edu.cn
* updates: centos.ustc.edu.cn
base | 3.7 kB 00:00
base/primary_db | 4.4 MB 00:17
extras | 3.4 kB 00:00
extras/primary_db | 19 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 2.1 MB 00:10
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package setuptool.x86_64 0:1.19.9-4.el6 will be installed
--> Processing Dependency: usermode for package: setuptool-1.19.9-4.el6.x86_64
--> Running transaction check
---> Package usermode.x86_64 0:1.102-3.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=====================================================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================================================
Installing:
setuptool x86_64 1.19.9-4.el6 base 59 k
Installing for dependencies:
usermode x86_64 1.102-3.el6 base 187 k
Transaction Summary
=====================================================================================================================================================
Install 2 Package(s)
Total download size: 245 k
Installed size: 918 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): setuptool-1.19.9-4.el6.x86_64.rpm | 59 kB 00:00
(2/2): usermode-1.102-3.el6.x86_64.rpm | 187 kB 00:00
-----------------------------------------------------------------------------------------------------------------------------------------------------
Total 153 kB/s | 245 kB 00:01
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Importing GPG key 0xC105B9DE:
Userid : CentOS-6 Key (CentOS 6 Official Signing Key) <centos-6-key@centos.org>
Package: centos-release-6-4.el6.centos.10.x86_64 (@anaconda-CentOS-201303020151.x86_64/6.4)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : usermode-1.102-3.el6.x86_64 1/2
Installing : setuptool-1.19.9-4.el6.x86_64 2/2
Verifying : setuptool-1.19.9-4.el6.x86_64 1/2
Verifying : usermode-1.102-3.el6.x86_64 2/2
Installed:
setuptool.x86_64 0:1.19.9-4.el6
Dependency Installed:
usermode.x86_64 0:1.102-3.el6
Complete!
[root@localhost ~]#
#不难发现执行setup命令后,图形化管理界面命令不全!如下图