博文

目前显示的是 五月, 2022的博文

hysteria

图片
安装hysteria:wget https://github.com/HyNetwork/hysteria... 设置执行权限:chmod 755 hysteria-linux-amd64 自签证书:     生成私钥:openssl ecparam -genkey -name prime256v1 -out ca.key     生成证书:openssl req -new -x509 -days 36500 -key ca.key -out ca.crt  -subj "/CN=bing.com" hysteria服务端配置: config.json {   "listen": ":9527",   "cert": "/root/ca.crt",   "key": "/root/ca.key",   "obfs": "password" } 关闭防火墙:ufw disable 运行: nohup ./hysteria-linux-arm  server › hysteria.log 2>&1 & 转自 https://github.com/HyNetwork/hysteria/wiki/%E5%BF%AB%E9%80%9F%E5%85%A5%E9%97%A8

x-ui 搭建

X-UI是sprov大神开发的这套面板程序 准备工作 1、VPS 一台重置好主流的操作系统 (CentOS 7+、Ubuntu 16+、Debian 8+) 2、域名一个,做好相关的解析,若是需要套用 CDN,请托管域名到 cloudflare 安装 X-ui 面板 申请 SSL 证书 安装环境: 更新及安装组件 apt update -y # Debian/Ubuntu 命令 apt install -y curl #Debian/Ubuntu 命令 apt install -y socat #Debian/Ubuntu 命令 yum update -y #CentOS 命令 yum install -y curl #CentOS 命令 yum install -y socat #CentOS 命令 安装 Acme 脚本 curl https ://get.acme.sh | sh 80 端口空闲的证书申请方式 查看80端口是否开启可以去站长之家ping端口查询 如果未开启可以尝试以下方法 开启端口: sudo iptables -P INPUT ACCEPT sudo iptables -P FORWARD ACCEPT sudo iptables -P OUTPUT ACCEPT sudo iptables -F 证书申请 : 更换代码中的域名,邮箱为你自己的: ~/.acme. sh /acme. sh --register-account -m xxxx@xxxx. com ~/.acme. sh /acme. sh --issue -d mydomain. com --standalone 安装证书到指定文件夹 更换代码中的域名 ~/.acme. sh /acme. sh --installcert -d mydomain. com --key-file /root/private. key --fullchain-file /root/cert. crt 安装或者升级X-ui 面板 bash <( curl -Ls https ://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh) 安装成功,浏览器打开X-...

甲骨文云dd重装系统一键脚本

图片
1. 一键脚本 bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh')  -d 10  -v 64 -a -firmware  -p 12345 系统参数 -d 10   【7、8、9、10】 Debian -u 20.04 【14.04、16.04、18.04、20.04】 Ubuntu 密码参数,可以改成别的 -p 12345 2.刚开始,都是自动的等 3.这就结束了 重装后3分钟VPS自动重启, 4.用户名root 5.密码就是你自己设置的 12345 或者别的 6.好了直接重装完了,直接root权限了,又可以愉快的玩耍了! 这时候想改root账户对的密码输入以下命令,输入时密码不显示,感觉像是没输进去,正常盲打即可!输入两次! passwd 这个系统装BBR前先走这个命令 apt update -y && apt install -y curl && apt install -y socat && apt install wget -y BBR PLUS 四合一脚本 wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh 转自 https://www.kejilion.xyz/2022/04/dd.html