一.yum源理解 yum源仓库的地址 在/etc/yum.repos.d/,并且只能读出第一层的repo文件yum仓库的文件都是以.repo结尾的 二.下载阿里云的.repo仓库文件 ,放到/etc/yum.repos.d/ 备份原本的仓库文件 ...
一.yum源理解 yum源仓库的地址 在 etc yum.repos.d ,并且只能读出第一层的repo文件 yum仓库的文件都是以.repo结尾的 二.下载阿里云的.repo仓库文件 ,放到 etc yum.repos.d 备份原本的仓库文件 .下载第一个阿里云仓库文件 wget O etc yum.repos.d CentOS Base.repo http: mirrors.aliyun.co ...
2019-02-15 13:21 0 3209 推荐指数:
一.yum源理解 yum源仓库的地址 在/etc/yum.repos.d/,并且只能读出第一层的repo文件yum仓库的文件都是以.repo结尾的 二.下载阿里云的.repo仓库文件 ,放到/etc/yum.repos.d/ 备份原本的仓库文件 ...
1、备份 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2、下载新的CentOS-Base.repo 到/etc/yum.repos.d/ CentOS ...
阿里云服务器Linux CentOS安装配置(三)yum安装mysql 1、执行yum安装mysql命令:yum -y install mysql-server mysql-devel 2、启动:service mysqld start 3、设置root密码:mysqladmin -u ...
阿里云服务器Linux CentOS安装配置(四)yum安装tomcat 1、yum -y install tomcat 执行命令后,会帮你把jdk也安装好 2、tomcat安装目录:/var/lib/tomcat/ 3、tomcat配置目录:/etc/tomcat/ 4、启动 ...
1.备份 2.下载新的CentOS-Base.repo 3.生成缓存 ...
阿里云yum源配置 ...
安装Basel repo源 备份系统原来的repo文件 将下载的repo源,从命令 ...
1、先清理掉yum.repos.d下面的所有repo文件 [root@localhost yum.repos.d]# rm -rf * 2、下载repo文件 wget http://mirrors.aliyun.com/repo ...