分享生活,分享自己~
Ray

使用BestTrace查询路由
mkdir besttrace && cd besttrace
wget -N --no-check-certificate https://cdn.ipip.net/17mon/besttrace4linux.zip
unzip besttrace4linux.zip && chmod +x *
查询命令为:
cd besttrace
./besttrace -q 1 IP地址

测速脚本
bash <(curl -Lso- https://git.io/superspeed_uxh)

测试脚本
curl -Lso- bench.sh | bash

wget -qO- bench.sh | bash

wget -qO- https://ilemonrain.com/download/shell/LemonBench.sh | bash -s full

wget -qO- https://raw.githubusercontent.com/liyubaku/LemonBench/master/LemonBench.sh | bash -s full

搭建gost
wget wuyi-1251424646.costj.myqcloud.com/gost.sh && bash gost.sh

时间调整
ln -snf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo Asia/Shanghai > /etc/timezone
clock -w
Debian(使用 /sbin/hwclock --systohc 把硬件时钟设置为和当前系统时间一致。即把时间写入BIOS。这样重启以后时间是同步的。)

打出删除显示的是^H的字符
stty erase ^H
恢复以前的设置的命令是:
stty erase ^?

一键网络重装系统 - 魔改版(适用于Linux / Windows)
wget --no-check-certificate -qO ~/Network-Reinstall-System-Modify.sh 'https://www.cxthhhhh.com/CXT-Library/Network-Reinstall-System-Modify/Network-Reinstall-System-Modify.sh' && chmod a+x ~/Network-Reinstall-System-Modify.sh && bash ~/Network-Reinstall-System-Modify.sh -UI_Options

对于Microsoft Windows。
默认的用户名是:Administrator
默认的密码是:cxthhhhh.com
对于Linux(CentOS / Debian / Ubuntu),裸机系统部署平台等。
默认的用户名是:root
默认的密码是:cxthhhhh.com

DD win 教程
wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'http://down.80host.com/iso/dd/WinSrv2008x64-Chinese_datacenter_sp1_vl_kvm_xen.vhd.gz'
安装完成
防火墙记得开启3389端口
端口:3389
账户:Administrator
密码:WinSrv2008x64-Chinese
如何判断安装完成
阿里云控制台监控机器状态如图,硬盘读取变小基本完成了安装
安装后硬盘变小
计算机右键-管理-存储-磁盘管理 压缩券然后再扩展券 刷新下就可以了

Aria2 一键安装管理脚本 增强版
为了确保能正常使用,请先安装基础组件wget、curl、ca-certificates,以 Debian 为例子:
apt install wget curl ca-certificates
yum install wget curl ca-certificates -y
wget -N git.io/aria2.sh && chmod +x aria2.sh
./aria2.sh

全新的安装CentOS系统
sudo curl -sSL https://raw.githubusercontent.com/MeowLove/AlibabaCloud-CentOS7-Pure-and-safe/master/download/kill/New_installation.sh | sudo bash

一键重新安装系统
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/installNET/master/Install.sh"
chmod +x Install.sh
./Install.sh

Linux VPS一键添加/删除Swap虚拟内存
提示:脚本不支持OpenVZ架构,安装会自动退出。

wget https://yun.939.me/sh/swap.sh && bash swap.sh

更换内核加速脚本多合一

wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh

一键开启谷歌云实例的密码与root用户登陆

wget -qO- git.io/fpQWf | bash

systemctl restart sshd

Windows刷新本地的DNS缓存数据
ipconfig /flushdns

甲骨文开启root登陆,默认密码为 RUYO
echo root:RUYO |sudo chpasswd root
sudo sed -i 's/^#?PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config;
sudo sed -i 's/^#?PasswordAuthentication.*/PasswordAuthentication yes/g' /etc/ssh/sshd_config;
sudo service sshd restart
一定使用 passwd 重置 root密码!!!
一定使用 passwd 重置 root密码!!!
一定使用 passwd 重置 root密码!!!

2021年12月08日