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.
Open ports 42217 (rrdcached) and 11211 (memcached) in the firewall and reload the firewall. firewall-cmd --zone=public --permanent --add-port 42217/tcp firewall-cmd --zone=public --permanent...
IPV6 sometimes break DNS resolution in Ubuntu 18.04. Follow the steps below to disable and verify that IPV6 is disabled in Ubuntu. Edit /etc/sysctl.conf and add the following lines to the end of the...
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...
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...
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...
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...
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?
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...
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...
docker exec -ti mayan-edms /bin/bash cd /opt/mayan-edms/bin Execute ./mayan-edms.py to get a list of available commands
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:...