上一页 1 2 3 4 5 6 ··· 92 下一页
摘要: sudo -i #进入Root passwd root #重新设置root密码 # CentOS/Debian 系统,输入以下两条命令 sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/ssh/sshd_config sed -i 's 阅读全文
posted @ 2026-04-21 16:24 木子欢儿 阅读(14) 评论(0) 推荐(0)
摘要: nano /vhs/kangle/www/index.html 修改 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, i 阅读全文
posted @ 2026-04-20 22:54 木子欢儿 阅读(9) 评论(0) 推荐(0)
摘要: 要让 Kangle 将外部的 HTTPS 请求安全地反向代理到你本地的 127.0.0.1:xxxx 服务,核心思路分两步:1. 在 Kangle 上配置 SSL 证书以处理 HTTPS 连接;2. 设置反向代理规则 第一步:准备 SSL 证书 你需要有域名的 SSL 证书文件,通常包括两个文件: 阅读全文
posted @ 2026-04-20 22:48 木子欢儿 阅读(29) 评论(0) 推荐(0)
摘要: 虽然 AlmaLinux 8 标准库没有它,但你可以使用社区维护的仓库。 安装 EPEL 仓库: sudo dnf install epel-release -y 安装 Node Exporter: 在 EPEL 中,包名通常是 golang-github-prometheus-node-expor 阅读全文
posted @ 2026-04-20 21:40 木子欢儿 阅读(19) 评论(0) 推荐(0)
摘要: yum update dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo dnf -y install docker-ce --nobest systemctl enable -- 阅读全文
posted @ 2026-04-20 21:04 木子欢儿 阅读(20) 评论(0) 推荐(0)
摘要: linux系统下,可以使用stress 命令主要用来模拟系统负载较高时的场景,本文介绍其基本用法。文中 demo 的演示环境为 ubuntu 24.04。 基本语法 语法格式:stress <options> 常用选项:-c, --cpu N 产生 N 个进程,每个进程都反复不停的计算随机数的平方根 阅读全文
posted @ 2026-04-12 17:26 木子欢儿 阅读(64) 评论(0) 推荐(0)
摘要: 保存为Clear-RDP.bat GB2312编码 @echo off title RDP 历史记录清理工具 echo 正在清理远程桌面 (RDP) 历史记录,请稍候... :: 1. 结束当前的 RDP 进程,防止占用 taskkill /im mstsc.exe /f >nul 2>nul :: 阅读全文
posted @ 2026-04-12 06:36 木子欢儿 阅读(53) 评论(0) 推荐(0)
摘要: https://4help.vt.edu/sp?id=kb_article&sysparm_article=KB0016112&sys_kb_id=baf8ff0a47ddfa90b7f0f600436d43f9&spa=1 Cisco Secure AnyConnect VPN ubuntu26. 阅读全文
posted @ 2026-04-11 17:54 木子欢儿 阅读(1) 评论(0) 推荐(0)
摘要: 在 Ubuntu 24.04 中,由于官方的 Oracle Java 和 OpenJDK 已经在 Java 11 之后移除了 Java Web Start(即处理 JNLP 的工具),你无法直接使用默认的 java 命令运行它。 目前最主流、最稳定的解决方案是使用 OpenWebStart。 如果你 阅读全文
posted @ 2026-04-11 17:00 木子欢儿 阅读(59) 评论(0) 推荐(0)
摘要: 发布镜像到 Docker Hub 是开发者分享作品的标准流程。整个过程可以概括为:登录 -> 打标签 -> 推送。 以下是详细的操作步骤: 1. 准备工作 在开始之前,请确保: 你已经拥有一个 Docker Hub 账号。 本地已经安装并运行了 Docker。 你有一个已经构建好的本地镜像。你可以通 阅读全文
posted @ 2026-04-09 00:45 木子欢儿 阅读(59) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 92 下一页