博客

  • 据说是史上最强DD win脚本

    bash <(curl -sSL https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh) -windows 10 -lang “cn”

     

    然后使用Windows徽标+R快捷键打开运行框,输入powershell运行,弹出powershell命名输入窗口,输入以下命令:irm https://get.activated.win | iex

     

    账户:Administrator

    密码:Teddysun.com

  • Xray 核心的 VLESS +Reality 模式

    更新软件:

    apt update

     

    安装curl:

    apt install curl -y

     

    安装Xray 核心的 VLESS +Reality 模式:

    bash <(curl -L https://github.com/crazypeace/xray-vless-reality/raw/main/install.sh) 4 8443

  • 内核转发加nftables 转发

    内核转发加nftables 转发:

     

    sysctl -w net.ipv4.ip_forward=1

     

    echo “net.ipv4.ip_forward=1” >> /etc/sysctl.conf

  • Realm 一键转发脚本安装

    Realm 一键转发脚本安装:

    wget -N https://raw.githubusercontent.com/qqrrooty/EZrealm/main/realm.sh && chmod +x realm.sh && ./realm.sh

     

    启动:       ./realm.sh

  • 一个win11精简版

    https://pan.quark.cn/s/266668b60615#/list/share

  • 订阅链接转化

    https://suburl.v1.mk/

  • Realm一条命令tcp和udp转发

    realm -l [IPv4 地址]:[端口] -r [IPv6 地址]:[端口]

  • 1keydd 据说速度比较快的Win10脚本

    wget -qO- inst.sh | bash -s – -n ,netmask,gateway -t https://test89.blob.core.chinacloudapi.cn/ruyi/win10-ent-2016-ltsb-x64-cn.iso

     

     

    密码:1keydd

  • 一键DD WIN11的脚本

    一键DD WIN11的脚本:

    wget –no-check-certificate -qO InstallNET.sh ‘https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh’ && chmod a+x InstallNET.sh

     

    bash InstallNET.sh -dd “https://dl.lamp.sh/vhd/en-us_win11_ltsc.xz”

  • vps定期释放无用的缓存,定期清理日志文件

    定期释放无用的缓存:

    sync; echo 3 > /proc/sys/vm/drop_caches

    加到 cron 任务中,每天定期执行:

    echo “0 4 * * * root sync; echo 3 > /proc/sys/vm/drop_caches” >> /etc/crontab

    定期清理日志文件:

    journalctl –vacuum-size=100M # 清理日志至100MB

  • Hax的vps设置DNS连网

    Hax的vps设置DNS连网:

    echo -e “nameserver 2001:67c:2b0::4\nnameserver 2001:67c:2b0::6” > /etc/resolv.conf

    然后安装warp

    wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh

  • Serverbox比Daremote这个探针app好

    目前探针app好像就只有两个,一个是Serverbox,一个是Daremote,后者不如前者。

  • TCP窗口调优

    wget http://sh.nekoneko.cloud/tools.sh -O tools.sh && bash tools.sh
  • Sshwifty官方提供的DEMO页面

    https://sshwifty-demo.nirui.org/

  • Windows 11 LTSC 2024 官方精简版

    Windows 11 LTSC 2024 官方精简版

    https://drive.massgrave.dev/zh-cn_windows_11_enterprise_ltsc_2024_x64_dvd_cff9cd2d.iso

  • 宝塔面板使用Nginx进行反代,提升网站访问速度和增强防护

    文章来源 https://zhujiwiki.com/21245/

     

    假设你有2台VPS,一台为Linode日本,IP为1.1.1.1(国内直接访问速度慢),一台为香港CN2,IP为2.2.2.2(国内访问速度快)

     

    网站建在Linode日本VPS上,域名为 xxxxx.com。

     

    在香港CN2 VPS上安装宝塔面板,并安装Nginx。

     

    2、在你的网站域名解析处,域名A记录设置为香港CN2 VPS的IP:2.2.2.2

     

    3、在香港CN2 VPS宝塔面板页面设置:

     

    新建网站 xxxxx.com,SSL证书,反向代理设置为 xxxxx.com,并开启缓存

     

    修改 /etc/hosts 文件,在文件末尾添加如下信息:

     

    1.1.1.1 xxxxx.com

    1.1.1.1 www.xxxxx.com

     

    4、文件缓存位置默认为 /www/server/nginx/proxy_cache_dir

     

    反代配置文件为 /www/server/nginx/conf/proxy.conf

  • 三个Linux面板

    宝塔面板v7.7.0纯净版:    curl -sSO https://raw.githubusercontent.com/zhucaidan/btpanel-v7.7.0/main/install/install_panel.sh && bash install_panel.sh

     

    mdserver-web面板:       curl -fsSL https://raw.githubusercontent.com/midoks/mdserver-web/master/scripts/install.sh | bash

     

    耗子面板:             curl -fsLm 10 -o install.sh https://dl.cdn.haozi.net/panel/install.sh && bash install.sh

     

     

  • VPS 端口与IP检查

    VPS 端口与IP检查:

    https://ping.sx/check-port

    另一个IP检测工具

    https://iplark.com/

  • vps一键WARP

    开启双栈网络(同时为IPv4和v6开启)

    bash <(curl -fsSL git.io/warp.sh) d

     

    自动配置 WARP WireGuard IPv4 网络(IPv4 出站流量走 WARP 网络)

    bash <(curl -fsSL git.io/warp.sh) 4

     

    自动配置 WARP WireGuard IPv6 网络(IPv6 出站流量走 WARP 网络)

    bash <(curl -fsSL git.io/warp.sh) 6

     

    查看菜单

    bash <(curl -fsSL git.io/warp.sh) menu

  • CtrlFire指纹浏览器

    推荐一个指纹浏览器:   CtrlFire指纹浏览器,新户有四大福利:

    15个真机网页防封窗口,设备环境任意刷

    10条静态住宅IP、200MB动态住宅流量

    全球匿名远程办公、建5个网站 + 600篇SEO文章

    5$体验金,WA等主流平台筛开通活跃

  • 这样好像是wp的robots的正确写法

    这样好像是robots的正确写法

     

    User-agent: *

    Disallow: /wp-admin/

    Disallow: /wp-includes/

    Disallow: /wp-content/plugins

    Disallow: /wp-content/themes

    Disallow: /feed

    Disallow: /articles/*/feed

    Sitemap: http://freedomgpt.top/sitemap.xml

  • 再推荐一个一键DD/重装脚本,可保留ipv6

    再推荐一个一键DD/重装脚本,可保留ipv6

    当前系统是 Linux

    国外服务器:curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh || wget -O reinstall.sh $_

    国内服务器:curl -O https://gitlab.com/bin456789/reinstall/-/raw/main/reinstall.sh || wget -O reinstall.sh $_

     

    当前系统是 Windows

    Important

    请先关闭 Windows Defender 的 实时保护 功能。该功能会阻止 certutil 下载任何文件。

     

    解决 Windows 7 下无法下载脚本

    国外服务器:

    certutil -urlcache -f -split https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.bat

    国内服务器:

    certutil -urlcache -f -split https://gitlab.com/bin456789/reinstall/-/raw/main/reinstall.bat

     

    Linux 下运行 bash reinstall.sh

    Windows 下运行 .\reinstall.bat

  • atec Cache APCu与 Powered Ca, 另外两个wordpress缓存插件

    介绍两个wordpress缓存插件,atec Cache APCu与Powered Cache,可能要比同类插件快一点。

    atec Cache APCu下载地址https://downloads.wordpress.org/plugin/atec-cache-apcu.2.1.44.zip

    Powered Cache下载地址https://wordpress.org/plugins/powered-cache/

  • 一个加快wordpress后台的插件

    一个加快wordpress后台的插件,它名为smalltool:

     

    https://help.laoxuehost.com/wp-content/uploads/2023/06/smalltool.zip

  • 一个比较全面也比较简单的Linux管理箱

    一个比较全面也比较简单的Linux管理箱

    bash <(curl -sL shell.cdn1.vip)

  • 几个比较便宜的大内存vps

    几个比较便宜的大内存vps

    serverpoint:  德国商家

    vCPU:4 @ Intel E5v4 at 2.1 GHz

    内存:4 GB

    空间:300 GB SSD

    流量:10 TB / 月(1Gbps端口)

    IPv4:1

    $5/月

    myPrepaid-Server:德国货  提示:下单后要第二天才能拿到vps的信息,德国鸡好像都这样,不知这是不是也算德国人的严谨。

    内存:5 GB

    空间:1算00 GB NVMe SSD

    流量:不限 / 月(3Gbps端口)

    IPv4:1

    €2.5/月

    sanaka.cloud   德鸡   主要是IPv6鸡
    ¥8.00 CNY

    Italy-RETN-IPv6-Toy

    1 vCPU (Shared)
    160M Memory
    1.5GB SSD Disk
    500Mbps Bandwidth
    250G Traffic (In+Out)
    IPv4 NAT (20 Ports)
    1*IPv6

    DartNode:国外商家

    vCPU:2

    内存:4 GB

    空间:100 GB SSD

    流量:不限 / 月(1Gbps端口)

    IPv4:1

    $4.99/月

     

    ikihost:  印度尼西亚的公司

    2 GB 内存   10G 端口  1 个IPv4

    KVM 虚拟化  盐湖城 – 美国

    $3.05 /月

    gtiocloud:  也是德国商家

    1H 2GB

    20GB SSD

    20GB备份容量

    10个备份插槽

    NAT IPV4 仅出口

    1个 独立ipv6

    不限流量(合理使用)

    1Gbps↑ 10Gbps↓

    $1.50/mo

    vpsdim  国外商家

    vCPU

    6GB Fully Dedicated Memory

    30GB Storage (Enterprise grade SSDs in RAID10)

    2TB Traffic Limit

    1 Public IP Address

    Optional IPv6 Addresssmarthost.   7美元/月

    OMO :  主要提供香港国际线路的KVM VPS,有原生IP。

    HKG.A.Gold14
    vCPU:2
    内存:4 GB
    空间:50 GB NVMe
    流量:4 TB / 月(1Gbps端口,双向计算)
    IPv4:1
    €5/月

     

    vserver.site   德鸡

    €3,00 EUR

    Monatlich

    2 vCore

     

    2048 mb Ram

     

    10 GB HDD

     

    Snapshots (Copy-On-Write)

     

    Bero-host

    中央处理器:

    1 个核心

    内存:3G  官网 https://bero-host.de

     

    Nuyek

    1 vCPU  2GB   月2.5刀

     

    merhabainternet  土耳其 商家

    4核4g   有Windows   月付4.9刀

    (VDS/VPS)

     

    YVGS Cloud 2025年度特惠  | 前20名 8€ 32G大内存服务器   只能pp付款

  • systemenhance系统优化脚本

    wget -qO /tmp/systemenhance.sh https://raw.githubusercontent.com/Vincentkeio/systemenhance/refs/heads/main/systemenhance.sh && sudo chmod +x /tmp/systemenhance.sh && sudo bash /tmp/systemenhance.sh

    注意:如果系统提示没有 sudo 命令,可以移除命令中的 sudo,使用以下命令:

    wget -qO /tmp/systemenhance.sh https://raw.githubusercontent.com/Vincentkeio/systemenhance/refs/heads/main/systemenhance.sh && chmod +x /tmp/systemenhance.sh && bash /tmp/systemenhance.sh
  • Vectras-VM,安卓模拟多系统的神器

    Vectras-VM,安卓模拟多系统的神器

  • Credamo见数,又一个国内付费调查平台

    Credamo见数是又一个国内付费调查平台,知道的人不多,推荐一下,在“Credamo见数”公众号注册即可。

  • WP ROCKET破解版

    WP ROCKET破解版

    https://wpthemeset.lanzoum.com/iZXbX2dpq4sj

  • ubuntu强制安装vesta面板与减少 ssh 断开频率的小方法

    ubuntu强制安装vesta面板

    curl -O https://vestacp.com/pub/vst-install.sh

    bash vst-install-ubuntu.sh –force

    减少 ssh 断开频率的小方法

    vim /etc/ssh/ssh_config

    添加

    ServerAliveInterval 20

    ServerAliveCountMax 999

  • Redis Object Cache无法启动的解决办法

    wp安装了Redis,但Redis Object Cache无法启动,出现Redis 无法访问: `SELECT` failed: NOAUTH Authentication required. [tcp://127.0.0.1:6379]

    解决办法是

    打开/wp-content/plugins/redis-cache/includes/object-cache.php

    大概在620多行左右,在 protected function build_parameters 下面加入:

    ‘password’ => ‘*********’,

    重启即可。

  • 来自hostloc的WordPress SEO优化不完全手册

    来自hostloc

    WordPress SEO优化不完全手册

    1,打开wp-includes文件夹下的comment-template.php文件,然后找到下面这一段语句:

    $return = “<a href=’$url’ rel=’external nofollow’ class=’url’>$author</a>”

    把 rel=’external nofollow’ 改为 rel=’nofollow’,作用是,百度只看得懂 rel=’nofollow’,这个优化完全是对于百度。这样做了之后,就不怕一些SEO菜鸟,在你的评论那里搞垃圾评论流失权重了,每当我看见一些人为了留链接去评论,我不禁感到好笑,我的博客的评论全部用了nofollow标签的。

    2,地址静态化: 设置》固定链接 选择自定义结构 ,设置格式为 /y%year%/%post_id%.html 你可以自己设置格式,我是按年归类。这个需要你的主机支持,一般正常点的虚拟主机都支持。

    3,301重定向你的博客,把@定向到你的www,权重集中。一般来说,改写 .htaccess 即可,样本:

    RewriteEngine On

    RewriteCond %{http_host} ^abestforum.com [NC]

    RewriteRule ^(.*)$ http://www.hostloc.com/$1 [L,R=301]

     

    4,使用 All in One SEO Pack 这个插件,重新改写你的Tittle,以及描述,

    5,安装 Baidu Sitemap Generator 以及 Google XML Sitemaps 这两个插件。

    6,使用 Simple Tags 这个插件将文章关联起来。

    7,WP Keyword Link 这个插件是重点中的重点,设置好你的关键词以及相关文章,设置 First Match Only 这里打勾,如果你是中文关键字,For zh_CN? 也打勾。

    8,安装 Add Post URL 这个插件,别人在转载你的文章的时候,会自动给你加上外链。

     

  • 根据IP真实地址生成器

    根据IP真实地址生成器

    https://ip-geoaddress-generator.pages.dev/

  • 推荐一个Win10镜像

    https://cloud.189.cn/t/NJRZbiNJjiIv

    访问码:9qdp

  • 再推荐一个一键DD脚本

    准备组件

    Debian/Ubuntu:

    apt-get install -y xz-utils openssl gawk file wget screen && screen -S os

    RedHat/CentOS:

    yum install -y xz openssl gawk file glibc-common wget screen && screen -S os

    如果出现异常,请刷新Mirrors缓存或更换镜像源。

    RedHat/CentOS:

    yum makecache && yum update -y

    Debian/Ubuntu:

    apt update -y && apt dist-upgrade -y

     

    一键脚本:

    wget –no-check-certificate -O AutoReinstall.sh https://d.02es.com/AutoReinstall.sh && chmod a+x AutoReinstall.sh && bash AutoReinstall.sh

    输入Y确认DD后主机自动获取IP,N则自行设置IP 输入N后会自动检测出主机现用IP,如果正确可以按Y确认使用,如不正确则按N自行按正确的输入。

     

    25合一系统密码:
    1、CentOS 7.7 (已关闭防火墙及SELinux,默认密码Pwd@CentOS)
    2、CentOS 7 (默认密码cxthhhhh.com)
    3、CentOS 8 (默认密码cxthhhhh.com)
    4、CentOS 6 (默认密码Minijer.com)
    5、Debian 11 (默认密码Minijer.com)
    6、Debian 10 (默认密码Minijer.com)
    7、Debian 9 (默认密码Minijer.com)
    8、Debian 8 (默认密码Minijer.com)
    9、Ubuntu 20.04 (默认密码Minijer.com)
    10、Ubuntu 18.04 (默认密码Minijer.com)
    11、Ubuntu 16.04 (默认密码Minijer.com)
    12、Windows Server 2019 (默认密码cxthhhhh.com)
    13、Windows Server 2016 (默认密码cxthhhhh.com)
    14、Windows Server 2012 (默认密码cxthhhhh.com)
    15、Windows Server 2012 Lite (默认密码nat.ee)
    16、Windows Server 2008 (默认密码cxthhhhh.com)
    17、Windows Server 2008 Lite (默认密码nat.ee)
    18、Windows Server 2003 (默认密码cxthhhhh.com)
    19、Windows Server 2003 Lite (默认密码WinSrv2003x86-Chinese)
    20、Windows 10 LTSC Lite (默认密码www.nat.ee)
    21、Windows 7 x86 Lite (默认密码Windows7x86-Chinese)
    22、Windows 7 Ent Lite (默认密码nat.ee)
    23、Windows 7 Ent Lite (UEFI支持甲骨文)(默认密码nat.ee)
    24、Windows Server 2008 Lite (UEFI支持甲骨文)(默认密码nat.ee)
    25、Windows Server 2012 Lite (UEFI支持甲骨文)(默认密码nat.ee)

    99、自定义镜像

  • 分享两个一键dd安装Linux脚本

    分享两个一键dd安装Linux脚本

    一个是

    wget -N –no-check-certificate https://down.vpsaff.net/linux/dd/network-reinstall-os.sh && \

    chmod +x network-reinstall-os.sh && ./network-reinstall-os.sh

    账户名:root,密码:IdcOffer.com

     

    另一个是天权璇玑的脚本

    更新系统下载必要软件:apt-get update -y && apt-get install curl wget vim dnsutils telnet -y

    下载dd脚本:

    wget –no-check-certificate -qO InstallNET.sh ‘https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh’ && chmod a+x InstallNET.sh

     

    比如安装debian 10

    bash InstallNET.sh -debian 10

     

    账户名:root,密码:LeitboGi0ro

  • 三个vps工具

    三个vps工具,一个是科技大佬的:

    安装基础组件

    Debian/Ubuntu

    apt update -y && apt install -y curl

     

    CentOS/RedHat/Fedora/AlmaLinux/Rocky Linux

    yum update && yum install -y curl

     

    Alpine Linux

    apk update && apk add curl

    运行脚本

    bash <(curl -sL kejilion.sh)

    一个是  wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh

    一个是八合一脚本

    wget -P /root -N –no-check-certificate “https://raw.githubusercontent.com/mack-a/v2ray-agent/master/install.sh” && chmod 700 /root/install.sh && /root/install.sh