会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
李延申
博客园
首页
新随笔
订阅
管理
2024年12月10日
Centos7.9安装配置redis
摘要: 1、卸载当前低版本的redis yum -y remove redis 2、安装redis最新yum源 yum install -y http://rpms.famillecollet.com/enterprise/remi-release-7.rpm 3、通过yum源安装redis yum --e
阅读全文
posted @ 2024-12-10 10:31 李延申
阅读(540)
评论(0)
推荐(0)
2024年12月9日
Centos7.9实现远程挂载 nfs
摘要: 需求:现有2台华为云服务器(配置了同一个安全组,内网可以互ping),需要将192.168.0.141的/data/logs目录下的所有文件远程挂载到192.168.0.204的/data/logs目录下,采用了nfs的方式 一、192.168.0.204配置如下 1 yum install nfs
阅读全文
posted @ 2024-12-09 17:18 李延申
阅读(342)
评论(0)
推荐(0)
2024年12月4日
centos7.9 指定位置安装nginx
摘要: 1、安装依赖 yum install pcre pcre-devel openssl openssl-devel 2、下载安装包 ##下载至data目录 cd /data wget http://nginx.org/download/nginx-1.27.3.tar.gz tar -xvf ngin
阅读全文
posted @ 2024-12-04 14:24 李延申
阅读(290)
评论(0)
推荐(0)
2024年12月3日
centos7.9指定位置安装docker
摘要: 1、准备工作 ##docker准备安装的目录mkdir /data/docker##设置配置文件mkdir /etc/docker vi /etc/docker/daemon.json ##加入下面的配置,graph对应的是自定义安装的路径,磁盘空间稍大一点 { "registry-mirrors"
阅读全文
posted @ 2024-12-03 09:02 李延申
阅读(202)
评论(0)
推荐(0)
2024年12月2日
Centos7.9 安装mysql8.4.3-lts 记录过程
摘要: 1、下载并上传mysql rpm安装包 tar -xvf mysql-8.4.3-1.el7.x86_64.rpm-bundle.tar 2、按照如下顺序执行安装;如果有依赖缺少,执行yum -y install 依赖名称 rpm -ivh mysql-community-common-8.4.3-
阅读全文
posted @ 2024-12-02 11:27 李延申
阅读(555)
评论(0)
推荐(0)
2024年7月23日
阿里docker加速
摘要: https://5xbkg50y.mirror.aliyuncs.com
阅读全文
posted @ 2024-07-23 17:49 李延申
阅读(27)
评论(0)
推荐(0)
2024年7月11日
docker更换镜像源
摘要: 1、docker的官方镜像源下载镜像速度比较慢,可以更换为国内的一些镜像源 #修改或者创建/etc/docker/daemon.json文件 { "registry-mirrors":["https://cr.console.aliyun.com","http://hub-mirror.c.163.
阅读全文
posted @ 2024-07-11 15:35 李延申
阅读(4168)
评论(0)
推荐(0)
Centos7更换阿里镜像源
摘要: 1、查看当前镜像源 cat /etc/yum.repos.d/CentOS-Base.repo 2、备份当前官方镜像 cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak 3、下载阿里镜像并替换到镜像文件
阅读全文
posted @ 2024-07-11 08:40 李延申
阅读(1635)
评论(0)
推荐(0)
2023年9月5日
常规漏洞OpenSSH版本升级
摘要: 1. 任务目标 OpenSSH 7.4p1 -> OpenSSH 9.3p1 OpenSSL 1.0.2k-fips -> OpenSSL 3.1.2 2. 当前服务器版本与官方最新版本 [root@localhost ~]# ssh -V OpenSSH_7.4p1, OpenSSL 1.0.2k
阅读全文
posted @ 2023-09-05 10:21 李延申
阅读(253)
评论(0)
推荐(0)