by Nick | Dec 6, 2020 | Desktop, Powershell, Software
This is useful if using remote shell to do things. I used this when I migrated from RemoteUtilities (great software, but I can’t seem to find a cheap host for a Windows OS, MeshCentral only requires a small Linux server) to MeshCentral. I was able to use the... by Nick | Dec 6, 2020 | Powershell, Scripting, Windows, Windows Server
This is extremely useful if you need to download something in Windows via CLI. This is just like wget on LInux. Previously I would use the precompiled wget program on machines, but now that I learned how to use powershell it’s great. mkdir c:\temp cd c:\temp... by Nick | Nov 19, 2020 | Bash, check_mk, Linux, Scripting, Tech
After using LibreNMS for years and it was giving me issues, I decided to give check_mk RAW a try. It works great. I was able to find a way to have check_mk check for Domain Expiry. The original post is HERE, but the formatting wasn’t working so I reposted it.... by Nick | Nov 12, 2020 | Bash, CentOS, Debian, Fun, Linux, Scripting, Tech
Today I was finally able to figure out how to stdin from a file for systemctl edit 🙂 env SYSTEMD_EDITOR=tee sudo -E systemctl edit –system [your_unit_name] < [your_content_file] I found it HERE. by Nick | Oct 25, 2020 | Acme.sh, CentOS, Debian, LetsEncrypt, Nginx
Here is how to install SSL certs using acme.sh that will work with haProxy acme.sh \ –install-cert \ -d domain.com \ –reloadcmd \ “cat \$CERT_KEY_PATH \$CERT_FULLCHAIN_PATH >/etc/haproxy/ssl/domain.com && \ service haproxy...