tomcat7设置catalina.out日志分割--按天分割 1.安装logrotate以及nano工具2.配置logrotate3.测试logrotate4.添加到计划任务 1.安装logrotate以及nano工具 yum install logrotate -y 中间件 #tomcat 2025-04-08 29 0
nginx高可用keepalived配置 1.高可用的基本介绍 2.keepalived原理 3.keepalived配置文件/etc/keepalived/keepalived.conf主服务器 Keepalived 配置 (/etc/keepalived/keepalived.conf)备服务器 Keepalived 配置 (/etc/ Nginx #Nginx 2025-04-08 74 0
linux系统设置密码永不过期步骤 编辑脚本: vi set_password_never_expire.sh #!/bin/bash # 遍历所有用户 for user in $(cut -f1 -d: /etc/passwd); do # 设置用户密码永不过期 sudo chage -M 99999 -m 0 - Linux #Nginx 2025-04-03 18 0
Redis 安装与配置文档 Redis 安装与配置文档 Redis 安装与配置文档1. 配置 SELinux2. 创建 Redis 用户3. 安装 Redis4. 配置 Redis5. 配置 Systemd 服务6. 启动 Redis 服务7. 配置 Redis 密码8. 登录 Redis9. 测试 Redis 服务结语 本文 中间件 #Redis 2025-04-03 27 0
nginx安装使用文档--保姆级 1. 创建用户和用户组 groupadd nginx useradd -r -g nginx -s /sbin/nologin nginx groupadd nginx:创建一个名为 nginx 的用户组。 useradd -r -g nginx -s /sbin/nologin nginx:创建一 项目 #Nginx 2025-04-03 175 0
Python3.13安装(Linux) 1. 安装依赖包2. 下载并解压 Python 源码3. 配置 Python 安装路径4. 编译并安装 Python5. 修改 .bashrc 文件设置 Python3 别名6. 使环境变量生效7. 设置 Python 和 pip 命令的软链接8. 检查 Python 版本 1. 安装依赖包 编程语言 #Python 2025-04-03 6 0