JXLIU Blog

「离开世界之前 一切都是过程」

Upgrade nextcloud and install onlyoffice

docker

备份数据 至少备份 /var/www/html/data 和 /var/www/html/config 文件夹,其余文件可不备份 升级 nextcloud 修改 docker-compose.yml 中 nextcloud 版本,然后 docker-compose up,等待升级完成即可。 注意不能跨版本升级,不能 downgrade。 如果不小心跨版本升级,需要从官网 下载升...

Install AUR software

manjaro/arch

Install AUR software Using yay Using git and pacman reference:archlinux wiki 1 2 3 4 5 cd ~/build git clone https://aur.archlinux.org/package_name.git cd package_name makepkg pacman -U package_n...

docker large log file

docker

remove useless file log file 1 2 ls /var/lib/docker/containers/*/*-json.log -lh|awk '{print $9}' echo > *.log unused volumn files 1 docker volume rm $(docker volume ls -qf dangling=true) u...

Chinese input method in Gentoo OS

ibus

Compile ibus and dependencies 1 root #emerge --ask app-i18n/ibus ibus-libpinyin Add use flag to /etc/portage/package.use/ibus 1 2 dev-qt/qtgui ibus kde-plasma/plasma-desktop ibus 1 root #emerg...

rsync server

mirrors

rsyncd configuration /etc/rsyncd.conf 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 # /etc/rsyncd.conf # Minimal configuration file for rsync daemon # See rsync(1) and rsyncd.conf(5) ...

ssh tunnel

rsync

transter data between two servers which are not directly connected. 1 ssh -f -L 1233:<target IP>:[ssh port] username@<transit server IP> sleep 10; rsync -auvzP -e 'ssh -p 1233' jxliu@1...

Rubygems: Temporary failure in name resolution

Gentoo

Problem A “Temporary failure in name resolution” error appeared when I upgrade Gentoo linux system. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 >>> Downloading 'https://rubygems.org/gems/psyc...

network problem due to mtu value

ssh problem

In the following, I divide the problem finding and problem solving into several stages. # stage 1. hanging on when accessing nfs nfs can be exported in the nfs server and can be mounted in the n...

Fortran function in a module

conflicts with symbol from module

Fortran function in a module function out of a module the function need to be declared when it is used in a subroutine or main program. program test implicit none real:: f ...

Removed MPI constructs

OpenMPI

Removed MPI Constructs Starting with v4.0.0, Open MPI — by default — removes the prototypes from mpi.h for MPI symbols that were deprecated in 1996 in the MPI-2.0 standard, and finally removed fro...