博文

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"

激活Advanced Media Extensions 3.0.0 3.1.0

图片
  下面的方法多几个步骤但胜在无脑,会用电脑就行。 1、 从套件中心下载安装 AME3.0。 2、确认安装好之后下载脚本文件    AME3.0.0      AME3.1.0       然后保存到群晖的任意位置 文件名以下载的文件为准 3、对文件右键/属性      复制文件路径 4、打开群晖控制面板——任务计划——新增——计划的任务——用户定义的脚本 任务名称可以随意填写,用户账号必须是 root,计划项内容保持默认。  注意:已启动的勾 去掉。 注意:已启动的勾 去掉。 注意:已启动的勾 去掉   注意:已启动的勾 去掉 5、任务设置项,用户定义的脚本:输入python英文空格然后粘贴刚刚复制的ame.py文件路径。 DSM7.1 AME版本3.0.1-2004强制解锁激活命令 curl -skL https://mi-d.cn/d/aem.py | python DSM7.2 AME版本3.1.0-3005强制解锁激活命令 curl -skL https://mi-d.cn/d/ame72-3005.py | python