JavaShuo
  • 栏目
  • 标签

Centos7配置 SNMP服务(防火墙配置注意) Centos7配置 SNMP服务

时间  2020-09-11
标签 centos7 centos 配置 snmp 服务 防火墙 注意 栏目 Tomcat 繁體版
原文   原文链接

Centos7配置 SNMP服务

JLMark 关注 0人评论 40287人阅读 2018-04-12 08:56:52

1、安装yum源安装SNMP软件包
ide

    一、更新yum源:
url

    yum clean all
rest

        

    yum makecache
xml

        

     yum repolistblog

        

二、yum源安装SNMP服务:ip

    yum -y install net-snmp net-snmp-utils
get

         

三、查看SNMP版本号:cmd

     snmpd -vit

           

2、更改团体名:io

    vi /etc/snmp/snmpd.conf

        com2sec notConfigUser  default  public

        改成;

        com2sec nontConfigUser  defautl  passw0rd (此为须要验证的团体名)

        

3、重启服务:

        systemctl start snmpd.service    #启动SNMP服务

        systemctl enable snmpd.service  #开机启动SNMP服务

        

4、添加防火墙端口

        firewall-cmd --state    #查看防火墙状态

        

        

        firewall-cmd --list-all

        


    vi /etc/firewalld/zones/public.xml


    <port protocol="udp" port="161"/>


    systemctl restart firewalld.service   #重启防火墙服务

    firewall-cmd --list-all

   


systemctl restart snmpd.service   #重启SNMP服务

    


来源: https://blog.51cto.com/5001660/2097212


来自为知笔记(Wiz)
相关文章
  • 1. Centos7配置 SNMP服务
  • 2. linux下配置snmp服务
  • 3. centos7 的防火墙配置
  • 4. Centos7防火墙配置
  • 5. Linux-Centos7防火墙配置
  • 6. Centos7.x防火墙配置
  • 7. Centos7 防火墙配置
  • 8. centos7防火墙配置
  • 9. 山石C2100防火墙配置SNMP
  • 10. CentOS7配置防火墙
  • 更多相关文章...
  • • Hibernate事务的配置 - Hibernate教程
  • • Eclipse Debug 配置 - Eclipse 教程
  • • Spring Cloud 微服务实战(三) - 服务注册与发现
  • • IntelliJ IDEA 代码格式化配置和快捷键
相关标签/搜索
    配置服务 配置 NFS服务器配置 spring 事务注解配置 linux配置 git配置 nginx配置 IDEA配置 配置项 配置文件 Tomcat CentOS SQLite教程 MyBatis教程 Spring教程 服务器 微服务 数据业务
0
分享到微博 分享到微信 分享到QQ
每日一句
    每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
  • 1. css 让chrome支持小于12px的文字
  • 2. 集合的一点小总结
  • 3. ejb
  • 4. Selenium WebDriver API
  • 5. 人工智能基础,我的看法
  • 6. Non-local Neural及Self-attention
  • 7. Hbuilder 打开iOS真机调试操作
  • 8. improved open set domain adaptation with backpropagation 学习笔记
  • 9. Chrome插件 GitHub-Chart Commits3D直方图视图
  • 10. CISCO ASAv 9.15 - 体验思科上一代防火墙
本站公众号
   欢迎关注本站公众号,获取更多信息
相关文章
  • 1. Centos7配置 SNMP服务
  • 2. linux下配置snmp服务
  • 3. centos7 的防火墙配置
  • 4. Centos7防火墙配置
  • 5. Linux-Centos7防火墙配置
  • 6. Centos7.x防火墙配置
  • 7. Centos7 防火墙配置
  • 8. centos7防火墙配置
  • 9. 山石C2100防火墙配置SNMP
  • 10. CentOS7配置防火墙
>>更多相关文章<<
联系我们 最近搜索 最新文章 沪ICP备13005482号-10 MyBatis教程 SQL 教程 MySQL教程 Java 教程 Thymeleaf 教程 Hibernate教程 Spring教程 Redis教程