Command Line Posts

ScreenFetch at Login on Fedora Linux

screenFetch is a Bash Screenshot Information Tool that prints ASCII art along with basic system information when executed. Many distributions including Fedora Linux are supported with unique ASCII art included. It is useful to run it on login automatically to immediately see system information.

Install Kodi on Fedora Linux

Kodi Fedora Linux logo

Kodi is an open-source and multi-platform media center application. It can be installed like any other Desktop app or alternatively if a desktop environment is not desired it can also run as a standalone application.

Install MariaDB / MySQL on Fedora Linux

Relational database like MariaDB is one of the required components to setup a web server as well as other less common uses such as when configuring a shared Kodi database. On Arch Linux MySQL has been replaced by a practically functionally identical community fork called MariaDB.

Install Libresonic on Arch Linux

Libresonic Arch Linux logo

Libresonic is a web based music streamer with transcoding capabilities. In contrast to Sonarr, Radarr and Headphones it does not download new content but rather manage and provide convenient access to existing collections. Unlike Subsonic or Madsonic it is free and has no limitations.

Install Radarr on Arch Linux

Radarr is a movie download manager capable of downloading from BitTorrent and Usenet. It is a fork of Sonarr and is comparable to Couchpotato or Headphones. It integrates with rTorrentuTorrent Server, Deluge, NZBGet and many more downloaders. It can also make use of Jackett to communicate with BitTorrent trackers.

ruTorrent Web Interface on Arch Linux

ruTorrent Arch Linux logo

ruTorrent is a web interface for a rTorrent. The overall look and feel is comparable to uTorrent Server. It requires Apache Web ServerPHP and of course rTorrent to be installed.

rTorrent BitTorrent Client on Arch Linux

rTorrent Arch Linux logo

rTorrent is a fast and efficient command-line based BitTorrent client. It can work many front-end interfaces such as ruTorrent. When used with a web interface it is similar to other clients like uTorrent Server or Deluge.

Pydio File Manager on Arch Linux

Pydio Arch Linux logo

Pydio is a file-sharing and synchronisation application that can be freely installed on multiple platforms. It requires a web server such as Apache, PHP and MySQL / MariaDB to be installed. It is similar to cloud file storage software like ownCloud but has more features in some departments and is geared more towards local network file storage.

Mergerfs Union Filesystem on Arch Linux

Arch Linux logo

Mergerfs is a FUSE based union filesystem that allows pooling of mount points or other directories into a single virtual directory. While it does consume significant CPU resources and somewhat limit maximum throughput it works well otherwise and is easy to set up. It still offer sufficient performance for a home server use. It is very similar to other union file systems such as MHDDFS.

GPU Passthrough with QEMU on Arch Linux

QEMU Arch Linux logo

GPU passthrough allows native graphics performance in the virtual machine which opens up new possibilities. One major use case is virtualized gaming as well as hardware acceleration for certain applications like Adobe Creative Suite. Steam In-Home Streaming opens up some odd but functional configurations by leveraging the VM to stream to clients on a local network. A major advantage of running Steam in a VM is that it does not prevent the use of the host system while streaming. In practice this could mean that two different users could simultaneously make use of the same system.

MusicBrainz VM Server under QEMU on Arch Linux

MusicBrainz Server logo

MusicBrainz database is used by many applications such as Headphones or MusizBrainz Picard. The one major issue with the database is that the official service is slow and often unavailable while mirrors are either paid or unreliable long term. The server can be installed from scratch locally but is quite tedious which is why it is easier to run the server as a virtual machine. It is not as efficient as the entire OS will have to run in the background but it much easier to setup. Virtual Box can be used to run the VM without any changes but there is no need to run multiple Virtual Machine Managers so in this case QEMU is used.

ESP8266: Sming Framework on Arch Linux

Sming Framework logo

Sming is an open source Framework for ESP8266 Wi-Fi Module. It simplifies development my allowing advanced features to be implemented with trivial amount of code compared to low level programming. Sming and Eclipse IDE can also be used to write, compile and flash Sming projects instead of using command line tools.

Install VFIO Kernel on Arch Linux

Arch Linux logo

VFIO kernel is used to easily apply kernel patches to workaround certain hardware limitations relating to virtualization and hardware passthrough suc as when setting up GPU Passthrough with QEMU. Among others VFIO kernel applies i915 VGA arbiter and ACS override patches. The patches al need to be enabled by adding parameters to the boot loader. The custom kernel comes in stable or LTS varieties.

Jackett on Arch Linux

Jackett Arch Linux logo

Jackett is a proxy server that provides a translation service between applications like CouchPotatoSonarr or Headphones and tracker sites. It supports many private trackers. Instead of configuring the tracker directly in the app, it is now configured in the web interface and added to the app as a generic indexer.

Securely Wipe Disk with DD on Linux

Securely Wipe Disk with DD on Linux

Formatting a storage device doesn’t prevent the data retrieval with data recovery software. To securely wipe any existing data of the device it needs to be overwritten with new data. This can be achieved very easily with dd on Linux by writing zeros or random values to the device. To avoid wiping the wrong storage device it may be a good idea to first format the disk drive with parted or another command line or GUI utility. Doing this would make it apparent that the wrong device was chosen. Data could still be recovered relativity easily from the formatted storage device compared to a wiped drive.