Category: Linux

Convert CRT and KEY files to PEM files

Typically I only do this if I need to run a server that uses PEM’s only. Convert CRT to PEM openssl x509 -in SOURCE.crt -out SOURCE.crt.der -outform DER This will make a DER file that can be removed afterwards. openssl

Tagged with: , , ,

How to install MariaDB on Ubuntu

Here is the best link to the installation procedures that is available.

Adding user to an existing group

I’ve always needed this quick snippet when adding users to existing groups. Here it is. usermod -a -G groupName userName

Tagged with: , ,

How to create swap memory for your Linux server

Firstly we’d confirm how much memory you have on your server: free -m There’s no definitive rule when it comes to how much swap is enough, but try somewhere between 1-2 times the amount of physical RAM your server has.

Tagged with: ,

How to install GD on Ubuntu

This little tidbit is a life saver! sudo apt-get install libgd2-xpm-dev

Tagged with: