Last active
September 15, 2023 21:31
-
-
Save suuhm/1d4614704d085dd80a31ae980313e51e to your computer and use it in GitHub Desktop.
OSSEC 3.7.0 installing helper script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Set Version you wished: | |
VER="3.7.0" | |
echo "Installing OSSEC v${VER}" | |
echo "(c) 2023 - suuhm" | |
echo; sleep 2 | |
apt clean && apt update | |
apt install sudo build-essential libsystemd-dev | |
apt install libevent-dev libpcre2-dev zlib1g-dev libssl-dev | |
wget https://github.com/ossec/ossec-hids/archive/${VER}.tar.gz -O ossec-${VER}.tar.gz | |
tar -xvf ossec-${VER}.tar.gz && rm ossec-${VER}.tar.gz | |
cd ossec-hids-${VER} && ./install.sh | |
echo; echo "Done, bye"; sleep 1 | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment