Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

133 total results found

Linux Server Administration

Getting to know Tux

Staging Configs To A USB

Pi Backup Scripts

These scripts are broken, and are no longer being worked on.If you just copy them and execute them without reading them, they will not work, and may have unexpected results.dd can be used instead to backup the image of the SD card of the Pi and its filesystem....

Distributions

Linux Admin

Customization

Linux Admin

Documentation Generators

Self-Hosted Applications

Unity

Game Development

Interfaces

Linux Admin

Usage

Git

Apache

Networking Web Servers

Changing your Apache Server Root Directory Your Apache installation determines what content to serve based on the DocumentRoot Default directory. DocumentRoot Default = /var/www/html -document root configured in the following files: sudo vim /etc/apache2...

Bash Profiles

Linux Admin Bash

The following block contains a list of files related to bash, and their location / use. /bin/bash The bash executable /etc/bash.bashrc The system-wide bashrc for interactive bash shells, invoked on any login to an interactive shell. /etc/skel/.bashrc Used...

Installation

Pi Magic Mirror

Execute the following command on your Raspberry Pi to install MagicMirror²:bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)" Start MM: cd ~/MagicMirror/npm startGrab the unclutter package to hide mous...

Magic Mirror Modules:

Pi Magic Mirror

Install here:~/MagicMirror/modules/Add to config:~/MagicMirror/config/config.jsDefault Template:~/MagicMirror/config/config.js.sampleCurrent list in use: MMM-DarkSkyForecast MMM-EARTH MMM-Globe MMM-OnScreenMenu MMM-Remote-Control

User Administration

Linux Admin SSH Configuration

Managing passwords Change current user password, prompt for current passwd - passwd If you can sudo, run sudo passwd <user> to change a user password without prompt for current password, and with no security restrictions (min length, difficulty, etc) Removi...

BookStack Configuration

BookStack Installation

Environment Settings Bookstack stores custom settings file .env within its active directory, /var/www/bookstack/ this is where you will go to modify most settings within your bookstack instance. Check the GitHub link below for a complete list of environment v...

Monitoring

Security

Backup Bookstack Using Docker

BookStack Development

Don't drive as root, create a BookStack administrator account by following the adduser instructions. If you are running Bookstack in a docker container, run the following command to backup the database from outside the docker container. Navigate to the root o...

Configure FTP

Linux Admin System Admin

You can use scp instead, taking advantage of the added security and already-configured users on your system. It works a lot like ssh Copy a file from a remote host to your local host - scp -i ~/.ssh/some_key -P 22 username@123.123.123.12:/home/username/test ...

Fail2Ban

Security Monitoring

Links & Installation Fail2ban Documentation Linode Fail2ban Guide sudo yum install fail2ban sudo apt install fail2ban sudo pacman -Syu fail2ban etc.. Configuration Files /etc/fail2ban/ To modify configs, copy any fail2ban.conf to fail2ban.local and modify t...

DNS

Networking Protocols

Basic Settings To configure basic DNS for a new domain, we will only really need to create two records, after ensuring our nameservers are pointed to the correct location. If you are just messing around with NGINX or Apache, there is no real need to purchase a...

NGINX

Networking Web Servers

Install Install nginx by running the commands below sudo apt update && sudo apt upgrade sudo apt install nginx Configure SSL SSL certificates are limited, see the LetsEncrypt documentation on SSL rate limits for more information. Take notice of the section ab...

DevSec Baselines

Security Server Hardening

Overview DevSec offers a range of baseline tests for configuring basic security across various applications. These can be ran via commandline or manually reviewed at dev-sec.io These baseline tests requires Inspec to be installed. If you don't have it instal...

Enabling Google 2FA

Linux Admin SSH Configuration

Overview Two factor authentication is easy to configure and helps further secure your server. It requires a few extra packages -  sudo apt update &amp;&amp; sude apt upgrade sudo apt install libpam-google-authenticator Along with these packages, we will ne...

Bookstack Using Docker Compose

BookStack Installation

Creating a Bookstack on localhost A Bookstack can be easily ran with docker using the default .env settings and tested through visiting localhost in a web browser. Follow the Docker Installation Instructions and create a docker-compose.yml configuration that ...

Server Hostname

Linux Admin System Admin

Renaming An Ubuntu Linux Host Renaming a host on Ubuntu is simple, just need to make some very small changes to both /etc/hosts and /etc/hostname. See the comments within the files below for more information. Once these changes are made, simply reboot the hos...

Welcome to Knoats!

BookStack Knoats

This is a personal project in server-administration, documentation, and development. None of the information here is considered official documentation of any kind. Sign up is open, email verification is required, and upon logging in you will only be able to vi...

Certbot SSL Certificates

Networking

Its important to encrypt your web traffic to keep you and anyone who passes information through your website secure. To install Certbot and generate an SSL certificate, run the below commands. curl -o- https://raw.githubusercontent.com/vinyll/certbot-install/m...

Updating BookStack Using Docker

BookStack Development

You can use volumes within docker-compose to store your configurations for your services, including other files and databases, on the host and pass them to the container to be used - this enables you to easily remove containers and purge images without worryin...

URL Shortners

Self-Hosted Applications

Docker Compose Services

Docker

Programming

Everything from squashing bugs to building an executable

C++

Containers

For all things Docker related

Pi

Docker

BookStack

Self-Hosted Applications

Networking

Security

Linux Admin

Git

Vim

Ansible

Game Development

Site Generators

Self-Hosted Applications

Blockchain

JavaScript

Installation

BookStack

https://www.bookstackapp.com/docs/admin/installation/

Magic Mirror

Pi

https://github.com/MichMich/MagicMirror

SSH Configuration

Linux Admin

Backup Scripts

Pi

For posting drafts, notes on backing up the pi and mirror with bash scripts

Development

BookStack

For my development notes

Server Hardening

Security

Knoats

BookStack

System Admin

Linux Admin

Web Servers

Networking

Bash

Linux Admin

Yubikey SSH Authentication

Linux Admin SSH Configuration

Overview Yubikeys provide many different forms of secure authentication, for the sake of time this guide will only cover OTP (One Time Password) Authentication over SSH configured on an Ubuntu 19.04 box. This form of authentication allows you to consolidate a...