Difference between revisions of "OSSEC: Ubuntu 18.04"

From OnnoWiki
Jump to navigation Jump to search
Line 3: Line 3:
 
  sudo su
 
  sudo su
 
  apt update
 
  apt update
  apt -y install build-essential make zlib1g-dev libpcre2-dev
+
  apt -y install build-essential make zlib1g-dev libpcre2-dev libz-dev libssl-dev libevent-dev
apt -y install libz-dev libssl-dev libpcre2-dev libevent-dev build-essential
 
  
 
Fast way steps:
 
Fast way steps:

Revision as of 06:30, 30 March 2020

Install Pendukung

sudo su
apt update
apt -y install build-essential make zlib1g-dev libpcre2-dev libz-dev libssl-dev libevent-dev

Fast way steps:

1- Run the script ./install.sh. It will guide you through the

  installation process.

2- The script will create everything in /var/ossec and try to

  create the initialization script in your system (/etc/rc.local
  or /etc/rc.d/init.d/ossec). If the init script is not created,
  make sure to follow the instructions from the install.sh to make
  OSSEC HIDS start during the boot. To start it by hand, just run
  /var/ossec/bin/ossec-control start

3- If you are running it on multiple clients, make sure to install

  the server first. Use the manage_agents tool
  to create the right encryption keys.

4- Enjoy.


Pranala Menarik