在CentOS7.6搭建ossec server3.2

环境 CentOS7.6 ossec 3.2
大部分操作与ossec2.8.3类似
区别
1、安装方法:[root@warship src]# make TARGET=server DATABASE=mysql install
2、配置文件:[root@warship ~]# vim /var/ossec/etc/ossec.conf
remote项目

  
    secure
    192.168.238.0/24
  

最后添加



        127.0.0.1
        ossec
        ossec
        ossec
        mysql



重启服务显示

[root@warship ossec-hids-3.2.0]# /var/ossec/bin/ossec-control restart
ossec-monitord not running ..
Killing ossec-logcollector .. 
ossec-remoted not running ..
ossec-syscheckd not running ..
Killing ossec-analysisd .. 
Killing ossec-maild .. 
Killing ossec-execd .. 
OSSEC HIDS v3.2.0 Stopped
Starting OSSEC HIDS v3.2.0...
Started ossec-maild...
Started ossec-execd...
Started ossec-analysisd...
Started ossec-logcollector...
Started ossec-remoted...
Started ossec-syscheckd...
Started ossec-monitord...
Completed.
[root@warship ossec-hids-3.2.0]# /var/ossec/bin/ossec-control status
ossec-monitord is running...
ossec-logcollector is running...
ossec-remoted: Process 20938 not used by ossec, removing ..
ossec-remoted not running...
ossec-syscheckd is running...
ossec-analysisd is running...
ossec-maild is running...
ossec-execd is running...

3、analogi无法使用
在CentOS7.6搭建ossec server3.2_第1张图片
大部分参考 https://blog.csdn.net/jb19900111/article/details/88963252
https://xz.aliyun.com/t/2003#toc-6

你可能感兴趣的:(服务器与存储)