1.卸载已安装的php yum -y remove php* 2.配置yum源 rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm rpm -Uvh https://mirror.webtat ...
分类:
Web程序 时间:
2020-02-21 22:22:49
阅读次数:
80
一,yum包更新到最新 输入 : sudo yum update 二,安装需要的安装包 输入 :sudo yum install -y yum-utils device-mapper-persistent-data lvm2 三,将yum源设置阿里云 输入: sudo yum-config-mana ...
分类:
其他好文 时间:
2020-02-20 22:17:43
阅读次数:
69
Docker安装 1.实验前的准备 准备虚拟机 docker1:192.168.76.128 关闭防火墙 2.步骤 1.虚拟机基本准备 2.配置yum源 3.安装docker 图1 图2 完成上面的步骤表示docker已经安装完成,环境也已经部署好了,接下来介绍一下docker的简单命令 ...
分类:
其他好文 时间:
2020-02-19 18:53:05
阅读次数:
68
一、配置DHCP服务器1、安装DHCP服务器软件[root@centos01~]#mount/dev/cdrom/mnt/<!--挂载操作系统光盘-->mount:/dev/sr0写保护,将以只读方式挂载[root@centos01~]#rm-rf/etc/yum.repos.d/CentOS-*<!--删除系统自动yum源-->[root@centos01~]#yum-y
分类:
其他好文 时间:
2020-02-19 17:22:28
阅读次数:
435
1.安装wget yum install -y wget 2.备份/etc/yum.repos.d/CentOS-Base.repo cd /etc/yum.repos.d/ mv CentOS-Base.repo CentOS-Base.repo.back 3.下载阿里云的CentOS-6.rep ...
分类:
其他好文 时间:
2020-02-19 13:11:17
阅读次数:
78
一、现象 使用yum makecache命令时报错 [root@MiWiFi-R3L-srv ~]# yum makecache Loaded plugins: fastestmirror Repository base is listed more than once in the configu ...
分类:
其他好文 时间:
2020-02-18 20:46:16
阅读次数:
204
1.安装mini的系统,设置yum为保存cache [root@controller ~]# cat /etc/yum.conf [main] cachedir=/var/cache/yum/$basearch/$releasever keepcache=1 2.执行yum update -y #更 ...
分类:
其他好文 时间:
2020-02-18 18:28:08
阅读次数:
49
01:更改yum源 curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 02:安装常用工具我软件包 yum install -y tree lrzsz telnet wget b ...
分类:
其他好文 时间:
2020-02-18 09:54:40
阅读次数:
72
5.1、安装cobbler: 参考"linux运维_集群_01(35、cobbler自动化安装操作系统:)"5.2、cobbler yum源常用操作命令:cobbler repo add 添加yum源cobbler repo copy 复制cobbler repo edit 修改cobbler re... ...
分类:
其他好文 时间:
2020-02-17 23:55:29
阅读次数:
154
一、centos7安装最新版git 由于在使用码云过程中的错误,导致必须安装最新版的git,所以记录下安装过程! 1、查看已有git版本 # git --version git version 1.7.1 2、查看 yum 源仓库的 Git 信息 # yum info git 可以发现yum 源仓库 ...
分类:
系统相关 时间:
2020-02-17 19:52:56
阅读次数:
164