Tag Archives: centos

Silly but This Is a WordPress Blog Running on Kubernetes

You probably think it’s overkill to use Kubernetes for a WordPress blog with less than a thousand monthly visitors. While this may be true, it’s totally worth using Kubernetes for the bragging rights. This is a WordPress blog running on Kubernetes!

Kubernetes running WordPress and MariaDB
Sources: https://pixabay.com/images/id-5718352/ and https://www.freepik.com/free-vector/cargo-freight-container_3795063.htm
Continue reading Silly but This Is a WordPress Blog Running on Kubernetes

Inbound Firewall Configuration with Firewalld

Firewalld has replaced iptables as a default in many Linux distributions. It is now the default firewall in CentOS, Fedora, OpenSUSE, Red Hat Enterprise Linux, and SUSE Linux Enterprise. You can also install it on Debian and Ubuntu from their official package repositories.

Fire next to a wall
Image by Clker-Free-Vector-Images from Pixabay

Luckily firewall configuration with firewalld is very easy, especially for predefined services like http, https, ssh, etc.

Continue reading Inbound Firewall Configuration with Firewalld

Easy Backups to Google Drive on Linux

I’ve recently set up automated backups to Google Drive on my CentOS 7 Linux VPS to protect my blog posts from data loss. I don’t know why it took so long for me to care about backups of my own data. I chose to back up to Google Drive since I already have a Google One plan that has plenty of available storage space.

Screenshot from Google Drive showing 4 compressed files backed up in rclone/backup folder
Four compressed files backed up in a Google Drive folder
Continue reading Easy Backups to Google Drive on Linux

WordPress Backup Script

Recently I remembered that I had this little handy script that I used to backup my WordPress blog. The script contains only 2 actual commands.

I used nice while compressing / uncompressing the files to avoid CPU throttling since my blog is running on a shared hosting server.

This WordPress backup script doesn’t work without user interaction since it needs you to enter the password. Continue reading WordPress Backup Script

Merge PDF Files Easily on CentOS

Did you scan a document and need to send it professionally? Do you want to combine multiple PDF files to store them as a single file? This article shows how to merge PDF files on CentOS. It should also work in other Red Hat based operating systems such as Red Hat, Fedora and CentOS Stream.

Continue reading Merge PDF Files Easily on CentOS

Minecraft Server Memory Issues on Linux

Are you having memory leak issues with your Minecraft Server on Linux? The solution might be in this post. I’ve been running a MC server on my VPS (HeartInternet) for the last 4 months. It was all good until we started exploring the map. The MC server was randomly being killed and this message was coming up in our screen:

Internal Exception: java.io.IOException: An existing connection was forcibly closed by the remote host

Continue reading Minecraft Server Memory Issues on Linux

Why Linux is Better as a Server Compared to Windows

As a web developer having experience on Windows and Linux, I prefer to work on Linux servers. Here are the reasons why (for CentOS – might not be same for all distributions):

  1. Viewing error and access logs
  2. No need to waste RAM
  3. Many free tools
  4. Easier to access remotely
  5. No need to reboot Continue reading Why Linux is Better as a Server Compared to Windows