How To Configure A Default Gateway on CentOS
A default gateway is what linux will use to interact with other computers connected on the network. This is typically the router and will send all packets to that IP address. The actions below all use the route command, to find out more possiblities view the route man page. View the Current Routing Table To […]
How To Setup SSH Key Authentication
SSH key authentication can be used for password-less login between 2 servers. This is also useful for adding a key to accounts like git or gitlab for version management. Source Server SSH Key Configuration Generate a RSA key for this system by typing the following ssh-keygen -t rsa The key generated will ask for a […]
Install mod_deflate on Apache
Mod_deflate is an apache module. Prior to having mod_deflate it was mod_gzip. Post apache 2.0 mod_deflate is used, it provides a slightly better compression than mod_gzip. It allows the size of certain file types to be compressed which in-turn allows clients to be able to download these files faster. This will cause the site itself […]
FFMpeg Install On CentOS 7
FFmpeg is a video editing software that can be used to convert audio and video streams in linux. Compiling ffmpeg from source can be quite complex, so there are a couple alternatives, either installing from yum or a static build already created. If you are looking for a more recent release than you should follow […]
Block Countries With Nginx and GeoIP
You can use nginx to either allow or deny certain countries from accessing your site using the GeoIP database which maps IP addresses to the origin country. Nginx GeoIP Requirements Nginx Installation – Nginx must already be installed on your server if it is not yet. Please see How to Install Nginx Nginx must also be […]
Nginx Browser Caching
You can use Nginx to Set cache expiration times to leverage browser caching for the user requesting specific file types. This will cause the browser to retain the downloaded image until the length of the expires header. This will cause faster page time loads on each subsequent request performed by the end user. Prerequisites: You […]
Nginx Directory Protection
There are a few different ways to protect directories with Nginx. Password protection is typically to keep certain users out or only let certain users in. This is useful in protecting certain content on websites you do not want everyone to be able to access. This guide assumes you already have a running Nginx installation, […]
Most Commented