Category: Linux

OSSEC: How to Install OSSEC Agent and Server on Linux

Each distro needs different packages to compile the code there are pre-made binaries available, Build Dependencies Each distro needs different packages to compile the code Install the appropriate packages for you distro. I’ll update them as I discover them Ubuntu 16-18 apt install -y unzip build-essential zlib1g-dev libsqlite3-dev libpcre2-dev wget unzip make gcc php php-cli
Read More »

OSSEC: How to Install the Windows Agent

Get the windows binary from atomicorp. https://updates.atomicorp.com/channels/ossec/windows/ At the time of writing, the latest is 3.6.0. Download and install the exe. During the installation, you will get an error. Ignore it.   Next, we need to download the libpcre2-8-0.dll from the git-sdk-64 Github page in mingw32/bin/libpcre2-8-0.dll and stick it in the osscec-agent folder at C:\Program
Read More »

libvirt error: symbol lookup error: /usr/lib/libvirglrenderer.so.1: undefined symbol: gbm_bo_unmap

I encountered the following error after installing the AMDGPU Pro drivers on my Arch Linux machine: error: internal error: process exited while connecting to monitor: /usr/bin/qemu-system-x86_64: symbol lookup error: /usr/lib/libvirglrenderer.so.1: undefined symbol: gbm_bo_unmap The error is caused because the thing it is looking up does not exist. Luckily the fix is easy.   Add the
Read More »

Ubuntu: Change from 32 Bit to 64 Bit (Mostly)

Tested on Ubuntu 16.04. Here are the commands, life story and explanation is below: echo foreign-architecture amd64 | tee /etc/dpkg/dpkgcfgd/multiarch dpkg --add-architecture amd64 apt update apt install linux-image-4.15.0-50:amd64 apt install gcc-multilib apt upgrade (Reboot, make sure you boot on to the new kernel), and then set sources.list to only have amd64 (Put [ arch=amd64 ]
Read More »