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.
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:...
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...
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION; FLUSH PRIVILEGES;
There are several places where you will need to choose a custom value, such as password. Please keep that in mind. Update Ubuntu apt update apt upgrade -y Install MariaDB apt install mariadb-server...