Hadoop 设置静态IP、关闭防火墙
设置静态IP
[root@localhost ~]# cd /etc
[root@localhost etc]# cd sysconfig
[root@localhost sysconfig]# cd network-scripts/
[root@localhost network-scripts]# vi ifcfg-ens33
[root@localhost network-scripts]# service network restart
关闭防火墙:
[root@localhost network-scripts]# systemctl stop firewalld
[root@localhost network-scripts]# systemctl disable firewalld
Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
[root@localhost network-scripts]# systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:firewalld(1)
最新文章
- sizeof(结构体) = ?
- URL传递中文乱码的问题
- Why is processing a sorted array faster than an unsorted array?
- cisco 路由配置
- 老叶观点:MySQL开发规范之我见
- 5个让DBA爱上你的SQL技巧
- 【原创】Android多个xml文件的使用
- 【动态规划】XMU 1029 矩阵链乘法
- mysql索引之普通索引
- c++设计模式15 --组合模式
- asp.net使用qq邮箱发送邮件
- sb error
- 最简单的基于FFmpeg的AVDevice例子(屏幕录制)
- Once More
- 跟随我在oracle学习php(12)
- Docker 容器启动 查看容器状态 - 四
- centos7搭建ELK开源实时日志分析系统
- cocos2d-x学习网站
- R语言统计字符串的字符数ncahr函数
- Ruby:字符集和编码学习总结