DDocker + Localhost MySQL

2019-12-08 1 Min Read— In Linux

I was having the hardest time getting applications in docker containers to connect to the instance of mysql runnning on the host. I finally found a great solution, so I figured I'd post it here for myself and so that others may find it as well…

SStandard Notes Selfhosted Installation

2019-12-06 3 Min Read— In Linux

What? Standard Notes is an opensource web-based notes application. Installation There are a few officially support install methods, including Docker, "Baremetal" and on Heroku. I'm going to continue on with the "Baremetal" variant here. I'd tried the…

BBash Intro

2018-03-23 8 Min Read— In Linux

Easy Shell is a collection of useful boilerplate linux commands for the daily life of every linux user! All credit goes to lucasviola on GitHub! Welcome This is a basics guide intended to help newcomers and experienced Linux users alike get more…

iiptables

2018-03-20 2 Min Read— In Linux

Run the following. It'll insert the rule at the top of your iptables and will allow all traffic unless subsequently handled by another rule. You can also flush your entire iptables setup with the following: If you flush it, you might want to run…

BBash Aliases

2018-03-11 1 Min Read— In Linux

Ever needed a seed to generate random passwords or keys? Here's an easy way to generate a few different variations of random characters directly in bash! # bash generate random 32 character alphanumeric string (upper and lowercase) # bash generate…

LLynis - Linux Server Auditing

2018-03-04 2 Min Read— In Linux

So you’ve got your system up and running the way you like it, but your wondering what else can I do to harden my server? Lynis to the rescue! Lynis is an open-source auditing tool that will run through a ton a of vulnerability checks and general best…

vvsftpd Setup

2018-02-28 4 Min Read— In Linux

So an FTP server is often one of the first things people want to setup on a new server. I recently setup two, one on my Raspberry Pi for making a 2TB USB Drive available in my home, and another somewhat more secure one on my VPS to transfer files…

BBash Operators

2018-02-25 6 Min Read— In Linux

These are called shell operators and yes, there are more of them. I will give a brief overview of the most common among the two major classes, control operators and redirection operators. A. Control operators These are tokens that perform control…

TTripwire

2018-02-24 1 Min Read— In Linux

Here’s a great little program to keep an eye on your system files to make sure no one inappropriate is changing them! I like to have this run in cron once a week and send me a report. When your first changing your system / installing things, a lot of…

BBash Pipes

2018-02-22 1 Min Read— In Linux

This table will hopefully help me keep the pipe madness in check. Am I overwriting or appending? Am I including StdErr? Etc.. visible in terminal visible in file existing file Syntax StdOut StdErr StdOut StdErr --- --- --- --- --- --- > no yes yes…

LLogwatch

2018-02-21 1 Min Read— In Linux

Logwatch is a pretty simple, but essential application in my server management arsenal. You can install it from the ubuntu repos directly, so this will do: After it is installed it will automatically set itself to run daily via your cron.daily folder…

FFirst 5 things to do with a new Ubuntu Server

2018-02-17 4 Min Read— In Linux

Here’s where one lands directly after the installation of a fresh Ubuntu image. In this case Ubuntu 16.04. SSH into your machine with your favorite client [Win 32/64: putty] So the first thing I like to do is create a new user for myself and add him…