【CentOS 6.5】hostname

[root@localhost sysconfig]# nmtui

-bash: nmtui: command not found

[root@localhost sysconfig]# 



[root@localhost sysconfig]# yum install nmtui

已加载插件:fastestmirror, refresh-packagekit, security

设置安装进程

Repository base is listed more than once in the configuration

Repository updates is listed more than once in the configuration

Repository extras is listed more than once in the configuration

Repository centosplus is listed more than once in the configuration

Repository contrib is listed more than once in the configuration

Loading mirror speeds from cached hostfile

 * base: mirrors.aliyun.com

 * extras: mirrors.aliyun.com

 * updates: mirrors.aliyun.com

No package nmtui available.

错误:无须任何处理

[root@localhost sysconfig]#



[root@localhost sysconfig]# yum install NetworkManager-tui

已加载插件:fastestmirror, refresh-packagekit, security

设置安装进程

Repository base is listed more than once in the configuration

Repository updates is listed more than once in the configuration

Repository extras is listed more than once in the configuration

Repository centosplus is listed more than once in the configuration

Repository contrib is listed more than once in the configuration

Loading mirror speeds from cached hostfile

 * base: mirrors.aliyun.com

 * extras: mirrors.aliyun.com

 * updates: mirrors.aliyun.com

No package NetworkManager-tui available.

错误:无须任何处理

[root@localhost sysconfig]# 



# vi /etc/sysconfig/network

NETWORKING=yes

HOSTNAME=my_name



你可能感兴趣的:(hostname,centos)