2019年7月9日

centso7设置防火墙

摘要: CentOS 7默认使用的是firewall作为防火墙,使用iptables必须重新设置一下 1、直接关闭防火墙 1 2 3 systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止fir 阅读全文

posted @ 2019-07-09 20:28 冬天里暖阳 阅读(102) 评论(0) 推荐(0) 编辑

让普通用户拥有

摘要: 让普通用户拥有sudo执行权限。 切换到root 然后 vi /etc/sudoers 加入一行 root ALL = (ALL) ALL hadoop ALL=(ALL) ALL 阅读全文

posted @ 2019-07-09 13:18 冬天里暖阳 阅读(73) 评论(0) 推荐(0) 编辑

导航