articles written

Install Linux, Apache, MySQL and PHP (LAMP) on Ubuntu 22.04

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.

php linux ubuntu apache web server mysql

Create a Samba network share

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.

linux nas ubuntu

ZFS administration

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.

linux nas ubuntu zfs

Replace a disk in a ZFS pool

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.

linux nas ubuntu zfs

Create a ZFS pool

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.

linux nas ubuntu zfs

Hardening MODX Revolution

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.

linux modx

Move MODX Revolution

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.

linux modx

Upgrade MODX Revolution

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.

linux modx

Increase ZFS pool by adding larger disks

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.

linux nas ubuntu zfs

Remote control media player without lirc using ir-keytable

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!

linux ubuntu kodi xbmc

Encode forced subtitles using mkvmerge

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.

linux mkvmerge

Create Ubuntu Wake on Lan (WoL) script

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.

linux ubuntu

Enable Wake-on-Lan (WoL)

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.

linux ubuntu