Today I will show you guys how to install OSSEC HIDs Server on Ubuntu 20.04, and install OSSEC Agent on Window machinesI used these source below
sudo apt update && sudo apt upgrade
sudo apt install -y php php-cli php-common libapache2-mod-php apache2-utils sendmail inotify-tools apache2 build-essential gcc make wget tar zlib1g-dev libpcre2-dev libpcre3-dev unzip libz-dev libssl-dev libpcre2-dev libevent-dev build-essential
sudo systemctl enable apache2
sudo systemctl start apache2
sudo a2enmod rewrite
sudo systemctl restart apache2
wget https://github.com/ossec/ossec-hids/archive/3.6.0.tar.gz
sudo tar -xvzf 3.6.0.tar.gz
sudo ossec-hids-3.6.0/install.sh
cd /tmp/
sudo git clone https://github.com/ossec/ossec-wui.git
sudo mv /tmp/ossec-wui /var/www/html
cd /var/www/html/ossec-wui
sudo ./setup.sh
sudo chown -R www-data:www-data /var/www/html/ossec-wui/
sudo chmod -R 755 /var/www/html/ossec-wui/
sudo ufw allow 1514
sudo /var/ossec/bin/manage_agents
sudo /var/ossec/bin/ossec-control restart
Please contact me using the info below. I'm alway happy to connect and make new friend
Source
Today I will show you guys how to install OSSEC HIDs Server on Ubuntu 20.04, and install OSSEC Agent on Window machines
I used these source below
Requirement
To know more about agent please view this: https://www.ossec.net/download-ossec/
Prerequisites
OSSEC Install
OSSEC Server Install
*
Installing the Web User Interface
Adding an OSSEC Agent
Configure on OSSEC Server
Configure on Agent Machine
Testing OSSEC Service
Fixing error
Can't see new agent after connect