I ran into some issues recently where I needed to redirect HTTP to HTTPS for all requests on my site. It took a surprising amount of Google searching and tinkering to find a solution. Ultimately the solution was pretty simple, so I figured I’d share it here and hopefully same other people some time. So, backstory, […]
Cloud Server Performance Metrics
It’s hard to really know what you get when buying cloud services today. Depending on the vendor they might sell their services with set amounts of “cores”, or “compute units”, or “vCPUs”. Storage might be spinning disks in speeds ranging from 7,200 RPM to 15,000 RPM or the storage might be newer solid state drives […]
Hosting, Linux, performance, WindowsHow do you add an existing user to the sudoers file?
Are you or one of your users getting the following error when trying to execute a sudo command? [username] is not in the sudoers file. This incident will be reported Here is how to fix that problem (*see note). As root type: echo ‘[username] ALL=(ALL) ALL’ >> /etc/sudoers Obviously substitute [username] with your actual username. *NOTE: Not […]
centos, Linux, RHELExtend Your Linux Disk Space
I was pondering an interesting, and likely fairly common, situation last night so this morning I was up early getting my geek on (aka, playing, testing, and troubleshooting). If someone has a Linux VM (cloud server or whatever) with a set size but then need to add more space to their system and make it […]
centos, Hosting, Linux, System AdministrationUbuntu VIM
It seems that some lame light version of VIM gets installed with Ubuntu by default. A specific situation I was running into was that whenever I pressed a cursor key while in edit mode it wouldn’t move the cursor but instead write a character (A,B,C,D) to the file. After fighting with it for a while I […]
Linux, Ubuntu