![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
你携秋水揽星河
ㅤㅤㅤ
展开
-
Centos7中yum安装时出现错误[Errno 14] curl#6 - "Could not resolve host: mirrors.aliyuncs.com; Unknown e解决办法
我在yum源来下载httpd出现了以下的错误:[root@master ~]# yum install httpd -y已加载插件:fastestmirrorLoading mirror speeds from cached hostfile * base: mirrors.aliyun.com * extras: mirrors.aliyun.com * updates: mirr...转载 2020-02-05 10:30:13 · 13687 阅读 · 3 评论 -
制作一个centos6.5的模板
第一步1. 先安装一个centos6.5, 输入用户名,密码进入centos中, 输入以下指令:vim /etc/sysconfig/network-scripts/ifcfg-eth02. 映入眼帘的是一大推东西,不要慌, 接下来就是如何更改:- 首先把HWADDR这个给去掉,- 把UUID给去掉, 没啥子用- 把ONBOOT改成yes,- 把BOOTPROTO改成static*...原创 2019-10-06 21:00:18 · 231 阅读 · 0 评论 -
shell编程入门
为什么要学习shell编程?Shell是什么?Shell编程快速入门脚本格式要求:1. 脚本以#!/bin/bash开头2. 脚本需要有可执行权限编写第一个shell脚本来输出hello world!...原创 2019-11-07 11:21:24 · 217 阅读 · 0 评论 -
centos7更换阿里的yum源
1. 备份本地的yum源 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo_bak2.获取阿里yum源配置文件curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo3.清除原来旧...原创 2019-10-20 14:46:01 · 101 阅读 · 0 评论