原文 https://www.cnblogs.com/lpbottle/p/7875400.html 1. 备份原来的yum源 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2. 下载阿里云 ...
分类:
其他好文 时间:
2019-11-11 13:07:45
阅读次数:
93
Install the prerequisites: sudo yum install yum-utils To set up the yum repository, create the file named /etc/yum.repos.d/nginx.repo with the followi ...
分类:
其他好文 时间:
2019-11-09 23:26:15
阅读次数:
82
仓库(Repository):用来存放项目的代码,每个项目对应一个仓库,多个开源项目则对应多个仓库 收藏(Star):收藏项目,方便下次查看,收藏项目的人数,在github上面,如果你有一个项目部的,100个star都算不容易了 复制克隆项目(Fork):复制克隆项目,该项目会有一个来自某某的某仓库 ...
分类:
其他好文 时间:
2019-11-09 21:35:05
阅读次数:
77
使用ceph-deploy安装L版开源存储 配置时间服务器、做本地免密、设置防火墙的策略、配置selinux(略) 配置yum源(开源ceph安装需要依赖于base、epel和ceph源) 修改base源# wget -O /etc/yum.repos.d/CentOS-Base.repo http ...
分类:
其他好文 时间:
2019-11-09 13:41:39
阅读次数:
133
Linux 修改yum源 第一种方式: 1 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo 第二种方式: 1 vi yum.sh 1 2 3 4 5 6 7 8 9 10 # ...
分类:
系统相关 时间:
2019-11-09 11:48:12
阅读次数:
82
Jenkins官网最新稳定版: https://pkg.jenkins.io/redhat-stable/ 1、下载依赖: wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo ...
分类:
其他好文 时间:
2019-11-07 18:59:30
阅读次数:
96
SpringBoot之Swagger2文档生成 1、Swagger2介绍 编写和维护接口文档是每个程序员的职责,前面我们已经写好的接口现在需要提供一份文档,这样才能方便调用者使用。考虑到编写接口文档是一个非常枯燥的工作,我们采用Swagger2这套自动化文档工具来生成文档,它可以轻松的整合到Spri ...
分类:
编程语言 时间:
2019-11-05 23:21:37
阅读次数:
181
Docker部署NETCORE应用程序 拉取aspnetcore最新docker镜像 aspnetcore的docker镜像在docker官网是有的,是由微软提供的。它的依赖镜像是microsoft/dotnet。通过访问网址:https://hub.docker.com/explore/,搜索关键 ...
分类:
Web程序 时间:
2019-11-05 22:00:46
阅读次数:
252
1、安装docker的yum仓库 cd /etc/yum.repos.d/ wget https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/docker-ce.repo 2、修改yum仓库,将地址docker-ce.repo中的htt ...
分类:
其他好文 时间:
2019-11-05 13:30:04
阅读次数:
80
背景 使用yum命令安装mysql时,发现下载速度很慢,于是决定换成阿里的yum源 解决方法 参考自: "https://www.jianshu.com/p/b7cd2f9fb8b7" 首先备份一下原先的yum源,避免出错无法恢复 然后修改base.reop源 安装epel.repo源 刷新缓存 总 ...
分类:
其他好文 时间:
2019-11-05 12:05:12
阅读次数:
133