Seafile Migration and Upgrade

Amefs, EFS, Linux
question_answer0
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. 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 synchronized to MyLoc’s MINIO using Rclone. All Seafile configuration files are…
Read More

Install driver for Intel 9560 wireless on Ubuntu 18.04

Amefs, EFS, Linux, ThinkPad
question_answer0
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. 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 sudo modprobe iwlwifi If you DISABLED…
Read More

Compile Nginx 64bit on Windows

Amefs, EFS, Linux
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. Prepare: compile environment: MSYS environment (or MSYS2) Microsoft Visual Studio, usually…
Read More

Compile rtorrent-0.9.4 on ubuntu 18.04

Amefs, EFS, Linux, seedbox
question_answer0
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 More

Disable Deluge-Web Authorization

Amefs, EFS, Linux, seedbox
question_answer0
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 More

Transmission Multiple daemon instances

Amefs, EFS, Linux, seedbox
question_answer0
Transmission is a lightweight and stable BT client, it can keep thousands of torrents without crash, so I use it to keep seeding. 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 debian-transmission group. But we will…
Read More
keyboard_arrow_up
Exit mobile version