How to host a git service using Gitea on Debian Buster

Gitea is an open-source, lightweight self-hosted git service with easy deployments and various customizations.
Read more →

How to host a pastebin service using PrivateBin on Debian Buster

Sometimes a private pastebin service is much more reliable and efficient.
Read more →

How to set up a basic chroot jail on Debian Buster – Part II: PHP-FPM

A PHP-FPM chroot is usually more important. Before reading, please ensure a chrooted Nginx installation is present and working.
Read more →

How to get remote shell access within browsers using Shellinabox on Debian Buster

Shellinabox (aka “shell in a box”) provides a web-based interface similar to SSH, which can be useful if no SSH clients are present.
Read more →

How to set up a basic chroot jail on Debian Buster – Part I: Nginx

It’s all about security.
Read more →

How to set up a Wikipedia mirror with Nginx on Debian Buster and Arch Linux

It is worthwhile pointing out at the very beginning that setting up live mirrors for websites like Wikipedia is strongly discouraged. As described in here, live mirrors put more strains on WMF servers. However, if it is intended for private use, here are the steps to create such mirrors on your own server. Use at your own risks.

Read more →

How to install WordPress on Arch Linux with Nginx and uWSGI

Though ArchWiki has a page that explains the installation process of WordPress, it doesn’t cover the configuration for Nginx. (Yes, I prefer Nginx to Apache.) Fortunately, the NGINX wiki has provided some good examples. Here we combine them with uWSGI to avoid modifying global php.ini so it remains intact and secure.

Read more →

How to set up a local Wikipedia server using kiwix-serve

Suppose you are running your laptop without Internet connection, but somehow still want to look up a specific topic in Wikipedia. For Linux users, one way to work around is to set up a local server using kiwix-serve to serve offline contents. Here are the steps. Note that Internet is required to download the program and associated ZIM files.

Read more →