Install (and troubleshoot) Docker on Centos 8
I recently stumbled upon troubles 1 trying to run Docker on a fresh CentOS 8 install.
Here my notes to spare your (and my) time:
Install logtop on CentOS 7
Logtop is an handy log analyzer that can show realtime statistics from any given text file. Common usage example is redirecting the output of your log files to it, in order to get the top visitors of your webpages, or the top hosts requesting pages through your proxy server… all of this in a realtime top list.
Serving Disk Usage Graphs with Bash and PHP
Lately I was asked to develop and integrate a realtime server disk usage graph to the dashboard of our monitoring application (OpenNMS).
The bar graph color should also change when disk usage exceeds a defined percentage threshold.
PostgreSQL Quick Administration Reference
Install PostgreSQL on Debian using APT:
# aptitude install postgresql postgresql-client
[ after install service is already started and scheduled for automatic start on reboot]
Install PostgreSQL on CentOS using YUM:
# yum install postgresql-server postgresql
Securing SSH on non standard port with Fail2ban
I stumbled upon the problem of fail2ban not banning after I had moved my ssh server to non standard port (let’s say 22022).
We care about privacy..
..And that’s why I use to hide the most server signatures I can on production servers.
Securing SSH with Swatch
You already know that it is not so smart to leave SSH running on your servers on default port and accessible from every internet address (ie. no firewall restrictions, no host allow/deny).. but in real world it happens to do so since, let’s say, you have no static IP, you have no access to firewall rules and so on.
Postfix Mail Relay in a few easy steps [CentOS 6 tested]
First of all we install postfix package (if not already installed):
Zimbra stopped working, stuck on ldap service start
One of our Zimbra Collaboration Suite deployments stopped working all in a sudden: unable to login with given credentials. My first thought: “oh my, they hacked us!”.
Forcefully reset MySQL password [CentOS]
Sometime you need to reset MySQL password on a server you have root access to. Here’s a step-by-step how-to to accomplish this task on a CentOS 6 server.
Turn on remote computer via Wake-On-LAN [CentOS 6]
Here’s how you can wake up (turn on) a remote pc using the Wake-On-LAN function of its network card: you just have to issue a command against the remote machine MAC Address.
Running new linux kernel without rebooting [RHEL/CentOS]
You have that server you can’t reboot but need to patch the kernel NOW (eg. #kernel flaw found#).. well, you can try this out.