CentOS7系统如何修改主机名
2016-04-30 18:20
435 查看
摘要: 命令:hostnamectl set-hostname 主机名
命令:hostnamectl set-hostname (hostnamectl最后那字母是小写L);
如:hostnamectl set-hostname dbmaster1
然后重启一下:reboot
重新登录就可以了。
命令:hostnamectl set-hostname (hostnamectl最后那字母是小写L);
如:hostnamectl set-hostname dbmaster1
然后重启一下:reboot
重新登录就可以了。
相关文章推荐
- CentOS 7中安装mysql server的步骤分享
- centos 7安装mysql5.5的方法
- centos 7安装mysql5.5和安装 mariadb使用的命令
- Centos7 Mysql 5.6 多主一从 解决方案与详细配置
- 阿里云Centos7安装LNMP+wordpress
- CentOS 7安装python3笔记
- Centos7 常用命令
- Centos7 修改主机名
- Centos7 关闭防火墙
- centOS 7 安装nodeJs & mysql 常见问题
- CentOS7上编译多版本PHP并同时运行及systemd设置
- CentOS安装VirtualBox增强功能
- CentOS 7.1 (6.6)PXE网络自动化安装
- centos7将网卡名字改成eth样式
- centos7下载
- CentOS7 - systemd服务
- Centos7 修改运行级别
- centos 7 安装配置centos 7