github logo

Backup your website off-site with git every day

Today we’ll be going over how to backup your website off-site with git every day. You can use this guide with any service that supports git, we’re focusing on GitHub because it’s reliable, robust and offers a free tier. Start off by signing up with GitHub here. Next, create a…

Read More
nginx timeout

504 Gateway Time-out – Nginx

You run a task and Nginx throws the following error: upstream timed out (110: Connection timed out) while reading response header from upstream This can be truly annoying and at times difficult to pinpoint. To fix this error, create a new file called limits.conf at the location and copy…

Read More
MongoDB Logo

Create new database in MongoDB

Today we’ll look at how to create a new database in MongoDB. Connect to mongod via the following line, replace your credentials mongo -u ‘username’ -p ‘password’ –authenticationDatabase ‘admin’ If you’re successfully authenticated then you’ll see the following prompt: To create a new database issue the following at this prompt:…

Read More
centos logo

Requires: / CentOS 7

Ran into this rather peculiar error recently while installing Varnish Cache on CentOS 7. Resolving Dependencies –> Running transaction check —> Package varnish-devel.x86_64 0:5.2.1-1.el6 will be installed –> Processing Dependency: varnish = 5.2.1-1.el6 for package: varnish-devel-5.2. 1-1.el6.x86_64 –> Running transaction check —> Package varnish.x86_64 0:5.2.1-1.el6 will be installed –> Processing…

Read More
Proftpd Server

530 Login incorrect – ProFTPD

We updated an old server recently and the ProFTP server  started throwing this error “530 Login incorrect” and wouldn’t let us in. We looked at the usual culprits, reset passwords, verified directories but nothing seemed to work. We ran ProFTPD in debug mode like so, stop the ProFTPD service first:…

Read More