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
ntfs-3g logo

Mount an NTFS drive on CentOS 7

This tutorial will cover how to mount an NTFS drive on CentOS 7. We’ll use the open-source version of the NTFS for Linux driver by Tuxera, NTFS-3G. The Prerequisites To mount an NTFS drive, start off by adding the remi-release and epel-release repos to your installation #Epel Repo: yum…

Read More
ZFS on Linux

Install and Configure ZFS – CentOS 7.6

We’ll look at installing and configuring ZFS on CentOS 7.6 today. Why ZFS? “It is an enterprise-ready open source file system and volume manager with unprecedented flexibility and an uncompromising commitment to data integrity. ZFS is a truly next-generation file system that eliminates most, if not all of the shortcomings…

Read More