首页
留言讨论
友情链接
关于本人
推荐
主机监控
Search
1
【Docker】ChatGPT - WEB 保姆级搭建教程,随时随地用上ChatGPT
3,602 阅读
2
【羊毛】数字移民计划 (二)- Ozan土耳其虚拟卡开通及入金教程
2,039 阅读
3
【羊毛】数字移民计划(一) - OlduBil 土耳其虚拟卡开通及入金教程
1,949 阅读
4
【教程】NaiveProxy 安装教程,可自定义端口,拯救被墙VPS!
1,890 阅读
5
【教程】哪吒探针美化教程,打造属于你的独一无二的探针
1,814 阅读
实用教程
主机推荐
生活分享
登录
Search
标签搜索
搬瓦工
VPS
CN2 GT
2022搬瓦工测评
搬瓦工延迟
洛杉矶VPS
Docker
BandwagonHost
教程
搬瓦工电信
搬瓦工移动
反代
系统重装
网络优化
BBR
监控
一键脚本
搬瓦工CN2
路由跟踪
GIA-E
Do Do
累计撰写
35
篇文章
累计收到
489
条评论
首页
栏目
实用教程
主机推荐
生活分享
页面
留言讨论
友情链接
关于本人
推荐
主机监控
搜索到
5
篇与
的结果
2023-02-23
【主机推荐】RackNerd 廉价VPS主机推荐,全球10机房
RackNerd是海外华人创立的VPS服务器商,已经稳定运作4年时间,国外VPS平台2021年度用户投票的TOP3商家。 该商家主要特色:走便宜VPS路线、性价比高、售后响应速度迅速、机器线路对中国大陆有特别优化。 因为这几个显著特点,所以也迅速占领了大陆市场,在中国用户群体中热度都比较高。VPS内存CPUSSD流量价格购买768M1核10G1T/月$10.28/年链接768M1核10G2T/月$11.88/年链接1G1核25G4T/月$12.98/年链接1.5G1核30G3T/月$16.88/年链接2G2核25G4T/月$20.98/年链接2.5G2核45G6T/月$24.88/年链接2.5G2核40G3T/月$25.88/年链接2.5G2核60G7T/月$28.55/年链接3G2核35G5T/月$29.99/年链接3.5G3核36G5T/月$30.19/年链接3.5G2核80G10T/月$38.88/年链接4.5G3核100G12T/月$48.77/年链接8G4核100G5T/月$89.00/年链接AMD Ryzen Linux VPS内存CPUNVME流量价格购买512M1核6G400G/月$15/年链接1G1核20G2T/月$32/年链接1.5G1核22G3T/月$35/年链接2.5G2核40G6T/月$69/年链接AMD Ryzen Windows VPS内存CPUNVME流量价格购买2G1核35G2T/月$60/年链接2.5G1核40G3.5T/月$69/年链接3G2核35G3T/月$79/年链接3.5G2核60G3.5T/月$99/年链接4G3核60G6T/月$115/年链接8G3核150G10T/月$219/年链接12G4核160G12T/月$289/年链接Multi-IPv4 VPS内存CPUSSD流量价格IPV4购买1.5G1核20G3T/月$60/年5链接Test IP&LookingGlass位置IPLG洛杉矶204.13.154.3链接圣何塞192.210.207.88链接西雅图192.3.253.2链接达拉斯198.23.249.100链接芝加哥198.23.228.15链接新泽西192.3.165.30链接水牛城192.3.81.8链接阿什本107.173.166.10链接亚特兰大107.173.164.160链接荷兰23.94.101.88链接
2023年02月23日
111 阅读
7 评论
0 点赞
2022-03-08
【教程】Acme + DNS 验证,NAT VPS 申请免费 SSL 证书
前言很多朋友实用 NAT VPS 的时候,都会遇到一个问题,就是一键acme脚本申请 SSL 证书无法完成。于是很多人就开始犯难了,今天教大家一个acme+DNS验证的方式为NAT机申请免费的 SSL 证书。主要介绍使用 acme.sh 结合 DNS 验证方式在 NAT VPS上完成证书申请工作。准备一个域名,例如 test.zmyos.com,并托管到 Cloudflare,关闭小云朵。acme.sh申请证书安装acme.shcurl https://get.acme.sh | sh申请证书~/.acme.sh/acme.sh --issue -d test.zmyos.com --dns --yes-I-know-dns-manual-mode-enough-go-ahead-please请把命令中的 test.zmyos.com 换成你自己的域名。会有类似如下输出:Add the following TXT record: Domain: '\_acme-challenge.test.zmyos.com' TXT value: 'NFDSHA8R45321-FHDSGF82fa3hAsd4581'Cloudflare解析复制上图方框的部分,在域名 DNS 解析后台添加一条TXT记录。下图是 Cloudflare 的操作步骤:添加记录后,建议等两分钟,然后在服务器上执行下面命令完成证书申请:~/.acme.sh/acme.sh --renew -d test.zmyos.com --yes-I-know-dns-manual-mode-enough-go-ahead-please同样的,请把命令中的 test.zmyos.com 换成你自己的域名。证书安装DNS 解析正确的话,证书就申请好了,放在 /root/.acme.sh/你的域名/ 文件夹下。注意:下面命令中的 test.zmyos.com 请换成你自己的域名!如果接下来要运行v2ray一键脚本 ~/.acme.sh/test.zmyos.com/test.zmyos.com.key ~/v2ray.key cp ~/.acme.sh/test.zmyos.com/fullchain.cer ~/v2ray.pem如果接下来要运行xray一键脚本cp ~/.acme.sh/test.zmyos.com/test.zmyos.com.key ~/xray.key cp ~/.acme.sh/test.zmyos.com/fullchain.cer ~/xray.pem如果接下来要运行trojan一键脚本cp ~/.acme.sh/test.zmyos.com/test.zmyos.com.key ~/trojan.key cp ~/.acme.sh/test.zmyos.com/fullchain.cer ~/trojan.pem如果接下来要运行trojan-go一键脚本cp ~/.acme.sh/test.zmyos.com/test.zmyos.com.key ~/trojan-go.key cp ~/.acme.sh/test.zmyos.com/fullchain.cer ~/trojan-go.pem到此,证书已经准备好了。接下来,放心的运行X-ui Mack-A一键脚本等需要证书的脚本,即使域名解析没指向 VPS 都没问题。
2022年03月08日
540 阅读
0 评论
0 点赞
2022-03-05
【教程】VPS开机必备,常用脚本集合(持续更新中 ······ )
网络重装脚本(DD)参数定义及使用-firmware 额外的驱动支持 - d Debian系统 后面是系统版本号 - c Centos系统 后面是系统版本号 - v 后面写64位 32位 - a 不清楚这个干啥的但是每个脚本都带 --mirror 后面是镜像源地址 - p 后面写自定义密码 –ip-addr ifconfig -a 后获取到的 例:194.87.xxx.xxx –ip-gate route -n 后获取到的 例 194.87.xxx.xxx –ip-mask 255.255.xxx.xxOracle、Virmach、RackNerd、Ruvds 等大部分 VPS 通用一键 DD 脚本,支持 ARM 及 AMDbash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 11 -v 64 -a -firmware -p 自定义密码国内 VPS 需要更换镜像源,否则速度很慢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 自定义密码一些国内的镜像站: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/' 华为源 --mirror 'https://mirrors.huaweicloud.com/debian/'</code></pre>DD Windowswget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'http://d.nat.ee/win/lite/win7-ent-sp1-x64-cn/win7-ent-sp1-x64-cn.vhd.gz'后面的链接为windows系统直链 可以去 http://dd.nat.ee 下载 感谢 @nat.ee。常用脚本一键脚本收录工具箱wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh一键开启BBR(适用于高版本的 Debian、Ubuntu、CentOS)#1、开启系统自带BBR + fq : 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 #2、一键 BBR 脚本,包括 BBR / BBR PLUS /魔改 BBR 等: wget -N --no-check-certificate "https://raw.githubusercontent.com/ylx2016/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh #3、BBR 参数调优 wget http://sh.nekoneko.cloud/tools.sh -O tools.sh && bash tools.shSuperBenchwget -qO- git.io/superbench.sh | bashLemonBenchwget -O- https://ilemonra.in/LemonBenchIntl | bash -s fullBench.shwget -qO- bench.sh | bash三网测速bash <(curl -Lso- http://yun.789888.xyz/speedtest.sh)流媒体检测# 第一个 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 https://raw.githubusercontent.com/nanqinlang-script/testrace/master/testrace.sh bash testrace.sh # 第二个 wget -qO- git.io/besttrace | bash # 第三个 curl http://tutu.ovh/bash/returnroute/test.sh | bash机器性能测试(yabs)curl -sL yabs.sh | bashDocker 一键安装更新、安装必备软件 apt-get update && apt-get install -y wget vim #国外机: curl -sSL https://get.docker.com/ | sh #国内机: curl -sSL https://get.daocloud.io/docker | shDocker 卸载sudo apt-get remove docker docker-engine rm -fr /var/lib/docker/Docker-compose 一键安装#国外机: sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose #国内机** curl -L https://get.daocloud.io/docker/compose/releases/download/v2.1.1/docker-compose-uname -s-uname -m /usr/local/bin/docker-compose chmod +x /usr/local/bin/docker-composeVPS 开放所有端口(适合甲骨文 ARM Ubuntu 系统)iptables -P INPUT ACCEPT iptables -P FORWARD ACCEPT iptables -P OUTPUT ACCEPT iptables -F apt-get purge netfilter-persistentVPS 改成 root 登录(适合甲骨文、谷歌云等)sudo -i echo root:你的密码@ |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
2022年03月05日
1,273 阅读
1 评论
1 点赞
2022-03-04
【教程】开源监控黄金组合 Grafana + Prometheus + NodeExporter 监控 VPS 服务器
为什么要监控VPS服务器掌握服务器的运行状态,保障在用服务的正常运行监控服务器的方案用过的服务器监控方案有:Nezha,特点:实时监控服务器试试运行状态,部署容易,有报警消息推送,有主题,可以css定制主题Uptime Kuma,特点:监控服务器试试运行状态,部署简单,有消息推送,主题简洁大气Grafana+Prometheus/Zabbix:广泛应用于各类生产环境,插件丰富多样,出了监控服务器状态外,还可以监控如Docker,K8s,网络等内容。直接在Linux下部署稍显麻烦,最近研究了Docker部署方式,可一键部署,遂献给大家。Grafana+Prometheus+NodeExporter部署步骤部署Docker和Docker-Compose环境Docker 部署curl -sSL https://get.daocloud.io/docker | sh systemctl start docker systemctl enable dockerDocker-Compose 部署curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose && chmod +x /usr/local/bin/docker-compose && ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose编辑 Docker-Compose 文件新建Grafana目录:mkdir Grafana进入Grafana目录,在目录下新建 docker-compose.yml 文件:cd Grafana nano docker-compose.yml把下面的内容复制进 docker-compose 中:version: '3.3' services: grafana: image: grafana/grafana:latest container_name: grafana depends_on: - renderer - prometheus ports: - 3000:3000 environment: GF_RENDERING_SERVER_URL: http://renderer:8081/render GF_RENDERING_CALLBACK_URL: http://grafana:3000/ GF_LOG_FILTERS: rendering:debug volumes: - ./data/grafana/grafana_data:/var/lib/grafana renderer: image: grafana/grafana-image-renderer:latest ports: - 8081 node_exporter: image: quay.io/prometheus/node-exporter:latest container_name: node_exporter hostname: node_exporter command: - '--path.rootfs=/host' network_mode: host pid: host restart: unless-stopped volumes: - '/:/host:ro,rslave' prometheus: image: prom/prometheus:v2.26.0 restart: always container_name: prometheus hostname: prometheus ports: - 9090:9090 volumes: - ./data/prometheus/conf/prometheus.yml:/etc/prometheus/prometheus.yml command: --config.file=/etc/prometheus/prometheus.yml新建 grafana 数据目录并修改权限:mkdir -p data/grafana/grafana_data && chmod 777 data/grafana/grafana_data新建 promtheus 的配置文件,并编辑内容:mkdir -p data/prometheus/conf && nano data/prometheus/conf/prometheus.yml把下面的内容复制进 promtheus 配置文件中:global: scrape_interval: 5s # pull metrics interval scrape_configs: - job_name: 'node_http' static_configs: - targets: ["127.0.0.1:9100"]启动docker-compose:docker-compose up -d登录界面:【prometheus】http://服务器IP:9090【grafana】http://服务器IP:3000加载监控图形界面输入网址 http://服务器IP:3000 ,用户名 admin,密码 admin,然后登录配置数据库:选择 Configuration -> Datasource选择 Prometheus在 Promethues 的配置页面中,填入URL,http://localhost:9090 ,点击 Save and Test点选 DashBoard 中的 Browse点击 Import输入面板编号 8919,点击 Import选择 Promethues数据库,点 Import大功告成,Enjoy ~
2022年03月04日
466 阅读
0 评论
0 点赞
2022-03-01
【教程】VPS基本优化流程,让VPS的网络更优质
1. DD纯净系统一般主机厂商的VPS,都会在后台预装监控,特别是国内的大厂。DD纯净的系统能让我们摆脱这些束缚。bash <(wget --no-check-certificate -qO- 'https://www.moe.am/drive/Windows/InstallNET.sh') -d 11 -v 64 -a-d 代表 debian,可改为-u 和 -c,-u 代表 ubuntu;-c 代表 centos。11代表版本号(例如:debian11,ubuntu20)。64代表64位系统。DD完系统后密码:MoeClub.org,SSH登录端口为22。根据VPS性能优劣,系统DD时间一般在几分钟到半小时不等。系统DD过程中,可以进去VNC后台查看进度。2. 修改密码此步骤主要用于上面DD纯净系统或者新开VPS以后修改密码passwd然后连续输入2次新设置的密码,输入的密码是不可见,确保两次输入一样即可。别用弱密码,谨防爆破!3. 修改SSH登录端口一般VPS默认都是22端口,很容易被暴力破解。为安全起见,建议更改。nano /etc/ssh/sshd_configcentos系统使用命令: vi /etc/ssh/sshd\_config, vi 语法跟 nano 有所差异,保存方式也有所不同,自行百度或者 Google 。在#Port 22下面增加一行(Port XXXX,XXXX为你新设置的SSH端口),然后 ctrl+x 保存, y 确认,回车键退出。重启SSHD服务生效systemctl restart sshd.service4. 开启BBR加速bbr 是 Google 开源的进出流量优化算法,开了 bbr 和不开 bbr 速度有明显差别。Debuan 10、Ubuntu 18、Centos 8及以上内置了 BBR 内核,用以下方法开启:echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf sysctl -p现在已经开启,最后用下面命令验证一下是否成功开启 bbrlsmod | grep bbr输出 → tcp\_bbr 20480 0如果有如上类似输出,则证明 Google BBR 配置成功了。附上其他 BBR 修改版本的一键脚本,各版本BBR加速效果可自行测试。BBR一键脚本集合wget -N --no-check-certificate "https://raw.githubusercontent.com/ylx2016/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.shNeko BBR调优脚本wget http://sh.nekoneko.cloud/tools.sh -O tools.sh && bash tools.sh大工告成,尽情使用你的VPS吧!
2022年03月01日
938 阅读
1 评论
0 点赞