vernon.wenberg.net

a mostly private knowledge repository

Note: These posts are notes for me. These are not guides and you should not use these instructions as step-by-step instructions without knowing what they do.

Latest Posts

Wireguard Installation

2021-01-09

Use Angristan's automated WireGuard installation . The install will create a client .conf file in the directory you ran the script. Import the .conf file into your client. Client install files can be...

Install Gogs on Ubuntu 20.04 with MariaDB

2021-01-03

These instructions will install Gogs on an Ubuntu 20.04 server using the MariaDB back-end. Gogs is a self-hosted front-end to Git . Gogs is extremely lightweight and comes in a single binary file. It...

Upgrade/Install PHP 7.4 in CentOS 8

2020-12-18

The good news is this whole process is relatively painless, so here we go. As always, all the commands assume you have root permissions. First, install the EPEL and remi repositories. dnf install...

Import certificate for Firepower Remote Access VPN

2020-10-20

This guide uses a DigiCert certificate, but any certificate bundle would work. The easiest way to do this is using a PKCS12 file. The certificate CSR, key, and PFX file are generated in Linux. Save...

Monitor or watch an rsync process

2020-09-21

strace -e open $(ps -o lwp= -LC rsync | sed 's/^/-p/') ... or to see what files the process has opened. lsof -ad3-999 -c rsync?

Useful wget examples

2020-08-11

wget --recursive --no-clobber --no-parent --domains mirror.atl.genesisadaptive.com -R "index.html" http://mirror.atl.genesisadaptive.com/fedora/linux/releases/32/Server/x86_64 /os/ This is useful for...

Quick time server set up on HP/Aruba switches

2020-07-03

This is a quick configuration of setting a time server on Aruba/HP switches. Enable sntp. timesync sntp Specify how to get to your time server. sntp unicast If your DHCP server specifies an SNTP...

Manage Mayan EDMS in Docker

2020-06-03

docker exec -ti mayan-edms /bin/bash cd /opt/mayan-edms/bin Execute ./mayan-edms.py to get a list of available commands

Ubuntu 18.04 to 20.04 Upgrade Notes

2020-05-30

Upgrading might break your local resolver, DNSMasq. When you issue the command systemctl status dnsmasq , you might get an error that looks something like, dnsmasq: cannot access /etc/dnsmasq.d/lxd:...

Fix DNS after upgrading to Ubuntu Server 20.04

2020-05-21

The way DNS is configured in Ubuntu has become overly complicated in the last few versions. Instead of configuring /etc/network/interfaces , it is now configured using Netplan. But sometimes that...

Allowing root remote access on MariaDB/MySQL

2019-12-20

GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION; FLUSH PRIVILEGES;