Seafile Migration and Upgrade
Since the previously deployed Seafile hosts were outdated and the Seafile version was still 7.0.x, it was decided to undertake a complete migration and reconstruction upon transitioning to a server hosted by MyLoc. Below is a record of the process. Contents ToggleBackup DataMigrating to DockerInitialize Docker EnvironmentImport DatabaseModify Configuration FilesUpgrading Seafile Backup Data Since I use S3 OSS for the Seafile backend, only the Seafile database and configuration files need to be backed up. The S3 OSS part is directly…
Read MoreConfigure AdGuardHome on pfSense
question_answer0
AdGuardHome is an open-source DNS server capable of filtering web advertisements, malicious download links, and trackers through DNS filtering, thereby enhancing the web browsing experience. Integrating AdGuardHome with pfSense allows AdGuardHome to be launched by pfSense, protecting the entire network with its filters. Contents ToggleInstalling AdGuardHomeConfiguring Unbound ForwardingConfiguring AdGuardHome AutostartReference Documents Installing AdGuardHome As of the writing of this log, AdGuardHome has not been included in the official pfSense repository, thus it requires manual installation. Since AdGuardHome is written in…
Read MoreTutorial of Dual Booting ASUS ROG Ally with Windows and ChimeraOS on the build-in Boot Drive
The Asus Rog Ally comes with preinstalled Windows 11 Home by default, but as a regular PC, it can also run Linux. This guide will describe a method for achieving dual-boot on the internal NVME drive. This guide aims to enable dual-boot functionality between ChimeraOS and the Windows system. Contents TogglePreparationInstallation ImagesStep 1Step 2Step 3Summary Preparation A USB hub, or a docking station, I personally suggest utilizing a docking station that supports PD charging. Two USB drives. Wired network (recommended)/Wireless…
Read MoreInstall driver for Intel 9560 wireless on Ubuntu 18.04
ThinkPad X1 carbon 7th Gen notebook uses an Intel 9560 wireless card, which not work in Ubuntu 18.04 by default. I made a simple tutorial to show you how to fix it. Contents ToggleInstall the driverSign your driverReference Install the driver We need to compile a kernel module and firmware for it: sudo apt update sudo apt install git build-essential git clone https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git cd backport-iwlwifi/ make defconfig-iwlwifi-public sed -i 's/CPTCFG_IWLMVM_VENDOR_CMDS=y/# CPTCFG_IWLMVM_VENDOR_CMDS is not set/' .config make -j$(nproc) sudo make install…
Read MoreCompile Nginx 64bit on Windows
question_answer4 Comments
Nginx is a well known webservice software, people usually use lnmp/lamp(linux nginx/apache mysql php) as Web server environment. This time I will try to make a simply index service for windows to provide download service. The Nginx has it’s basic index service named autoindex, but the layout is so bad, it didn’t provide any search service. I found a alternative index service fancyindex, it can elegant finish such work. Contents TogglePrepare:compile environment:get the source code:Edit configuration for compiling:Edit configuration for…
Read MoreCompile rtorrent-0.9.4 on ubuntu 18.04
Some people still use rtorrent 0.9.4 due to some reasons, but It’s impossible to compile rtorrent-0.9.4 in ubuntu 18.04 directly: You will see warning: macro ‘AM_PATH_CPPUNIT’ not found in library and libtoolize: Consider adding ‘-I m4’ to ACLOCAL_AMFLAGS in Makefile.am while running config. You may also receive a message about openssl version error. We can simply add support for ubuntu 18.04 with following patches. patch for libtorrent-0.13.4 diff -Nur libtorrent-0.13.4/configure.ac libtorrent-0.13.4-patched/configure.ac --- libtorrent-0.13.4/configure.ac 2019-01-12 14:09:46.769154822 -0500 +++ libtorrent-0.13.4-patched/configure.ac 2014-05-14 10:18:48.000000000…
Read MoreDisable Deluge-Web Authorization
The Deluge-web has a build-in Authorization, you need to input your password to manage your client. If we already have a reverse proxy for it(I usually add ssl and htpasswd via proxy), Deluge-Web will be useless, we can disable this build-in auth by folloing steps. Stop Deluge-Web service: killall deluged killall deluge-web modify following files: [deluge.egg]/ui/web/js/deluge-all.js, usually the [deluge.egg] is /usr/lib/python2.7/dist-packages/deluge/ or /usr/lib/python2.7/dist-packages/deluge-1.3.15-py2.7.egg/deluge. find section “deluge.LoginWindow” and replace the function (it is located near the end of the minified line)…
Read MoreTransmission Multiple daemon instances
Transmission is a lightweight and stable BT client, it can keep thousands of torrents without crash, so I use it to keep seeding. Contents ToggleAbout Multiple-User in TransmissionStep1:Step2:Step3:Step4: About Multiple-User in Transmission Transmission has a daemon called “transmission-daemon”, it can support Multiple instances with Multiple-User. But in a Debian like system, the apt package will config with a unique user “debian-transmission”. It use the config file /var/lib/transmission-daemon/info/settings.json, this file also a symlink of /etc/transmission-daemon/settings.json. Usually, transmission will start a transmission service with…
Read MoreQuickBox CE vs Pro: Which Is Better?
This year the quickbox.io released the QuickBox Pro. The price is 35$/year, what differences between Community edition and Professional edition? Is it worth 35$ to get the Pro version? Contents ToggleWhat difference?Is it Worth? What difference? There is already a official comperation in quickbox.io The eey differences between Pro and CE are like following: The design of dashboard, and some widgets. e.g. traffic monitor, application manager; Web service. In Community use Apache + php7.0, in Pro use nginx + php7.2; Authorization…
Read MoreRecording about importing WordPress database
Recently I updated WordPress theme, the theme Zephyr requires at least mysql 5.6 and PHP 7, so I had to upgrade these environment. The environment was outof date secense last maintenance, I decided to update the lnmp environment and import the WordPress database after upgrade. To backup WordPress data is not very hard, just be careful about your database, config file, and media files. After upgrading, I import the whole database, but find a error notice when I create new post…
Read More