随笔分类 -  Linux

1 2 3 4 5 ··· 20 下一页
摘要:替换国内源 sed -e 's|^mirrorlist=|#mirrorlist=|g' \ -e 's|^#baseurl=http://dl.rockylinux.org/$contentdir|baseurl=https://mirrors.aliyun.com/rockylinux|g' \ 阅读全文
posted @ 2026-02-05 16:17 minseo 阅读(27) 评论(0) 推荐(0)
摘要:故障现象 使用seafile搭建的网盘批量下载提示 size too large 故障原因 文件下载大小受限 修复方法 修改seafile配置文件 添加参数 # cat /opt/seafile-data/seafile/conf/seafile.conf [fileserver] port = 8 阅读全文
posted @ 2026-01-09 14:05 minseo 阅读(29) 评论(0) 推荐(0)
摘要:参考 https://github.com/containerd/containerd/blob/main/docs/getting-started.md 假如主机没有网络或者yum apt源无法安装containerd可以使用离线安装方式 环境查看 系统环境 $ cat /etc/redhat-r 阅读全文
posted @ 2025-12-30 13:35 minseo 阅读(15) 评论(0) 推荐(0)
摘要:参考 https://developer.aliyun.com/mirror/rockylinux?spm=a2c6h.13651102.0.0.6bd71b11wxBFJm 更新 sed -e 's|^mirrorlist=|#mirrorlist=|g' -e 's|^#baseurl=http 阅读全文
posted @ 2025-12-26 14:29 minseo 阅读(35) 评论(0) 推荐(0)
摘要:需求:在一台电脑安装双系统 因为安装Windows操作系统会破坏引导所以安装顺序必须是先安装Windows后安装Linux 安装Windows操作系统 只有一块盘则先删除所有分区然后分一部分空间用来安装Windows 安装Linux操作系统 本次以安装UOS操作系统为例 使用剩余的空间安装至少创建一 阅读全文
posted @ 2025-11-06 13:49 minseo 阅读(91) 评论(0) 推荐(0)
摘要:需求 需要批量给一批次电脑添加定时任务 编写yml文件 # cat deploy_check_flanneld.yml - name: 部署 flanneld 检查脚本 + 定时任务 hosts: k8snode become: yes tasks: - name: 分发检查脚本 ansible.b 阅读全文
posted @ 2025-11-05 10:54 minseo 阅读(23) 评论(0) 推荐(0)
摘要:k8s集群node节点flanneld服务down的检查重启脚本 # cat check_flanneld.sh #!/bin/bash # 服务名称 FLANNEL_SERVICE="flanneld" DOCKER_SERVICE="docker" # 检查 flanneld 是否运行 if ! 阅读全文
posted @ 2025-11-05 10:51 minseo 阅读(10) 评论(0) 推荐(0)
摘要:Github地址 https://github.com/astral-sh/uv/tree/main 文档地址 https://docs.astral.sh/uv/#highlights uv是一个用 Rust 编写的极其快速的 Python 包和项目管理工具 环境查看 系统环境 # cat /et 阅读全文
posted @ 2025-10-11 14:34 minseo 阅读(291) 评论(0) 推荐(0)
摘要:参考 https://redis.io/docs/latest/operate/oss_and_stack/install/archive/install-stack/docker/ 环境查看 系统环境 # cat /etc/redhat-release Rocky Linux release 9. 阅读全文
posted @ 2025-10-11 09:39 minseo 阅读(39) 评论(0) 推荐(0)
摘要:创建用户并授权 需要使用本地地址127.0.0.1连接MySQL数据库否则可能授权失败 > create user zentao@'%' identified by 'password'; > grant all on zentao.* to zentao@'%'; > flush privileg 阅读全文
posted @ 2025-10-10 10:38 minseo 阅读(22) 评论(0) 推荐(0)
摘要:如果是使用docker部署则进入docker后需要切换用户 su - postgres 进入数据库 psql 列出所有数据库 \l \list 查询表 # 表名需要加引号 select * from "table_name"; 条件查询加where 一一对应显示 \x 阅读全文
posted @ 2025-09-09 11:16 minseo 阅读(7) 评论(0) 推荐(0)
摘要:参考 https://developer.aliyun.com/mirror/centos?spm=a2c6h.13651102.0.0.526b1b11JmhoPC 环境查看 系统环境 # cat /etc/redhat-release CentOS Linux release 7.9.2009 阅读全文
posted @ 2025-09-08 14:35 minseo 阅读(71) 评论(0) 推荐(0)
摘要:Minio服务器重启之后一定要同步时间 阅读全文
posted @ 2025-08-29 19:54 minseo 阅读(46) 评论(0) 推荐(0)
摘要:环境查看 系统环境 # cat /etc/kylin-release Kylin Linux Advanced Server release V10 (Lance) # uname -a Linux KylinServer198 4.19.90-52.22.v2207.ky10.x86_64 #1 阅读全文
posted @ 2025-08-27 10:10 minseo 阅读(26) 评论(0) 推荐(0)
摘要:参考 https://opentelemetry.io/zh/docs/demo/docker-deployment/ 阅读全文
posted @ 2025-08-19 16:45 minseo 阅读(24) 评论(0) 推荐(0)
摘要:环境查看 系统环境 $ lsb_release -a No LSB modules are available. Distributor ID: Kylin Description: Kylin V10 SP1 Release: v10 Codename: kylin $ uname -a Linu 阅读全文
posted @ 2025-08-14 11:04 minseo 阅读(13) 评论(0) 推荐(0)
摘要:环境查看 系统环境 # lsb_release -a No LSB modules are available. Distributor ID: Kylin Description: Kylin V10 SP1 Release: v10 Codename: kylin # uname -a Linu 阅读全文
posted @ 2025-08-13 11:37 minseo 阅读(147) 评论(0) 推荐(0)
摘要:设置配置文件 填写完整的启动命令 使用绝对路径 # cat /usr/lib/systemd/system/redis.service [Unit] Description=Redis In-Memory Data Store After=network.target [Service] ExecS 阅读全文
posted @ 2025-08-05 13:53 minseo 阅读(33) 评论(0) 推荐(0)
摘要:安装 curl -LsSf https://astral.sh/uv/install.sh | sh 加到系统命令 cp /root/.local/bin/uv /usr/bin/ 阅读全文
posted @ 2025-07-28 16:31 minseo 阅读(39) 评论(0) 推荐(0)
摘要:安装依赖 npm install 更新依赖 npm update 打包 npm run build:prod 直接运行 npm run dev 阅读全文
posted @ 2025-07-16 09:50 minseo 阅读(33) 评论(0) 推荐(0)

1 2 3 4 5 ··· 20 下一页