跑分#
curl -L yabs.sh | bash
dd 重装系统#
wget -N --no-check-certificate https://raw.githubusercontent.com/veip007/dd/master/InstallNET.sh && chmod +x InstallNET.sh && ./InstallNET.sh -d 10 -v 64 -p "カスタムrootパスワード" -port "カスタムsshポート"
ovz 転化为 alpine#
curl -L https://gist.githubusercontent.com/trimsj/c1fefd650b5f49ceb8f3efc1b6a1404d/raw/8c2439d5d583dd40d5af3e570949b9f0974357ba/alpine.sh | bash
openssl 生成自签名证书#
opensslを使用して秘密鍵を生成
openssl genrsa -out server.key 2048
# 秘密鍵に基づいて証明書申請ファイルcsrを生成
openssl req -new -key server.key -out server.csr
# 秘密鍵を使用して証明書申請に署名し、証明書を生成
openssl x509 -req -in server.csr -out server.crt -signkey server.key -days 3650
linux 换源#
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh)
BBR#
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
wget -N --no-check-certificate "https://github.000060000.xyz/tcpx.sh" && chmod +x tcpx.sh && ./tcpx.sh
流媒体检测#
bash <(curl -L -s check.unlock.media)
一键安装 warp#
wget -N https://raw.githubusercontent.com/fscarmen/warp/main/warp-go.sh && bash warp-go.sh [option] [lisence]
DD ネットワーク再インストールスクリプト#
PS:カスタムパスワードは直接 -p あなたが望むパスワードで大丈夫です!!!
一部のマシンではネットワークカードを設定する必要があります。そうでなければ VNC は可能ですが、リモート SSH はできません。
Oracle、三毛、Vir、RN などのほとんどの VPS で一般的、三毛、Oracle は -firmware を削除することを忘れないでください
旧
bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 11 -v 64 -a -firmware -p カスタムパスワード
新
bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 11 -v 64 -p パスワード -port ポート -a -firmware
テンセントクラウド監視コンポーネントの削除#
PS: テンセントクラウドの場合、コンポーネントをアンインストールすることを忘れないでください。そうしないと、エラーが発生し、DD が失敗します。
systemctl stop tat_agent
systemctl disable tat_agent
rm -rf /etc/systemd/system/tat_agent.service
rm -fr /usr/local/qcloud
ps -A | grep agent
# テンセントクラウドコンポーネントがまだあるかどうかを確認
# このプロセスをkill
・国内 VPS はミラーソースを変更する必要があります。そうしないと非常に遅くなります!ここでは Huawei のソースを使用しています。テンセントクラウドの場合は、後で内部ネットワークソースに変更して、トラフィックを節約できます。以下に記載されています!
bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 11 -v 64 -a --mirror 'https://mirrors.huaweicloud.com/debian/' -p カスタムパスワード
ミラーサイトアドレス
公式が提供するアドレスリスト:https://www.debian.org/mirror/list
[collapse status="false" title="ミラーサイトアドレス"]
いくつかの国内の
ftp.cn.debian.org
mirror.bjtu.edu.cn
mirror.lzu.edu.cn
mirror.nju.edu.cn
mirrors.163.com
mirrors.bfsu.edu.cn
mirrors.hit.edu.cn
mirrors.huaweicloud.com
mirror.sjtu.edu.cn
mirrors.tuna.tsinghua.edu.cn
mirrors.ustc.edu.cn
使用方法:(大体は同じです)
清華源
--mirror 'https://mirrors.ustc.edu.cn/debian/'
テンセント源
--mirror 'http://mirrors.tencent.com/debian/'
--mirror 'http://mirrors.cloud.tencent.com/debian/'
テンセント源内部ネットワーク(dd完了後に変更可能、内部ネットワークの速度が速くなります)
http://mirrors.tencentyun.com/
アリババ源
--mirror 'https://mirrors.aliyun.com/debian/'
Huawei源
--mirror 'https://mirrors.huaweicloud.com/debian/'
[/collapse]
4 合一スクリプト(Windows を DD 可能)#
wget --no-check-certificate -O NewReinstall.sh https://git.io/newbetags && chmod a+x NewReinstall.sh && bash NewReinstall.sh
CN ホストの場合(一部のホスティングプロバイダーでは使用できなくなっています)、エラーが発生したり、スクリプトをダウンロードできない問題が発生する可能性があります。以下のコマンドを実行してインストールを開始できます。
wget --no-check-certificate -O NewReinstall.sh https://cdn.jsdelivr.net/gh/fcurrk/reinstall@master/NewReinstall.sh && chmod a+x NewReinstall.sh && bash NewReinstall.sh
[collapse status="false" title="パスワード"]
41合一システムパスワード:
1、CentOS 7.7 (ファイアウォールとSELinuxを無効にし、デフォルトパスワードはPwd@CentOS)
2、CentOS 7 (デフォルトパスワードcxthhhhh.com)
3、CentOS 7 (ARM64、UEFIをサポート、デフォルトパスワードcxthhhhh.com)
4、CentOS 8 (デフォルトパスワードcxthhhhh.com)
5、Rocky 8 (デフォルトパスワードcxthhhhh.com)
6、Rocky 8 (UEFIをサポート、デフォルトパスワードcxthhhhh.com)
7、Rocky 8 (ARM64、UEFIをサポート、デフォルトパスワードcxthhhhh.com)
8、CentOS 9 (デフォルトパスワードcxthhhhh.com)
9、CentOS 6 (公式ソースのオリジナル、デフォルトパスワードMinijer.com)
10、Debian 11 (公式ソースのオリジナル、デフォルトパスワードMinijer.com)
11、Debian 10 (公式ソースのオリジナル、デフォルトパスワードMinijer.com)
12、Debian 9 (公式ソースのオリジナル、デフォルトパスワードMinijer.com)
13、Debian 8 (公式ソースのオリジナル、デフォルトパスワードMinijer.com)
14、Ubuntu 20.04 (公式ソースのオリジナル、デフォルトパスワードMinijer.com)
15、Ubuntu 18.04 (公式ソースのオリジナル、デフォルトパスワードMinijer.com)
16、Ubuntu 16.04 (公式ソースのオリジナル、デフォルトパスワードMinijer.com)
17、Windows Server 2022 (デフォルトパスワードcxthhhhh.com)
18、Windows Server 2022 (UEFIをサポート、デフォルトパスワードcxthhhhh.com)
19、Windows Server 2019 (デフォルトパスワードcxthhhhh.com)
20、Windows Server 2016 (デフォルトパスワードcxthhhhh.com)
21、Windows Server 2012 (デフォルトパスワードcxthhhhh.com)
22、Windows Server 2008 (デフォルトパスワードcxthhhhh.com)
23、Windows Server 2003 (デフォルトパスワードcxthhhhh.com)
24、Windows 10 LTSC (デフォルトパスワードTeddysun.com)
25、Windows 10 LTSC (UEFIをサポート、デフォルトパスワードTeddysun.com)
26、Windows 7 x86 Lite (デフォルトパスワードnat.ee)
27、Windows 7 x86 Lite (アリババクラウド専用、デフォルトパスワードnat.ee)
28、Windows 7 x64 Lite (デフォルトパスワードnat.ee)
29、Windows 7 x64 Lite (UEFIをサポート、デフォルトパスワードnat.ee)
30、Windows 10 LTSC Lite (デフォルトパスワードnat.ee)
31、Windows 10 LTSC Lite (アリババクラウド専用、デフォルトパスワードnat.ee)
32、Windows 10 LTSC Lite (UEFIをサポート、デフォルトパスワードnat.ee)
33、Windows Server 2003 Lite (Cドライブデフォルト10G、デフォルトパスワードWinSrv2003x86-Chinese)
34、Windows Server 2008 Lite (デフォルトパスワードnat.ee)
35、Windows Server 2008 Lite (UEFIをサポート、デフォルトパスワードnat.ee)
36、Windows Server 2012 Lite (デフォルトパスワードnat.ee)
37、Windows Server 2012 Lite (UEFIをサポート、デフォルトパスワードnat.ee)
38、Windows Server 2016 Lite (デフォルトパスワードnat.ee)
39、Windows Server 2016 Lite (UEFIをサポート、デフォルトパスワードnat.ee)
40、Windows Server 2022 Lite (デフォルトパスワードnat.ee)
41、Windows Server 2022 Lite (UEFIをサポート、デフォルトパスワードnat.ee)
99、カスタムイメージ
[/collapse]
宝塔面板 7.7.0#
curl -sSO https://raw.githubusercontent.com/8838/btpanel-v7.7.0/main/install/install_panel.sh && bash install_panel.sh
#1、携帯番号を遮断
sed -i "s|bind_user == 'True'|bind_user == 'XXXX'|" /www/server/panel/BTPanel/static/js/index.js
#2、強制的に携帯をバインドするjsファイルを削除
rm -f /www/server/panel/data/bind.pl
#3、宝塔のすべての有料プラグインを手動で永久に解除
#ファイルパス:/www/server/panel/data/plugin.json
#検索文字列:"endtime": -1をすべて"endtime": 999999999999に置き換え
#4、plugin.jsonファイルをロックして自動修復を防ぐ
chattr +i /www/server/panel/data/plugin.json
総合ツールボックス(強く推奨、たくさんのスクリプトを統合)#
wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh
一鍵开启 BBR(新しい Debian、Ubuntu に適用)#
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -p
sysctl net.ipv4.tcp_available_congestion_control
lsmod | grep bbr
superbench#
wget -qO- git.io/superbench.sh | bash
Bench.sh#
wget -qO- bench.sh | bash
三网测速#
bash <(curl -Lso- https://git.io/superspeed_uxh)
bash <(curl -Lso- https://git.io/J1SEh)
wget -O jcnf.sh https://raw.githubusercontent.com/Netflixxp/jcnfbesttrace/main/jcnf.sh
bash jcnf.sh
yabs マシンのスコア#
curl -sL yabs.sh | bash
一鍵安装 docker#
海外#
curl -sSL https://get.docker.com/ | sh
国内#
curl -sSL https://get.daocloud.io/docker | sh
docker のアンインストール#
sudo apt-get remove docker docker-engine
rm -fr /var/lib/docker/
流媒体テスト#
全メディアテスト#
bash <(curl -L -s check.unlock.media)
bash <(curl -L -s https://raw.githubusercontent.com/lmc999/RegionRestrictionCheck/main/check.sh)
ネットフリックステスト#
wget -O nf https://github.com/sjlleo/netflix-verify/releases/download/2.5/nf_2.5_linux_amd64 && chmod +x nf && clear && ./nf
bash <(curl -L -s https://raw.githubusercontent.com/lmc999/RegionRestrictionCheck/main/check.sh)
bash <(curl -sSL "https://github.com/CoiaPrant/MediaUnlock_Test/raw/main/check.sh")
杜甫テスト#
wget -q https://github.com/Aniverse/A/raw/i/a && bash a
単スレッドテスト#
bash <(curl -Lso- https://bench.im/hyperspeed)
直接表示回線経路#
curl https://raw.githubusercontent.com/zhucaidan/mtr_trace/main/mtr_trace.sh|bash
wget https://raw.githubusercontent.com/nanqinlang-script/testrace/master/testrace.sh
bash testrace.sh
wget -qO- git.io/besttrace | bash
ポート 25 が開いているかどうかをテスト#
telnet smtp.aol.com 25
一鍵変更デフォルト SSH ポート、2222 に置き換え#
sed -i 's/#Port\ 22/Port\ 2222/' /etc/ssh/sshd_config && systemctl reload ssh
一鍵クリア /var/log/ ディレクトリ内の期限切れログ#
find /var/log/ -name "*.1" -exec rm -rf {} \; && find /var/log/ -name "*.log.1" -exec rm -rf {} \; && find /var/log/ -name "*.gz" -exec rm -rf {} \;
IPv4 優先か IPv6 優先かをテスト#
curl ip.p3terx.com
現在使用している最も使いやすく、機能が最も充実した warp スクリプト#
wget -N https://raw.githubusercontent.com/fscarmen/warp/main/warp-go.sh && bash warp-go.sh [option] [lisence]
宝塔一鍵マウントディスクスクリプト#
Centos システムは以下のコマンドを使用してください:#
yum install wget -y && wget -O auto_disk.sh http://download.bt.cn/tools/auto_disk.sh && bash auto_disk.sh
Ubuntu システムは以下のコマンドを使用してください:#
wget -O auto_disk.sh http://download.bt.cn/tools/auto_disk.sh && sudo bash auto_disk.sh
Debian システムは以下のコマンドを使用してください:#
wget -O auto_disk.sh http://download.bt.cn/tools/auto_disk.sh && bash auto_disk.sh
FunctionClub のメモリ検出スクリプト#
CentOS#
yum install wget -y
yum groupinstall "Development Tools" -y
wget https://raw.githubusercontent.com/FunctionClub/Memtester/master/memtester.cpp
gcc -l stdc++ memtester.cpp
./a.out
Ubuntu / Debian#
apt-get update
apt-get install wget build-essential -y
wget https://raw.githubusercontent.com/FunctionClub/Memtester/master/memtester.cpp
gcc -l stdc++ memtester.cpp
./a.out
Aria2 一鍵インストールスクリプト#
wget -N git.io/aria2.sh && chmod +x aria2.sh && ./aria2.sh
剣皇スクリプト#
wget https://github.com/maintell/webBenchmark/releases/download/0.6/webBenchmark_linux_x64
chmod +x webBenchmark_linux_x64
./webBenchmark_linux_x64 -c 32 -s https://target.url