Hadoop_00

时间:2021-09-10 01:22:52   收藏:0   阅读:28

设置静态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)

 

原文:https://www.cnblogs.com/rainbow-1/p/15242313.html

评论(0)
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!