查询安装的yum源rpm -qa | grep -i mysql 使用yum remove卸载 yum remove 刚才过滤出来的包一个个来剩下卸载不了使用rpm -e --nodeps: rpm -e --nodeps mysql-community-libs-5.7.22-1.el7.x86_ ...
分类:
数据库 时间:
2020-01-03 18:01:14
阅读次数:
110
mysql主从复制 1.centos7如何安装mysql 1.yum安装 2.源代码编译安装 3.rpm包安装 yum安装的前提条件,是准备yum源,可以选择清华园,阿里源,等等 1.安装mariadb的yum源有两,一个是阿里云,版本低,功能小 命令:yum install mariadb-ser ...
分类:
数据库 时间:
2020-01-02 22:50:05
阅读次数:
112
1、首先备份系统自带yum源配置文件/etc/yum.repos.d/CentOS-Base.repo [root@localhost ~]# mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup ...
分类:
其他好文 时间:
2020-01-02 19:09:45
阅读次数:
79
mariadb 主从复制 一、安装依赖包 yum install -y net-tools yum install -y wget # 切换aliyun的yum源 cd /etc/yum.repos.d/ mv CentOS-Base.repo CentOS-Base.repo.bak wget - ...
分类:
数据库 时间:
2020-01-02 18:34:26
阅读次数:
105
centos7 部署docker 1、获取阿里docker yum源 wget https://mirrors.aliyun.com/docker ce/linux/centos/docker ce staging.repo yum makecache yum repolist 2、移除旧版dock ...
分类:
其他好文 时间:
2020-01-02 18:33:25
阅读次数:
85
一:安装zabbix服务端 1.部署准备 命令:iptables -F #关闭防火墙命令:systemctl stop firewalld #关闭防火墙 设置解析,自建yum源 命令:cd /etc/yum.repos.d/ 命令:curl -o /etc/yum.repos.d/CentOS-Ba ...
分类:
Web程序 时间:
2020-01-02 17:12:28
阅读次数:
110
### 设置IP地址 ### 挂载磁盘仓库 >添加下面内容 >:wq --退出并保存. ### 使用yum命令自动安装软件 >测试 ### 下载最新的安装包 ###卸载原先的yum(rpm -qa|grep yum|xargs rpm -e --nodeps) ###更新文件 ###更新源以及安装一 ...
分类:
其他好文 时间:
2020-01-01 13:24:33
阅读次数:
84
阿里镜像官方地址http://mirrors.aliyun.com/ 1、点击官方提供的相应系统的帮助 :2、查看不同版本的系统操作: 为linux系统下载源设置阿里镜像的步骤 : 1. 备份 备份Centos7系统自带的yum源配置文件(/etc/yum.repos.d/CentOS-Base.r ...
分类:
其他好文 时间:
2019-12-30 11:35:02
阅读次数:
578
### ``` 1、刨根问底 什么是yum源?yum的工作原理? 说到yum源就必须说到linux系统中特有的依赖关系问题,yum就是为了解决依赖关系而存在的。yum源就相当是一个目录项,当我们使用yum机制安装软件时,若需要安装依赖软件,则yum机制就会根据在yum源中定义好的路径查找依赖软件,并... ...
分类:
其他好文 时间:
2019-12-29 20:11:21
阅读次数:
100
关闭防火墙和selinux安全机制 systemctl disable firewalld #关闭防火墙 systemctl status firewalld #查看防火墙状态(dead关闭;active开启) systemctl start firewalld #开启防火墙 创建yum仓库目录 m ...
分类:
其他好文 时间:
2019-12-29 01:00:04
阅读次数:
87