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... by Nick | Oct 14, 2020 | Backups, Fun, Software, Tech, Windows
Here’s how to install Duplicati as a Windows Service Download Duplicati from HERE. During install don’t mark “Auto Start up” option Open CMD as admin Search for CMD Right click on CMD Click “Run as admin” Navigate to the... by Nick | Oct 1, 2020 | Fun, Software, Windows
This seems to be just like connecting via SSH to a Linux machine, but with Windows. I’ve only tested with Windows 10, but it works great. 1. Download PSEX HERE. 2. Extract ZIP wherever (I like to use 7zip). 3. CD to that location via CMD as domain admin (this is... by Nick | Sep 26, 2020 | Desktop, Software, Tech, Windows
Go to https://www.microsoft.com/en-us/software-download/windows10ISO and use the dev tools F12 on browsers to change device to mobile. Then you should be able to choose the version/lang/type and then you’ll get a direct link from Microsoft. by Nick | Sep 24, 2020 | Debian, Desktop, Tech, Unix, Windows, WSL
1. Open a command prompt or PowerShell. (You shouldn’t run as admin since this is based for the specific user). 2. Copy and paste the command below into the command prompt or PowerShell for the .exe file of the WSL distro name (ex: “Debian”) you want... by Nick | Sep 2, 2020 | CentOS, Debian, Email, Fun, Linux
There’s many times when I want to send an email for testing using postfix and I can never remember how to do it. Here is how.This is super useful to make sure your SMTP relay thru AWS/Postmark is working as it should. Then you can tail /var/log/mail.log to see... by Nick | Aug 31, 2020 | IPMI, Servers, Software
If you ever run into a scenario where you have an ACL in place, but can’t get on the IP that’s in the ACL and you have ssh access, the following will work well. You have to do a partial factory reset which resets everything other than the networking. The... by Nick | Aug 28, 2020 | iPhone, Tech
So I finally switched to iPhone and ordered an Apple Credit Card (I love this thing). The cash back is put on you Apple Cash account, if your account can’t be verified than you don’t get the cash back. So I started the process of verifying my account. I... by Nick | Aug 7, 2020 | Acme.sh, CentOS, Debian, LetsEncrypt, Linux, Nginx, Servers, Software, Unix
This is very useful when you have everything redirected with NGiNX to HTTPS, but acme.sh/LetsEncrypt requires HTTP for verification. server { listen 80; server_name DOMAIN.COM; root HTTP_ROOT; location ^~ /.well-known/acme-challenge/ { try_files $uri =404; } location... by Nick | Aug 7, 2020 | CentOS, cPanel, Email, Linux, Servers, Software
Sometimes you have an email account and you want to edit the email/hour for only one of the domain on the account, here is how to do that. SSH to the server ssh domainHere.com Edit the file /var/cpanel/users/userAccount file Add or Edit a line like this... by Nick | Aug 5, 2020 | CentOS, cPanel, Linux, Servers, Software, Tech
Sometimes you don’t know or want to change the root password to be able to log into WHM as root (yes I know you shouldn’t log in as root, but sometimes you do). Here’s the command to do that via CLI whmapi1 create_user_session user=root... by Nick | Aug 5, 2020 | Apache, CentOS, cPanel, Debian, Linux, Nginx, Software, Tech, Unix
Here’s how to create a cert/csr with more than one domain name. First you’ll want to create the directory. I use NGiNX so I like to put my certs in /etc/nginx/ssl, but you can put yours anywhere So now we will create the directory mkdir... by Nick | Aug 2, 2020 | CentOS, Divi, Fun, Linux, Nginx, PHP, Tech, WordPress
How to make the pricing table height the same. When using the pricing tables module you will see that the height of each table is going to rely on the content you put there, so if you have different content in each table, you will see something like this: This might... by Nick | Jun 30, 2020 | Desktop, Tech, Windows
Since Windows 10 has been released there’s no easy way to skip/hide updates you don’t want installed. In Windows 7 it was super easy. I finaly found a way to skip/hide them. You have to download a troubleshooter from Microsoft. HERE is the link. HERE is a... by Nick | Jun 30, 2020 | Desktop, Software, Tech, Windows
I noticed an issue where after updating Windows 10 2004 with KB4557957 some printers were no longer working. BetaNews did a good writeup HERE about the issue. Microsoft released a couple off-schedule patches to fix it. HERE is the BetaNews article about it. In short... by Nick | Jun 25, 2020 | IPMI, Servers, Tech
Here is how to change the NIC for IPMI to be shared or dedicated. I know this works on SuperMicro I’m not sure about other vendors Make sure you have IPMI tool installed and you’re able to connect via ipmitool To Get Lan Mode ipmitool raw 0x30 0x70 0x0C... by Nick | Jun 24, 2020 | Tech
This will work if you made the PV your whole disk. If you want to do so with partition follow the link HERE. I use XCP-NG and when adding additional space to an existing disk I scan for the extra space using the command below and the extra space doesn’t appear.... by Nick | Jun 22, 2020 | Apache, CentOS, cPanel, Debian, Fun, Linux, PHP, Servers, Software, Tech
Unfortunately it doesn’t appear cPanel allows you to easily change the username. Most documentation I’ve read says to use the “Rearrange an Account” option, but if you only have one disk that doesn’t seem to get you an option. The... by Nick | Jun 19, 2020 | CentOS, Debian, Fun, Linux, Nginx, Servers, Software, Tech, Unix
First you have to install acme.sh. I like using acme.sh because it’s all bash based. As with all posts I take no responsibility for anything and this is more of a quick help instead of a full guide. I have a script that I use to deploy my WordPress sites. The... by Nick | Jun 15, 2020 | Desktop, Fun, Servers, Software, Tech, Windows, Windows Server
There error comes in many forms one of the forms are “The trust relationship between this workstation and the primary domain failed.” If you’re able to log into the machine as a local admin it’s easy, you just do the following. 1. Use a local... by Nick | Jun 3, 2020 | CentOS, Debian, Fun, Hardware, Linux, Servers, Tech
I was having issues finding the correct way to add the remaining free space to the last partition (afraid to do so since it was on a live machine). I was finally able to figure it out. Use this to see free space parted /dev/sdX print free Then this to expand parted...