Install Linux, Apache, MySQL and PHP (LAMP) on Ubuntu 22.04
Setting up a local web server can make website development much easier. This article will show you how to create and configure such a server.
Create a Samba network share
Samba, using the SMB protocol, allows you to share your files and folders with other clients. This article will show you how to create and configure such a share.
ZFS administration
There are lots of ways to manage your ZFS pools. This article contains some useful commands and examples. They are suitable for any kind of virtual device configuration including mirrored, RAIDZ or nonredundant.
Replace a disk in a ZFS pool
There will come a point when you will need to replace one of your disks within your ZFS pool. Perhaps a disk has become unavailable, or you are getting read/write errors. The method will be the same whether you have a mirrored or RAIDZ virtual device configuration.
Create a ZFS pool
The Z File System (ZFS) can be used to pool together several disks. For example, three 2TB disks could be connected to your computer to create a single pool with 6TB storage capacity.
Hardening MODX Revolution
MODX Revolution, like all CMS's, could be exploited by unscrupulous individuals. Here are some adjustments to make your MODX install more robust and harder to hack.
Move MODX Revolution
Whilst using MODX Revolution, it is very likely that at some point you will have to copy your setup from one folder to another, or even from one server to another. Here is a straight forward way to make such a move.
Shared Kodi mySQL database library
If you have more than one Kodi device connected to your media source, it becomes really useful if they share the same media library. This is done with a mySQL database on your media server.
Using a robots.txt file
A robots.txt file is an important tool when optimising a website. It tells web robots and spiders which areas of a site they may access.
Upgrade MODX Revolution
MODX Revolution is regularly updated with new features and security patches. But the process of updating can be rather fiddly. Here is a straight forward way of updating MODX to the current version on your Linux web server using SSH.
Increase ZFS pool by adding larger disks
Eventually your ZFS pool will no longer have enough storage for you. When this happens you will need to add some disks or replace your old disks with new larger ones. Since i no longer have any spare SATA ports, I am going to do the latter, replacing all my 2TB disks with 6TB ones.
Remote control media player without lirc using ir-keytable
I want to use my TV remote to control my media player. Since understanding infra-red commands is now built into the Ubuntu kernal, i wanted to stop using lirc, and instead use ir-keytable. The aim is to control Kodi with the minimum of fuss!
Encode forced subtitles using mkvmerge
I have a video in the MKV format. The video is in English, but there are some foreign language parts. I want subtitles to appear when any foreign language is being spoken.
Create Ubuntu Wake on Lan (WoL) script
I have a client computer running Kodi on Ubuntu. I also have a separate computer acting as a server. When i switch on the client computer, i want the server to switch on too.
Enable Wake-on-Lan (WoL)
Wake-on-Lan (WoL) enables you to turn on your machine remotely. This is ideal if you have machine in another room, like a server in an out of the way place. The machine wakes up when it receives a special message called a magic packet. You can send magic packets from other computers or even from your mobile phone. The message is sent over your network using Wi-Fi or a wired connection.