Get Free Linux Server Security, Performance & Troubleshooting Tips

From the blog

Debugging Slow PHP Scripts using PHP-FPM slow_log variable

debug slow php scripts slowlog

Since the beginning of times, when you needed to check out PHP errors in the logs you always went to take a look into the famous error_log, that is part of all common web servers. However, since I switched to Nginx and started using PHP-FPM as default daemon for php processing, I discovered something really cool. Unlike mod_php…

Read More »

Run Nginx as a Docker Container

nginx docker tutorial

The days of working with FTP and simple operating system virtualizations are over… Modern web developers use Docker + Terminal to run & manage their services, and on this article we will explore a simple and fast way to run Nginx as a Docker container so you can start working with the fantastic Nginx dockerized. Docker containers changed…

Read More »

How to delete SPAM / Junk mails automatically on cPanel servers

delete junk mail on cpanel

A few days ago I was looking for a way to delete spam junk mails automatically for all user accounts on a cPanel server, and I’ve found there is not a built in solution on cPanel or WHM software. Unfortunately, cPanel doesn not include any way to automatically purge junk email messages. I guess they haven’t built such…

Read More »

Best Nginx anti hotlink configuration in 2017

stop hotlinking on nginx

Hotlinking is a big problem for most developers and website owners. On this article we will explore what is hotlink, and how to effectively configure an image hotlink protection for Nginx. Are you looking for a simple Nginx configuration to stop image hotlinking? Tired of this problem? Keep reading to learn how to stop hotlinking, we are going to…

Read More »

Linux PostgreSQL Restart Command

postgresql management commands on linux

PostgreSQL is an open source object-relational multi-platform database management system and one of the most popular alternatives to MYSQL. It is available on Windows, MacOS, Linux and Unix based systems. Today we will show you how to restart postgresql on Linux, you will also learn how to stop, start and get the full pgsql status from the Linux…

Read More »

Upgrade Fedora 25 to Fedora 26

upgrade fedora 25 to fedora 26

Weeks ago Fedora 26 was released, and as I use fedora linux on all my laptop computers I just decided to upgrade to the lastest stable version. This is the procedure I used on both work and home notebooks to upgrade Fedora 25 to Fedora 26, and it worked perfectly. Upgrade Fedora 25 to Fedora 26 If you…

Read More »

Top 10 Nginx Tips to increase web server performance

nginx performance tips

Nginx is my favourite web server.  I started testing Nginx on 2010, and started writing Nginx tutorials around 2012, when it was being adopted only by a few big companies. Today everybody uses Nginx because it is fast and 100% compatible with all kind of web programming languages, by far the best alternative to Apache 2. Let’s find…

Read More »