How to install Pi-hole with Apache on CentOS 7

Installing Pi-hole on a CentOS 7 server (instead of a dedicated machine like a Raspberry Pi) is an option that the fine gentlemen who developed it gave us. Since I already had a server ready with Apache, I took that route. I have a small Optiplex 3040 that I use as my home server (you…

Running Steam on Debian using an Nvidia graphics card

If you’re running Steam on Debian using an Nvidia graphics card, you’ll probably run into this error when you’re starting Steam for the first time: To solve it just install the following package: Steam should now start without complaining. This happened to me in Debian SID, but I’ll assume it’s the same procedure for the…

OpenSSL cheat sheet

This OpenSSL cheat sheet was originally found on bitrot.sh. Since the site appears to be gone, and I had this saved, I’m leaving it here for future reference. Generating Certificates Generate RSA Private Key + CSR Generate Self Signed Certificate + Priv Key Generate CSR for existing Cert Generate CSR for Existing Key Create a…

Convert SSH key from PuTTY to OpenSSH

Recently I’ve had to migrate an SSH key that was generated on a Windows 10 machine to a Debian workstation. The instructions on how to convert an SSH key generated on PuTTY to OpenSSH are as simple as: And that’s it! This will get your private key on a format that openssh will recognize.To check…

Use virt-manager without root password on Debian 9

After installing virt-manager on Debian 9 you’ll notice that every time you try to open it it will ask for your root password.In order to avoid that you’ll just need to add your user to the libvirt group: Logout and login again. You can now open virt-manager without your root password.

Settings bug in Spotify on Fedora 25 with Wayland

Installing Spotify on Fedora 25 is an easy process: But if your system is using Wayland you’ll notice that when you click “Settings” nothing will happen! As a workaround you can click the arrow in the top right corner and use the arrow keys on your keyboard to select “Settings” and press Enter.

Login screen with dual monitors in Ubuntu 17.10

If you use Ubuntu 17.10 with dual monitors you’ll notice that the login screen won’t keep the same settings as your desktop. The workaround goes like this: Login and set up the displays as you please, using the settings control panel. Then, run the following commands on a terminal: And reboot. You’ll have your login…

How to upgrade Fedora 25 to Fedora 26

Fedora 26 is out! As someone who can’t stop tinkering and breaking things I’ve decided to upgrade my workstation (and see if dnf can handle the process without any major flaw). So without further delay here are the steps I took (your mileage may vary): BACKUP YOUR SYSTEM! If you’re in doubt that your machine…