Posts

Ah, just give up setting vncs on linux mint cinnamon. I tried vnc on linux mint for several nights and finally failed. I finally tried remote desktop application, by the …

lufy Mar 12, 2022 Read More

I tried to login vnc of centos9, the server was started by  vncserver I got "Oh no! Something has gone wrong." I found "vncserver has been replaced by a systemd …

lufy Mar 11, 2022 Read More

Discourse® packaged by Bitnami What is Discourse®? Discourse is an open source discussion platform with built-in moderation and governance systems that let discussion communities protect themselves from bad actors even …

lufy Feb 28, 2022 Read More

Discourse® packaged by Bitnami from: https://hub.docker.com/r/bitnami/discourse/ What is Discourse®? Discourse is an open source discussion platform with built-in moderation and governance systems that let discussion communities protect themselves from bad …

lufy Feb 28, 2022 Read More

Replace mirror.centos.org to vault.centos.org with followed commands: sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Linux-* sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-Linux-*dnfinstall centos-release-stream -y dnf swap centos-{linux,stream}-repos -y dnf distro-sync -yORdnf --disablerepo '*' --enablerepo extras swap centos-linux-repos …

lufy Feb 16, 2022 Read More

1. install wireguard dnf install epel-release elrepo-releasednf install wireguard-tools kmod-wireguard generate key pair wg genkey | sudo tee privatekey | wg pubkey | sudo tee /etc/wireguard/publickey edit /etc/wireguard/tun0.conf [Interface] PrivateKey …

lufy Feb 16, 2022 Read More

nginx met error log of  "open() "/var/lib/nginx/tmp/proxy/9/05/0000000059" failed (13: Permission denied) while reading upstream", change the proxy_temp_path solved.  Override temp file locationsclient_body_temp_path /var/lib/nginx-tmp/client_body;proxy_temp_path /var/lib/nginx-tmp/proxy;fastcgi_temp_path /var/lib/nginx-tmp/fastcgi 1 2;uwsgi_temp_path /var/lib/nginx-tmp/uwsgi;scgi_temp_path /var/lib/nginx-tmp/scgi;   …

lufy Jan 22, 2022 Read More

1. wget failed cause of unstable connection to: https://www.sqlite.org/2021/sqlite-amalgamation-3350500.zip  Resolved: edit ./.buildozer/android/platform/python-for-android/pythonforandroid/recipes/sqlite3/__init__.py, change the url to http://lufy.org:20081/tools/sqlite-amalgamation-3350500.zip  2. pip found no openssl package when cross building Resolved: edit ./.buildozer/android/platform/python-for-android/pythonforandroid/build.py, change …

lufy Jan 21, 2022 Read More

strings get substring SET s=abcdefghijklmnopqrstECHO %s:~3,1%REM # %<var_name>:~<start_index>,<length>%REM # what if with variable index and length?REM # copied from https://ss64.com/nt/syntax-substring.html  SET _startchar=2 SET _length=1 SET _donor=884777 CALL SET _substring=%%_donor:~%_startchar%,%_length%%% ECHO …

lufy Jan 21, 2022 Read More

q. execute grub2-mkconfig -o /boot/grub2/grub.cfg met  environment block too small a. rm /boot/grub2/grubenv, and re-execute grub2-mkconfig, success.

lufy Jan 17, 2022 Read More