RHCSA Series E02 - File Management

This post does not intend to provide comprehensive information on how to pass the certification, but serves as study notes on better understanding Linux system. Common File Types: RHEL supports seven types of files: regular, directory, block special device, character special device, symbolic link, named pipe, and socket. Linux does not require file extension, though it’s still a good idea to add the extension for readiability. To identify the file type of a file, the command file and stat can be used:...

August 21, 2020 · 3 min · Lawrence Chan

RHCSA Series E01 - Linux File System

This post does not intend to provide comprehensive information on how to pass the certification, but serves as study notes on better understanding Linux system. Even though I have used Linux for quite sometimes now, I never systematically learn how its components works. One of the issues that I often run into is that I don’t know where are the files, say I want to look at the log of the web services, I don’t know where they’re and I’ve to look it up on the internet....

August 2, 2020 · 2 min · Lawrence Chan

Install Nextcloud on DietPi: RAID 1 with LUKS and LVM2 (Part 2)

Continuing last post, we will finish the installation of Nextcloud, create a self-signed HTTPS certs, and port-forwarding 443 to our server so that we can access it from the public internet. Install Nextcloud dietpi-software Then go to Software Optimised, under Cloud/Backups, hit spacebar to select Nextcloud, then back to the main menu, select Install. If it installs correctly, you can now access Nextcloud from: http://your-server-ip/nextcloud It should show you the login page....

June 22, 2020 · 5 min · Lawrence Chan

Install Nextcloud on DietPi: RAID 1 with LUKS and LVM2

Recently I’ve been tinkering with RockPro64 and decided to install NextCloud on it as a medium to sync data between my computers and phones, as well as using it as a backup storage. The setup is as follows: RockPro 64, 4GB RAM, with 32GB Micro-SD card, PCI-E to SATA-2 adapter Operating System: Dietpi based on Debian “buster” Two 1TB Hard drives that will be used for RAID 1 Array Encrypted Storage with LUKS and LVM2 Nextcloud installation Self signed HTTPS Dynamic DNS and port forwarding port 443(HTTPS) to the NextCloud using a Mikrotik router In the following series of post, I will walk through the above setup one by one, provide the necessary configuration and information to complete the above setup....

June 5, 2020 · 4 min · Lawrence Chan