How to SELinux allow Apache or PHP-FPM connect remote MySQL
If you have trouble apache or PHP-FPM can not connect to remote MySQSL server, example error on PDO connection on remote server like below First you need to check is…
How to Sync Directories Using Rsync with Custom SSH Port
SSH default port is 22, every body knew it. And it will cause many brute force SSH attacks. For security reasons, Linux administrator should change to custom port to securing…
How to make symbolic link on Linux chroot or jail user
Sometimes we need to create a jailed user on Linux to restrict that user. However, sometimes we need the jailed user to be able to access directories outside the home…
Encrypt your files with VeraCrypt on Linux, Windows, Mac OS and Android
This article will guide you how to secure your files using VeraCrypt, a free and open source encryption tools and multi platform, works on Windows, Linux and Mac OS, available…
How to create encrypted disk image with Linux LUKS format using Cryptsetup
If you have sensitive data or file, you can make an iso image on Linux. For example backup file, photo or even your source code, so no one can stole…
How to block bad bots LieBaoFast, MQQBrowser and Mb2345Browser using Fail2ban
Our server suddenly got big traffic and this traffic detected on Google Analytics. This spike traffic increase 1000 % – 2000 %. Our server resource very high, and CPU usage…
Webdav VS Samba / CIFS file system write and read speed test
We made simple benchmark to compare Webdav vs Samba / CIFS file system write and read speed. On local Intranet, we may be familiar with sharing files via your company…
Google SEO update about nofollow links
On Google Webmaster Conference 2019, Martin Splitt talk about link on website. Google announced a major change about nofollow links. Before nofollow links is a directive, that mean Google will…
How to clear swap usage on Linux
Swap is disk memory when physical Random Access Memory (RAM) is full. We know that disk write and read speed is very slow compared to RAM. But it not safe…
Monitor your Linux system health using Glances
Almost all Linux administrators know default real time Linux system health monitoring using ‘top’ command. But unfortunately, top command does not have good display and result. There is available tools,…
Real time monitor linux network and bandwidth using Iftop
Sometimes we need to monitor bandwidth and analyst network usage on server. There are many tools to do this. The simplest and fast tools is only using command line on…