摘要: 在终端执行yum -y install wget时,终端提示: 已加载插件:fastestmirror Loading mirror speeds from cached hostfile There are no enabled repos. Run "yum repolist all" to s 阅读全文
posted @ 2021-06-01 20:09 明天睡大觉 阅读(1951) 评论(0) 推荐(0)
摘要: 1.切换到指定目录 /etc/yum.repos.d 2.下载阿里云的资源文件 wget http://mirrors.aliyun.com/repo/Centos-7.repo 3.如果没有wget,下载wget yum -y install wget 4.备份既有的配置文件 mv CentOS- 阅读全文
posted @ 2021-06-01 20:06 明天睡大觉 阅读(243) 评论(0) 推荐(0)
摘要: CentOS的最小系统仅包含内核和必要的工具,派不上多大用处,以后还得安装很多附加软件。为了方便以后的工作,还需要对系统做一些调整和补充。 1.安装wget 2.修改yum基本软件源仓库 3.使用命令yum install net-tools -y安装,完成以后,ifconfig就可以用了 4.安装 阅读全文
posted @ 2021-06-01 20:03 明天睡大觉 阅读(222) 评论(0) 推荐(0)
摘要: 1.安装docker yum install docker 查看docker版本 docker version 2.启动docker服务,并且设置为开机启动 systemctl start docker.service systemctl enable docker.service 3.配置镜像加速 阅读全文
posted @ 2021-06-01 19:51 明天睡大觉 阅读(177) 评论(0) 推荐(0)
摘要: 1.下载python3.6包 wget https://www.python.org/ftp/python/3.6.6/Python-3.6.6.tar.xz 2.安装相关依赖 yum install gcc-c++ yum install pcre pcre-devel yum install z 阅读全文
posted @ 2021-06-01 19:39 明天睡大觉 阅读(1280) 评论(1) 推荐(0)