🐧 Linux
(32 posts)
Practical Linux administration guides covering system configuration, networking, troubleshooting, and automation.
📅 2022-01-24
✍️ Bart Schelstraete
Using WP-CLI you can create MO files from PO files using the following command: sudo -u MYUSER /usr/local/bin/wp i18n make-mo /var/www/website.be/web/wp-content/plugins/myplugin/languages
Read more →
📅 2022-01-21
✍️ Bart Schelstraete
1. Begin by pvcreate'ing the new disk. This is the disk from the new storage array to which we want to migrate. # pvcreate /dev/mapper/mpathY 2. Now, add this disk into the data_vg Volume Group: #…
Read more →
📅 2022-01-18
✍️ Bart Schelstraete
With systemd you can configure the service so that it automatically restarts in case it crashes. It's enough to add the "restart" option to the [Service] stanza within the systemd service…
Read more →
📅 2022-01-18
✍️ Bart Schelstraete
Once in a while the clamd process can get killed because of memory usage. It turns out it would always get killed when reloading the database after an update. This is due to the fact that…
Read more →
📅 2022-01-02
✍️ Bart Schelstraete
With curl you can test if your website supports HTTP/2. Just execute the following curl command: curl --http2 https://www.schelstraete.org
Read more →
📅 2022-01-01
✍️ Bart Schelstraete
I was building a new system for hosting, and that system is a virtualised system with Ubuntu. The OS was built by the provider. After installing everything, I wanted to activate the quota on…
Read more →
📅 2021-10-10
✍️ Bart Schelstraete
In case you have a screen with a high resolution, a 4K screen for example, it is possible that GRUB is incredibly slow. If that is the case, the workaround is to edit the /etc/default/grub file, and…
Read more →
📅 2021-09-28
✍️ Bart Schelstraete
This guide, coming from Google, explains how to use a dynamic IPsec VPN tunnel with strongSwan on Linux. Step 1 : Configure BIRD /etc/bird/bird.conf # Config example for bird 1.6 #debug protocols…
Read more →
📅 2019-07-21
✍️ Bart Schelstraete
If you have upgraded your old Commvault agent, or you still use an old Commvault agent on your Linux 'systemd' system, there won't be any start/stop script for the agent. You can use the workaround…
Read more →
📅 2019-07-14
✍️ Bart Schelstraete
In order to optimize all databases & tables within your MySQL instance, you can use the code below. mysqlcheck --all-databases --optimize --skip-write-binlog You can also use a more specific…
Read more →