博文

Automatic login in Windows 10 / 11

图片
Quick guide: Automatic login in Windows 10  Open the Registry Editor using [Windows] + [R] and “regedit”.  Enter  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\PasswordLess\Device.  Double click on “DevicePasswordLessBuildVersion”. Set the value from “2” to “0”.  Open User Accounts using [Windows] + [R] and the CMD command “netplwiz”.  Uncheck the box beside “Users must enter a user name and password to use this computer”.

cloudflare ddns on linux (ubuntu)

github https://github.com/K0p1-Git/cloudflare-ddns-updater/tree/main youtube https://www.youtube.com/watch?v=rI-XxnyWFnM git clone https://github.com/K0p1-Git/cloudflare-ddns-updater.git use "ls" and "cd" , go to the folder of the cloudflare-template.sh nano cloudflare-template.sh auth_email="kppit88@gmail.com" # The email used to login 'https://dash> auth_method="global" # Set to "global" for Global API Key auth_key="" # Your API Token zone_identifier="" # Can be found in the Zone ID record_name="name.domain.com" fill in the all in info in .sh chmod +x cloudflare-template.sh nano /etc/crontab edit the crontab every 1 hour 0 1 * * * root /bin/bash /root/cloudflare-ddns-updater/cloudflare-template.sh systemctl restart cron

Issues running PVE Post Install scripts on 8.3

I had the same issue. download the script:  wget https://github.com/tteck/Proxmox/raw/main/misc/post-pve-install.sh make it executable: chmod 777 post-pve-install.sh edit the script: nano post-pve-install.sh scroll down and change the line that says if ! pveversion | grep -Eq "pve-manager/8.[0-2]"; then change the [0-2] to [0-3] if ! pveversion | grep -Eq "pve-manager/8.[0-3]"; then exit with <ctrl> x and save it run the file with  ./post-pve-install.sh site: https://www.reddit.com/r/Proxmox/comments/1gxd9nj/issues_running_pve_post_install_scripts_on_83/

install Tailscale on PVE by portainer docker

https://gist.github.com/bnhf/fed4cc3035f32a0f086b1da074a3d50b version: '3.9' services:   tailscale:     image: tailscale/tailscale:latest     container_name: tailscale     cap_add:       - NET_ADMIN       - NET_RAW     environment: #      - TS_HOSTNAME=${TS_HOSTNAME} # Usually not necessary for your hostname to be the same name on the tailscale network #      - TS_AUTHKEY=${TS_AUTHKEY} # Generate auth keys here: https://login.tailscale.com/admin/settings/keys #      - TS_ROUTES=${TS_ROUTES} # Creates a subnet router for Tailscale. Use your subnet's CIDR in the form: 192.168.1.0/24 #      - TS_ACCEPT_DNS=${TS_ACCEPT_DNS} # Set to false for Pi-hole Docker setups       - TS_SOCKET=/var/run/tailscale/tailscaled.sock # Specifying the /var/lib/tailscale/tailscaled.sock location allows use of standard Tailscale commands      ...

synology cloudflare ddns

图片
  Configure Cloudflare for Synology DDNS Synology doesn’t support Cloudflare by default, but JoshuaAvalon has written a script to get this configured within DSM: from  https://github.com/joshuaavalon/SynologyCloudflareDDNS/ SSH into your Synology NAS and complete the following steps: Download DDNS script — I recommend saving as cloudflare_domainname.sh if you have multiple domains. $ sudo wget https://corcoran.medium.com/using-cloudflare-for-ddns-and-tls-certificates-on-synology-dsm6-1549e55d557f https://raw.githubusercontent.com/joshuaavalon/SynologyCloudflareDDNS/master/cloudflareddns.sh -O /sbin/cloudflaredns_domainname.sh 2. Grant execute permissions $ sudo chmod +x /sbin/cloudflaredns_domainname.sh 3. Push configuration to DSM DDNS provider list $ sudo echo "[Cloudflare Domain Name]">>/etc.defaults/ddns_provider.conf $ sudo echo " modulepath=/sbin/cloudflaredns_domainname.sh">>/etc.defaults/ddns_provider.conf $ sudo echo " queryurl=https://ww...

Proxmox VE(PVE)修改IP地址

nano  /etc/network/interfaces ctrl + o ctrl + x

PVE 邮件通知

图片
  https://technotim.live/posts/proxmox-alerts/ Configuring Alerts install dependencies 1 2 apt update apt install -y libsasl2-modules mailutils Configure app passwords on your Google account https://myaccount.google.com/apppasswords Configure postfix 1 echo "smtp.gmail.com your-email@gmail.com:YourAppPassword" > /etc/postfix/sasl_passwd update permissions 1 chmod 600 /etc/postfix/sasl_passwd hash the file 1 postmap hash :/etc/postfix/sasl_passwd check to to be sure the db file was created 1 cat /etc/postfix/sasl_passwd.db edit postfix config 1 nano /etc/postfix/main.cf 1 2 3 4 5 6 7 8 9 10 # google mail configuration relayhost = smtp . gmail . com : 587 smtp_use_tls = yes smtp_sasl_auth_enable = yes smtp_sasl_security_options = smtp_sasl_password_maps = hash :/ etc / postfix / sasl_passwd smtp_tls_CAfile = / etc / ssl / certs / Entrust_Root_Certification_Authority . pem smtp_tls_session_cache_database = btree :/ var / lib / postfix / smtp_tls_session_cac...

Log In Automatically to Windows 11 自动登陆 win 11

图片
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device Double-click the DWORD named "DevicePasswordLessBuildVersion," change the Value Data from "2" to "0", then click "OK." type "netplwiz"