Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python3
import time
import os
from watchdog.observers import Observer
from watchdog.events import *
CMD_GADGET_MOUNT = "modprobe g_mass_storage file=/usb.fat32 stall=0 ro=1"
CMD_UNMOUNT = "modprobe -r g_mass_storage"
CMD_SYNC = "sync"
CMD_LOOPBACK_MOUNT="losetup -fP /usb.fat32"
@JacobCarrell
JacobCarrell / DBX.md
Last active October 4, 2023 17:30
Installing Splunk Database Connect (DBX)

Splunk Database Connect (DBX) Installation Guide For Ubuntu and Centos

Introduction & Scope

This guide is meant to be a set of step by step instructions for installing Splunk Database Connect 3.3.1 (henceforth referred to as DBX) on a stock install of Splunk 7.3.x and 8.0.x. OpenJDK 8 on Ubuntu 16.04 and Centos 7, and OpenJDK 11 on Ubuntu 20.04 and Centos 8. This does not cover OS or Splunk initial installation and configuration, and only covers Microsoft SQL Server's JDBC driver v8.2.x. This guide also assumes some familiarity with Splunk, and whichever OS you choose.

Required Software