随笔 - 41  文章 - 0 评论 - 4 阅读 - 63353
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

随笔分类 -  linux

安装keepalived时报:The GPG keys listed for the "MySQL 8.0 Community Server" repository are already installed but they are not correct for this package.
摘要:参考链接:https://www.cnblogs.com/gaohongyu/p/14479497.html 执行 yum -y install keepalived 时报:The GPG keys listed for the "MySQL 8.0 Community Server" reposi 阅读全文
posted @ 2022-05-27 02:03 文泽9527 阅读(882) 评论(0) 推荐(0) 编辑
记一次充满坎坷的mysql8.0.27 主从配置
摘要:由于我是直接克隆的 虚拟机,忘了改 1. 创建 replica 用户:create user 'replica'@'%' identified by 'KevinWu123!'; 这里 create user 'replica'@'%' identified with 'mysql_native_p 阅读全文
posted @ 2022-05-25 03:46 文泽9527 阅读(394) 评论(0) 推荐(0) 编辑
docker-compose:行1: Not: 未找到命令
摘要:背景:按照官网(https://docs.docker.com/compose/install/)安装好依赖、下载好 docker-compose、执行授权后,执行 docker-compose --version 报错: /usr/local/bin/docker-compose:行1: Not: 阅读全文
posted @ 2021-12-22 01:01 文泽9527 阅读(6645) 评论(0) 推荐(1) 编辑
mysql 报 'Host ‘XXXXXX’ is blocked because of many connection errors'
摘要:1. 问题:服务启动时,日志报错,导致启动失败: Caused by: com.mysql.cj.exceptions.CJException: null, message from server: "Host 'ip' is blocked because of many connection e 阅读全文
posted @ 2021-09-06 16:33 文泽9527 阅读(859) 评论(0) 推荐(0) 编辑
centos 安装 nginx
摘要:参考文章: https://blog.csdn.net/qq_42815754/article/details/82990073 https://blog.csdn.net/cailongbiaoyuli/article/details/84348866 https://help.aliyun.co 阅读全文
posted @ 2020-05-27 20:27 文泽9527 阅读(289) 评论(0) 推荐(0) 编辑
notepad++ 连接远程服务器
摘要:前言:为了便于编辑 linux 上的文件,因此通过 notepad++ 连接服务器后打开,编辑完,保存即可 1. 打开 notepad++,安装插件 2. 搜索 NppFtp,找到后 点击 安装/install 3. 重启 notepad++ 4. 点击 远程开启连接窗口 按钮 5. 配置远程连接信 阅读全文
posted @ 2020-05-27 17:44 文泽9527 阅读(2308) 评论(2) 推荐(0) 编辑
centos7.4 64位安装 git
摘要:参考博客:Linux Jenkins配置Git 1. git --version 查看有没有安装 过 git,没有则 继续 2. git 压缩包下载地址:https://mirrors.edge.kernel.org/pub/software/scm/git/ 2. 可以通过 直接 拉取的方式下载 阅读全文
posted @ 2020-04-15 16:03 文泽9527 阅读(175) 评论(0) 推荐(0) 编辑
centos7.4 64位安装 redis-4.0.0
摘要:1. 下载 redis 包 链接:https://pan.baidu.com/s/1g1UE_GTreXoD9uOXB7G3HA 提取码:ug8p 2. 安装gcc、ruby 、rubygems等环境 yum install gcc-c++ yum install ruby yum install 阅读全文
posted @ 2020-02-23 19:50 文泽9527 阅读(325) 评论(0) 推荐(0) 编辑
mysql 添加用户并授权
摘要:实际开发中,公司出于安全考虑,不会给我们 root 账号、密码,只有关于本项目的 数据库账号、密码 或者 专门用途的账号、密码 1. 查询当前数据库用户 使用 root 账号、密码登录 mysql 输入: SELECT DISTINCT CONCAT('User: ''',user,'''@''', 阅读全文
posted @ 2020-02-12 15:02 文泽9527 阅读(195) 评论(0) 推荐(0) 编辑
ssh 无法使用
摘要:ssh 无法运行造成无法远程连接 linux 原因: 我将 /var 目录权限修改成了 777,但 linux 系统出于安全起见,该目录的 7 权限只对 root 用户开放,所以linux 系统认为本次操作不安全,因此停止,并停止了 远程。 排查: 通过 ps -ef | grep ssh, 发现 阅读全文
posted @ 2020-02-03 10:37 文泽9527 阅读(540) 评论(0) 推荐(0) 编辑
linux 磁盘满了,vim 编辑文件时无法保存
摘要:早上来发现 redis 不能用,报 MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the dat 阅读全文
posted @ 2019-11-28 11:35 文泽9527 阅读(698) 评论(0) 推荐(0) 编辑
linux 彻底卸载mysql
摘要:1. 停止 mysql 服务: systemctl stop mysqld.service 2. yum remove mysql (因为 之前是通过 yum -y install 方式安装的 ) 3. 再次查找mysql 安装情况:rpm -qa|grep -i mysql 4. 一个一个删除: 阅读全文
posted @ 2019-11-25 13:26 文泽9527 阅读(469) 评论(0) 推荐(0) 编辑
linux 操作只读变量
摘要:由于该操作需要用到 gdb,所以需要先 安装好 gdb 1. 查询是否有gdb: 2. 如果没有,需要先执行 yum install gdb 命令进行安装 3. 定义 只读变量 abc 并打印值: abc=helloworld && readonly abc && echo $abc 如果对变量 a 阅读全文
posted @ 2019-11-03 00:02 文泽9527 阅读(1389) 评论(0) 推荐(0) 编辑
阿里云esc 安装 mysql5.7.27
摘要:1. 下载: wget http://repo.mysql.com/mysql57-community-release-el7-10.noarch.rpm 2. 安装: (1) yum -y install mysql57-community-release-el7-10.noarch.rpm (2 阅读全文
posted @ 2019-09-25 23:56 文泽9527 阅读(446) 评论(0) 推荐(0) 编辑
基于阿里云ecs(centos 7) 安装jenkins
摘要:1. 安装好 jdk 2. 官网(https://pkg.jenkins.io/redhat-stable/)下载rpm包(稳定版): wget https://pkg.jenkins.io/redhat-stable/jenkins-2.176.3-1.1.noarch.rpm 3. rpm 命令 阅读全文
posted @ 2019-09-22 11:35 文泽9527 阅读(2106) 评论(0) 推荐(0) 编辑
基于阿里云 ecs 使用 docker 方式部署 showDoc
摘要:官网文档:https://www.showdoc.cc/help?page_id=65610 (建议先看下这个) 首先说明一下,我 ecs 镜像是 CentOS 7.6 64位 1. 首先在 服务器上安装好 docker,并且登录服务器 2. 拉取showdoc 镜像(我是直接 获取的最新版本的sh 阅读全文
posted @ 2019-09-05 02:35 文泽9527 阅读(402) 评论(0) 推荐(0) 编辑
阿里云esc 安装 docker
摘要:1. 更新 yum 到最新: yum update (用 root 用户登录,无需加 sudo,如果不是,需要加,即 yum update ) 2. 安装软件包:yum-util(提供 yum-config-manager 功能) device-mapper-persistent-data 驱动依赖 阅读全文
posted @ 2019-09-04 23:36 文泽9527 阅读(583) 评论(0) 推荐(0) 编辑
阿里云esc 安装 mysql8.0
摘要:参考文章:https://www.cnblogs.com/wlwl/p/9686809.html 补充:下载: Yum Repository ——> MySQL Yum Repository(https://dev.mysql.com/downloads/) ——> Download ——> No 阅读全文
posted @ 2019-09-03 09:34 文泽9527 阅读(1236) 评论(0) 推荐(0) 编辑
阿里云esc 登录时的相关提示
摘要:1. 如果该ecs 未绑定密钥对,可以通过常规的用户名密码登录 2. 如果该 ecs 绑定了密钥对,则需要通过私钥进行登录 3. 如果使用 比如 securityCRT 登录时报 “ A public key file has not been specified for this session 阅读全文
posted @ 2019-09-03 01:39 文泽9527 阅读(432) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示