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

最新文章

  1. sizeof(结构体) = ?
  2. URL传递中文乱码的问题
  3. Why is processing a sorted array faster than an unsorted array?
  4. cisco 路由配置
  5. 老叶观点:MySQL开发规范之我见
  6. 5个让DBA爱上你的SQL技巧
  7. 【原创】Android多个xml文件的使用
  8. 【动态规划】XMU 1029 矩阵链乘法
  9. mysql索引之普通索引
  10. c++设计模式15 --组合模式
  11. asp.net使用qq邮箱发送邮件
  12. sb error
  13. 最简单的基于FFmpeg的AVDevice例子(屏幕录制)
  14. Once More
  15. 跟随我在oracle学习php(12)
  16. Docker 容器启动 查看容器状态 - 四
  17. centos7搭建ELK开源实时日志分析系统
  18. cocos2d-x学习网站
  19. R语言统计字符串的字符数ncahr函数
  20. Ruby:字符集和编码学习总结

热门文章

  1. CodeQL练习1
  2. webgl 系列 —— 绘制一个点(版本2、版本3、版本4、版本5)
  3. 几种排序(c#实现)
  4. 麒麟v10系统安Influxdb2.0教程
  5. 第六周作业-N67044-张铭扬
  6. DRF全局总结
  7. 如何利用fooview实现钉钉自动打卡
  8. Mysql 原生语句
  9. calendar.getActualMaximum(calendar.DAY_OF_MONTH)的陷阱,2月份最后一天成了3月3号
  10. echart lengend 选中事件