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

Shared Kodi mySQL database library

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.

ubuntu kodi mysql

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

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