How to Block Specific IP Address with UFW (Uncomplicated Firewall)
Jason Jason Photo Jason Jason, Jan 07, 2017

As any server admin will tell you, having a website means you're going to have people trying to hack it. One of my servers seems like it's under constant attack from various IP addresses, and though there are many things that can be done to mitigate an attack on your server, one of the easiest is to simply block all requests from the specific IP address of the attacker. I like to use Uncomplicated Firewall (UFW) for managing my IP tables entries because as its name implies, it makes things less complicated. To setup UFW, follow the directions on Digital Ocean. Once you're setup, here are some...

Continue reading this post
Setting Laravel's Queue with Supervisor
Jason Jason Photo Jason Jason, Aug 22, 2016

After upgrading our servers from Ubuntu 14.04 LTS to Ubuntu 16.04 LTS, it seemed like just about everything needed to be checked to make sure it was working. I just wrote a brief article on how to get PHP 7 up and running on Ubuntu 16.04, and after verifying that all my websites were up and running, it was time to make sure all the queued jobs were being executed properly. Laravel has a queue process that I like to manage with a program called Supervisor. Normally, supervisor seems to work great, but after upgrading and rebooting, it seemed like none of Laravel's queued jobs were running. Here...

Continue reading this post
Synchronizing Files Across Multiple Servers with Amazon S3
Jason Jason Photo Jason Jason, May 10, 2016

I'm still working with a lot of video files on a daily basis. Most people would simply upload their videos to Youtube or Vimeo and call it good, but when you charge a membership fee for your video content, uploading your content to a free service isn't always a good idea, primarily because you lose some control over your content. That's why it was necessary for me to figure out a way to have one central collection of my videos that would sync accross all our servers automatically. Though I went through this process using video content, the same principles can apply for any type of file data yo...

Continue reading this post