Setup Webdav using Caddy
Install Caddy Server Please see this link https://caddyserver.com/docs/install Install Caddy Webdav module sudo caddy add-package github.com/mholt/caddy-webdav sudo systemctl restart caddy Con...
Install Caddy Server Please see this link https://caddyserver.com/docs/install Install Caddy Webdav module sudo caddy add-package github.com/mholt/caddy-webdav sudo systemctl restart caddy Con...
vim sshrc to /etc/ssh/ #!/bin/bash # Get login user user=$(getent passwd `who` | head -n 1 | cut -d : -f 1) if [ "" = "$user" ]; then user="default" fi # Get login user's IP ip=${SSH_CLIENT%% ...
Local files ntfy ├── cache │ └── ├── auth │ └── user.db └── config └── server.yml server.yml base-url: "https://ntfy.xxx.com" upstream-base-url: "https://ntfy.sh" #iOS push must use t...
Sometimes, I find myself needing to manage my nginx service, especially when it’s close to the service expiration, and we need to connect with customers. However, we tend to forget about it, so I m...
1.Basic authentication, usally use htpasswd for authentication. sudo mkdir -p /home/auth cd /home/auth sudo docker run --entrypoint htpasswd httpd:2 -Bbn testuser testpassword | sudo tee htpassw...
About qnap History start.sh #!/bin/bash # sleep 3; # /bin/ln -sf /share/CACHEDEV1_DATA/.qpkg/config/htop/htoprc /root/.config/htop/htoprc && /bin/ln -sf /share/CACHEDEV1_DATA/.qpkg/confi...
Vim frcp_start.sh file #!/bin/bash cd /home/frp/ # Define variables for frpc URL and configuration options FRPC_URL="https://github.com/fatedier/frp/releases/download/v0.37.1/frp_0.37.1_linux_amd...
adjust grub in the /etc/default/grub sudo vim /etc/default/grub Change value of GRUB_CMDLINE_LINUX_DEFAULT with below. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:3...
Use tasksel install desktop environment and xfce, if the server don’t have tasksel, you should install it. apt install tasksel tasksel and reboot If tasksel not include xfce, please ...
Windows client start start.bat in the frp directory if "%1"=="hide" goto CmdBegin start mshta vbscript:createobject("wscript.shell").run("""%~0"" hide",0)(window.close)&&exit :Cmd...