User Tools

Site Tools


start

This is an old revision of the document!


brimble.com Wiki Page

Welcome to the brimble.com wiki start page. I plan to have a handful of articles on here that mostly have to do with checklists and steps to build and setup my network, server, etc. As I am a rookie with wiki editing, this should be interesting! Lets start with the list of hardware currently used.

See previous iterations


OPNsense Setup

The following link will guide you through setting up OPNsense. Currently, OPNsense is installed on a Protectli FW4C Vault.


EdgeRouter X Setup

The following link will guide you through the EdgeRouter X setup. It should contain all the steps required to configure the EdgeRouter X.


Unify ac Lite Access Point Setup

The following link will guide you through the UniFi ac Lite AP setup. It should contain all the steps required to configure the UniFi ac Lite AP.


Travel router with WireGuard VPN on Raspberry Pi

The following link will guide you through setting up a travel router using OpenWRT on a Raspberry Pi 4. It should contain all the steps required to configure the Raspberry Pi 4 to run OpenWRT as a travel router with dual Wifi and a WireGuard VPN connection.


Proxmox Setup

The following pages will guide you through the Proxmox setup and settings. This was a huge switch from having Unraid as the barebones system controlling everything to Proxmox being the OS. Unraid was then moved to a vm with it's sole purpose being data storage and parity while Proxmox handled the vms. An standalone vm was then installed to handle the Docker responsibilities that Unraid previously had.

Unraid Setup

The following pages will guide you through the Unraid setup and settings. It should contain all the steps gone through to configure brimble.com's Unraid setup.

Virtual Machines

Dockers

Scripts

  • fix_mysql_timeouts
#!/bin/bash
declare -r dockern="mysql"
echo "checking if my.cnf is already updated"
docker exec $dockern grep -q "wait_timeout = 600" /etc/my.cnf && a=1 || a=0
if [ $a == 1 ]
then
    echo "it has already been updated... no changes made"
else
    echo "it has not been updated... updating my.cnf to include new wait_timeout, interactive_timeout, and max_connection variables"
    docker exec $dockern sed -i '/user=mysql/a wait_timeout = 600\ninteractive_timeout = 600\nmax_connections = 500' /etc/my.cnf
    echo "done... restarting docker"
sleep 5
docker container restart $dockern
fi
echo "script complete"
  • fix_tomcat_jar_links
#!/bin/bash

echo "fixing www.brimble.com"
echo "creating simlinks for javax.activation.jar"
docker exec website ln -sf /usr/local/tomcat/webapps/jar/javax.activation-1.2.0.jar /usr/local/tomcat/lib/javax.activation.jar
echo "creating simlinks for javax.mail.jar"
docker exec website ln -sf /usr/local/tomcat/webapps/jar/javax.mail.jar /usr/local/tomcat/lib/javax.mail.jar
echo "creating simlinks for mysql-connector-java.jar"
docker exec website ln -sf /usr/local/tomcat/webapps/jar/mysql-connector-j-8.0.32.jar /usr/local/tomcat/lib/mysql-connector-java.jar
echo "done... restarting www.brimble.com"
sleep 5
docker container restart website

echo "fixing games.brimble.com"
echo "creating simlinks for javax.activation.jar"
docker exec games ln -sf /usr/local/tomcat/webapps/jar/javax.activation-1.2.0.jar /usr/local/tomcat/lib/javax.activation.jar
echo "creating simlinks for javax.mail.jar"
docker exec games ln -sf /usr/local/tomcat/webapps/jar/javax.mail.jar /usr/local/tomcat/lib/javax.mail.jar
echo "creating simlinks for mysql-connector-java.jar"
docker exec games ln -sf /usr/local/tomcat/webapps/jar/mysql-connector-j-8.0.32.jar /usr/local/tomcat/lib/mysql-connector-java.jar
echo "done... restarting games.brimble.com"
sleep 5
docker container restart games

echo "done"
  • minecraft_backup
#!/bin/bash
sudo rsync -av --delete /mnt/disks/samsung_nvme/appdata/binhex-minecraftOreCity/minecraft/worlds/ /mnt/user/backup/minecraft/orecity/worlds/
sudo rsync -av --delete /mnt/disks/samsung_nvme/appdata/binhex-minecraftDirkland/minecraft/worlds/ /mnt/user/backup/minecraft/dirkland/worlds/
sudo rsync -av --delete /mnt/disks/samsung_nvme/appdata/binhex-minecraftDirklandII/minecraft/worlds/ /mnt/user/backup/minecraft/dirklandII/worlds/
cd /mnt/user/backup/minecraft/orecity
tar -pzvcf $(date +%Y.%m.%d.%H.%M.%S).tar.gz worlds
cd /mnt/user/backup/minecraft/dirkland
tar -pzvcf $(date +%Y.%m.%d.%H.%M.%S).tar.gz worlds
cd /mnt/user/backup/minecraft/dirklandII
tar -pzvcf $(date +%Y.%m.%d.%H.%M.%S).tar.gz worlds
  • mysql_database_backup
docker exec mysql /usr/bin/mysqldump -u"USERNAMEWITHNOQUOTES" -p"PASSWORDWITHNOQUOTES" --databases airports bracket casino chrono fantasy football logbook ncaab ncaaf nextcloud photoprism poker toddcard walk > /mnt/user/backup/webpage/mysql/mysqldump.sql
cd /mnt/user/backup/webpage/mysql/
tar -pzvcf $(date +%Y.%m.%d.%H.%M.%S).tar.gz mysqldump.sql

Depzol Hot Keys

  • Hotkey Change:
    • Double click right CTRL then the new Hotkey you want then Enter (ie: CTRL CTRL NUMLOCK ENTER)
  • Turn on/off beep:
    • Double click Hotkey then B then Enter (ie: CTRL CTRL B ENTER)
  • Reset KVM:
    • Double click Hotkey then R then Enter (ie: CTRL CTRL R ENTER)

Standalone Server Setup

The following pages will guide you through setting up a Standalone Server. It should contain all the steps gone through to configure brimble.com's server setup.

Install Server

Install Extras

start.1722175649.txt.gz · Last modified: by dirk