Home NAS deploment

Contents Part I - Basic Before All... Choice of Operating System About File System How to install Linux Part II - Network Part III - Docker Docker Network: Frpc Nginx Proxy manager Nextcloud Docker Compose Part IV - Backup Part I - Basic Before All... What is a home NAS? A typical home NAS is used for storing and sharing photos and files. As an extension to traditional NAS, the server config followed by this article would include more applications like offline downloader, media server, and printer server.

Let's encrypt! (Gentoo)

Note My domain is provided from Google, the method of getting the API token could be different for other provider Contents Get certificates Apache Config Get certificates emerge -a app-crypt/acme-sh emerge --ask dcron, acme-sh need this to set cron job to renew the certs automatically Get your domain access token from the provider (Google Domain) For Google Domains: export GOOGLEDOMAINS_ACCESS_TOKEN="<generated-access-token>" run acme-sh as root acme.sh --issue --dns dns_googledomains -d bajzc.

LFS? GG!

Contents NVME support in kernel was not set as it should be: SYSV or INIT error And finally, after 3 days struggling: Here are some problems you may find even if you follow the LFS (Linux From Scratch) book LINE BY LINE: Use Google wisely, you will find the solution! NVME support in kernel was not set as it should be: Device Drivers->NVME Support SYSV or INIT error And finally, after 3 days struggling: Note

VLC: how to generate .m3u playlists

VLC: how to generate .m3u playlists Contents VLC: how to generate .m3u playlists 1 Syntax of .m3u 2 My file system 3 Script 4 Summary Note The new C language version can be found here: (30.12.2023 update) It's 6x faster than the bash script (1:52/11:08) VLC is a free and open-source media player, and it is PORTABLE and CROSS-PLATFORM. In order to have a better user experience, without paying a penny, it is the best choice.

Cachestat in Kernel-6.5

Note The environment we are in: Linux gentoo 6.5.0-rc1 Contents 1. How to use it? 2. Problem 3. Use cachestat() to solve it 4. Summary If you want to try those demos below, you need to know: generate random files for test #signle random file "a" dd if=/dev/urandom of=a bs=1M count=128 # random files "f1"-"f8" for i in {1..8} do dd if=/dev/urandom of=f${i} bs=1M count=128 done clean all the cache: # echo 3 > /proc/sys/vm/drop_caches

Install GTK4 on Windows

Install GTK4 on Windows11 Contents Install GTK4 on Windows11 1. Download and install Msys2 2. Install GTK4 and Mingw-toolchain 3. Setting Path 4. Hello world Summary This is a guide to install and config GTK4 on Windows 11. Note All steps have been tested in Sandbox: Edition Windows 11 Enterprise Version 22H2 OS build 22621.1848 Hint GTK official guide 1. Download and install Msys2 This tutorial uses the default installation path, if you use a custom one, you need to pay attention when setting PATH later
0%