background picture of the home page

详解 Linux 中的 /etc/fstab 文件

做Linux运维,有一个文件必须要熟悉的,那就是/etc/fstab 。它是一个至关重要的配置文件,它负责管理文件系统的挂载信息,确保系统启动时能够自动完成存储设备与目录树的关联。 一、什么是 /etc/fstab? /etc/fstab(File System Table)是 Linux 系统中定

thumbnail of the cover of the post

Linux history命令使用详解

Bash(最常用的 Linux Shell)的工作机制就是如此: 内存中的历史记录 (In-memory history):在每个会话进行时,您输入的命令会暂时保存在该会话的内存中。 退出时写入文件 (Write on exit):只有当您正常退出(exit) 这个终端会话时,Bash 才会将内存中

thumbnail of the cover of the post

通过跳板机访问内网服务器

网络需求: 现在有一台机器A ip:192.168.2.167 通过跳板机B ip:网卡1(外部)192.168.2.100 网卡2(内部) 192.168.4.100 访问内网服务器C ip 192.168.4.10 配置跳板机为网关(全流量转发) 将跳板机配置为网关,本地所有流量

thumbnail of the cover of the post

删除挂载的lv卷

1、确认挂载点和逻辑卷的相关信息 使用df -h命令或者lsblk命令 [root@NFSserver ~]# df -h 文件系统 容量 已用 可用 已用% 挂载点 devtmpfs 3.3G 0 3.3G 0% /dev

thumbnail of the cover of the post

Linux-NFS配置

Linux下NFS服务器的搭建与配置 一、NFS服务简介  NFS 就是 Network FileSystem 的缩写,最早之前是由sun 这家公司所发展出来的。 它最大的功能就是可以透过网络,让不同的机器、不同的操作系统、可以彼此分享个别的档案 (share files)。所以,你也可以简单的将他

thumbnail of the cover of the post

Linux 之时间同步timedatectl

本文以Debian12系统为例讲解 timedatectl 是 Linux 系统上用于查询和更改系统时间和日期配置的核心控制命令。它是 systemd 系统和服务管理器套件的一部分,提供了一个统一的接口来管理所有与时间相关的设置。 主要功能

thumbnail of the cover of the post

Linux查看时区

1、使timedatectl 命令 root@debian8204:~# timedatectl Local time: Tue 2025-08-26 11:11:29 CST Universal time: Tue 2025-08-26 03:1

thumbnail of the cover of the post

office2021镜像下载地址(附加2024)

office 2021下载 一、专业增强版(强烈推荐): http://officecdn.microsoft.com/pr/492350f6-3a01-4f97-b9c0-c7c6ddf67d60/media/zh-cn/ProPlus2021Retail.img 二、专业版: http://o

thumbnail of the cover of the post

Windows 关闭更新

命令行进入服务,services.msc,找到Windows更新,停止启动,双击打开弹框,点击“停止”,将启动类型选为“禁用”。然后切换到“恢复”选项,将第一次失败、第二次失败、后续失败全部修改为“无操作”,点击“应用”“确定”。 命令行进入组策略,gpedit.msc,找到计算机配置-->管理模板

thumbnail of the cover of the post

在debian11下手动安装mysql8.0.30

下载安装包 官网https://downloads.mysql.com/archives/community/下载并解压MySQL 8.0.30的tar包 root@debian11:~# cd /usr/local/src/ root@debian11:/usr/local/src# wget h

thumbnail of the cover of the post

tar命令使用详解

tar命令 可以为linux的文件和目录创建档案。利用tar,可以为某一特定文件创建档案(备份文件),也可以在档案中改变文件,或者向档案中加入新的文件。tar最初被用来在磁带上创建档案,现在,用户可以在任何设备上创建档案。利用tar命令,可以把一大堆的文件和目录全部打包成一个文件,这对于备份文件或将

thumbnail of the cover of the post

查看docker所占空间大小

系统查看docker目录占用空间 输入命令df -h查看 [root@kylin-2 ~]# df -h 文件系统 容量 已用 可用 已用% 挂载点 devtmpfs 39G 0 39G 0% /dev tmpfs

thumbnail of the cover of the post

LinuxMirrors一键切换国内镜像源

一个纯Bash 编写的脚本,无需安装任何依赖,核心功能是自动检测你的 Linux 发行版+地理位置,然后从阿里云、腾讯云、清华、中科大等 20+个镜像站中选出速度最快且支持 IPv 6 的源。 项目地址: GitHub:https://github.com/SuperManito/LinuxMirr

thumbnail of the cover of the post

openssl命令与证书管理详解

1、openssl核心功能 1. 证书管理:生成 CSR、签发证书、证书转换 2. 密钥操作:生成 RSA/ECC 密钥、密钥转换 3. 加密/解密:支持 AES、DES、3DES 等算法 4. 摘要计算:SHA-256、MD5 等哈希值生成 5. SSL/TLS 测试:模拟客户端/服务器端连接

thumbnail of the cover of the post

kylinV10 SP3 设置网卡自启动

银河麒麟服务器操作系统开机后默认网卡是不启动的,我们需要手动设置 # 打开网卡配置文件,设置ONBOOT=yes # 依据实际网卡修改未必是ens3 # vim /etc/sysconfig/network-scripts/ifcfg-ens3 TYPE=Ethernet PROXY_METH

thumbnail of the cover of the post

Spring boot connot connect to Redis

本地服务无法连接外部的redis服务 报错日志输出 Caused by: org.springframework.data.redis.RedisConnectionFailureException: Unable to connect to Redis at org.springframewor

thumbnail of the cover of the post

Docker系列------Kingbase V8r6

KingbaseES数据库docker部署 部署手册 docker run部署 # 导入镜像 docker load -i XXXX.tar # 查看镜像 docker images # 运行容器 [root /home/kingbase]# docker run -tid --privile

thumbnail of the cover of the post

关于/etc/docker/daemon.json的配置解析

本文将深入探讨如何通过daemon.json文件来自定义Docker守护进程选项,以优化Docker的性能和安全性 1、什么是daemon.json daemon.json是Docker守护进程的配置文件,它允许用户自定义Docker的行为。通过修改这个文件,我们可以设置各种选项,如存储驱动、网络配

thumbnail of the cover of the post

查看cgroupfs挂载

在 Linux 系统中,cgroupfs(即 cgroup 文件系统)通常由 systemd 或其他初始化系统自动挂载 1、检查已挂载的 cgroup 文件系统 [root@kylin01 ~]# mount | grep cgroup tmpfs on /sys/fs/cgroup type tm

thumbnail of the cover of the post

SSL证书自动续签 certimate

证书自动续签工具 certimate 官网介绍 | Certimate GitHub仓库usual2970/certimate: 开源的SSL证书管理工具,可以帮助你自动申请、部署SSL证书,并在证书

thumbnail of the cover of the post

windows 查看已连接的wifi密码

按快捷键win+X+A进入命令行窗口 输入以下命令查看wifi密码 #查看已存储的wifi名称 netsh wlan show profiles # 查看某个wifi具体信息 netsh wlan show profiles XXXwifi名称 key=clear

thumbnail of the cover of the post

Docker离线安装部署

我们在官网找到二进制安装docker文档Binaries | Docker Docs 先决条件: 64位主机 查看命令 uname -p Linux >=3.10 查看命令 uname -r iptables >=1.4 查看命令 iptables -V git >=1.7 查看命令 git ver

thumbnail of the cover of the post

Dockerfile构建ruoyi后端文件

这里采用多阶段构建,先用Maven构建项目,然后将构建好的jar包放到jre运行环境中。 # Dockerfile # docker/backend/Dockerfile # Stage 1: Build the application using Maven # 选择一个包含 Maven 和

thumbnail of the cover of the post

Dockerfile构建ruoyi 前端文件

我们这里采用多阶段构建,先用nodejs构建vue项目,然后将静态文件交给nginx托管 # Stage 1: Build the Vue application # 选择一个 Node.js 镜像 (版本需与 ruoyi-ui 兼容, 查看 package.json 或咨询项目) FROM nod

thumbnail of the cover of the post

journalctl 日志查看工具介绍

1、介绍 journalctl 是一种用于查看、管理 Linux 系统日志的命令行工具,是 systemd 日志记录系统的一部分。journalctl 能够快速加载大量日志文件,并且支持多种过滤和查询方式。 systemd 是 Linux 系统的一个初始化系统,它负责启动和管理各种服务和进程。sys

thumbnail of the cover of the post

主流Linux操作系统各版本网卡配置方法汇总

本文主要分享CentOS/RHEL 系列 和 Debian/Ubuntu 系列 中各种版本下的网卡配置方式,并详细注释每个参数的作用,帮助你完全理解每种配置格式。 【温馨提示】国产系统麒麟V10,openEuler等都是基于Redhat系列开发的,网卡配置与其对应版本配置方法相同 1 、CentOS

thumbnail of the cover of the post

Windows OpenVPN同时连接多个VPN服务

日常开发中经常要切换vpn在不同的局域网作业,但是openvpn安装时只会默认添加一个TAP adapter,这就导致了如果有多个vpn server我们需要不停的切换vpn操作,非常麻烦,既然知道了原因,那么就容易解决了,只需要再次添加一个TAP adapter即可。 安装openvpn Open

thumbnail of the cover of the post

Harbor部署及实践攻略

1 概述 1.1 什么是harbor Harbor 是一个企业级的云原生容器镜像仓库,由 VMware 主导开发并贡献给 Cloud Native Computing Foundation (CNCF)。它通过为 Docker 镜像提供安全、高效的管理能力,帮助企业简化容器应用程序的交付流程。相比于

thumbnail of the cover of the post

kylin V10 使用yum包安装docker时出现的问题

由于原系统yum源带的docker版本太低,使用阿里的docker-ce.repo时,会默认定向为centos 10版本,导致安装时可能有如下错误: Error: Problem 1: cannot install the best candidate for the job - nothi

thumbnail of the cover of the post

使用Windows自带工具校验哈希值

cmd打开命令行窗口: 执行如下命令 CertUtil -hashfile C:\xxx.tar MD5 此命令不仅可以做MD5哈希算法校验,还支持其他的哈希算法,具体如下: CertUtil -has

thumbnail of the cover of the post

利用frp+openVPN实现异地组网--(二)

上一篇文章我们利用frp技术实现了内网穿透,这篇文章我们来介绍利用openvpn做异地组网。 1、openvpn异地组网 openvpn也是一个client-server技术,需要有客户端和服务端。服务端安装在公司服务器上面,我们可以通过服务端利用路由转发来访问公司局域网任意一台电脑。客户端安装在员

thumbnail of the cover of the post

利用frp+openVPN实现异地组网--(一)

我们在出差时可能需要访问公司的网络,这时候就需要VPN技术了。利用frp+openVPN技术,我们可以轻松访问公司的局域网服务。 下面介绍两部分服务,一个是frp内网穿透,一个是openvpn异地组网技术。 1、frp内网穿透 frp是一个典型的client-server结构,需要一台有公网ip的云

thumbnail of the cover of the post

Proxmox VE 添加监控

使用 proxmox-pve-exporter 监控 Proxmox VE 安装 proxmox-pve-exporter 这里我将 proxmox-pve-exporter 安装到单独的服务器,而不是 pve宿主机,这样可以通过一个 exporter 去监控多台 pve 主机,如果只有一台机器的话

thumbnail of the cover of the post