创建本地yum仓库
本文分享自天翼云开发者社区《》,作者:zzzzgj;背景有的部署环境不通外网,但希望继续使用yum命令下载依赖包而不修改部署脚本逻辑。因此记录一个本地repo的建立方法。1、获取依赖包如在通网的机器上下载openssldevel所有依赖yumdownloa
Wesley13 Wesley13
2年前
10月10日任务
7.6yum更换国内源  安装扩展源epelyuminstallyepelrelease yumlist|grepepel基础源(BASE)第一步下载源\root@test(https://my.oschina.net/azibug)yum.repos.d\yuminstal
Wesley13 Wesley13
2年前
MySQL安装之yum安装
MySQL安装之yum安装在CentOS7中默认安装有MariaDB,这个是MySQL的分支,但为了需要,还是要在系统中安装MySQL,而且安装完成之后可以直接覆盖掉MariaDB。1.下载并安装MySQL官方的YumRepository1root@BrianZhu/wgeti
Stella981 Stella981
2年前
CentOS 7 yum nginx MySQL PHP 简易环境搭建
用centos自带的yum源来安装nginx,mysql和php,超级方便,省去编译的麻烦,省去自己配置的麻烦,还能节省非常多的时间。我们先把yum源换成国内的阿里云镜像源(当然不换也可以),先备份一下原来的源镜像文件,以免出错后可以恢复:\root@192~\mv/etc/yum.repos.d/CentOSBase.repo/et
Stella981 Stella981
2年前
Linux 下使用yum 命令安装MySQL
Linux下使用yum安装MySQL,以及启动、登录和远程访问MySQL数据库。1、yum安装mysql1\.查看有没有安装包:  yumlistmysql\  移除已经安装的mysql  yumremovemysqlmysqlservermysqllibscompatmysql5
Stella981 Stella981
2年前
Centos 7 替换镜像源
1备份原始源\root@localhost~\mv/etc/yum.repos.d/CentOSBase.repo/etc/yum.repos.d/CentOSBase.repo.backup2下载新的镜像源方法1:wget直接下载执行命令
Stella981 Stella981
2年前
CentOS7 PHP+Redis实现Session共享
先yum简单的安装rediswgetO/etc/yum.repos.d/CentOSBase.repohttp://mirrors.aliyun.com/repo/epel7.repoyumyinstallredis简单配置一下:vim/etc/redis.confdaemonizeye
Stella981 Stella981
2年前
CentOS 安装完成后的配置
1.更新软件源2.安装必要的软件包3.更新软件源:$ sudo yum makecacheCentos7的yum包管理工具默认可以加载fastestmirror插件,自动设置最快的源:Loaded plugins: fast
Stella981 Stella981
2年前
Linux yum 报错:One of the configured repositories failed (Unknown), and yum doesn't have.
报错信息Oneoftheconfiguredrepositoriesfailed(CentOS7Addonssohu.com),andyumdoesn'thaveenoughcacheddatatocontinue.Atthispointtheonlysafethingyumcan