摘要: 三、系统配置之关闭防火墙 systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 systemctl命令的基本操作格式是: systemctl 动作 服务名.service 动作:start,stop,restart,status,enable,disable,is-enabled 四、配置Linux网络 1、修改hostname CentOS 7.0的hostname在/etc/hostname中用root用户修改: [root@hadoop1 ~]# vim /etc/hostname #编辑/etc/hostname [root@hadoop1 ~]# cat /etc/hostname #查看/etc/hostname hadoop1 [root@hadoop1 ~]# 以前版本的CentOS在/etc/sysconfig/network中用root用户修改: 阅读全文
posted @ 2014-08-06 13:13 程启行 阅读(3313) 评论(0) 推荐(0) 编辑