Home Posts About Admin

Previous Next

centos 9 tigervnc met Oh no! Something has gone wrong.

March 12, 2022, 1:12 a.m. by lufy, 0 comment(s)

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 unit and is now considered deprecated and removed in upstream. " in .vnc/test:1.log, I searched by bing, found the right way to con... Full text

test

Feb. 28, 2022, 11:45 p.m. by lufy, 0 comment(s)

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 without official moderators. Overview of Discourse® Trademark... Full text

discource by podman

Feb. 28, 2022, 11:49 p.m. by lufy, 0 comment(s)

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 actors even without official m... Full text

Centos8 mirror list eol

Feb. 16, 2022, 10:47 p.m. by lufy, 0 comment(s)

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 cent... Full text

wireguard how to

Feb. 17, 2022, 9:52 p.m. by lufy, 0 comment(s)

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 = Paste-Server-Private-Key Address = 10... Full text

Nginx settings

March 10, 2022, 11:08 p.m. by lufy, 0 comment(s)

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/prox... Full text

Buildozer create android app

Jan. 22, 2022, 1:09 a.m. by lufy, 0 comment(s)

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.z... Full text

Learn batch script

Jan. 22, 2022, 12:15 p.m. by lufy, 0 comment(s)

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 _sub... Full text

Linux boot Q/A

Jan. 17, 2022, 4:14 p.m. by lufy, 0 comment(s)

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.... Full text

New deployed django met 'Database returned an invalid datetime value'

Jan. 12, 2022, 10:31 p.m. by lufy, 0 comment(s)

Issue: Newly deployed django met 'Database returned an invalid datetime value' Learn from stackoverflow: https://stackoverflow.com/questions/40792628/django-mysql-database-returned-an-invalid-datetime-value mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -p mysql Issue: tinymce occured ... Full text

Previous Next

Powered by Blog