vi/etc/yum.repos.d/CentOS-Media.repo查看mkdir/media/CentOS/mount可查看当前mount情况挂载光盘mount-oloop/dev/cdrom/media/CentOS/或者ISO文件mount-oloopxx.iso/media/CentOS/vi/etc/yum.repos.d/CentOS-Media.repo[c6-media]name=CentOS-$releasever-Media#名字而已base..
分类:
其他好文 时间:
2017-04-25 21:15:17
阅读次数:
160
一、实验目标 1、本次实验在“Linux基础网络搭建实验”的基础上,在外网虚拟机上搭建WEB服务,并分别配置外网和网关的防火墙规则,使内网能够访问WEB服务 2、Linux基础网络搭建实验:http://www.cnblogs.com/liaoyuanyang/p/6749416.html 3、实验 ...
分类:
Web程序 时间:
2017-04-23 01:01:59
阅读次数:
270
一、Yum简介 1、Yum(全称为 Yellow dog Updater, Modified)是一个在Fedora和RedHat以及CentOS中的Shell前端软件包管理器。 2、基于RPM包管理,能够从指定的服务器自动下载RPM包并且安装,可以自动处理依赖性关系,并且一次安装所有依赖的软件包,无 ...
分类:
其他好文 时间:
2017-04-21 23:46:41
阅读次数:
236
zabbix2.4部署一、安装前的准备 1、配置本地yum源 2、 yum-yinstallntpdate #安装时间同步 3、echo‘*/1****/usr/sbin/ntpdatentp1.aliyun.com&>/dev/null‘>>/var/spool/cron/root#配置计划任务,每隔1分钟更新一次时间,ntp1.aliyun.com阿里时间服务器 4、service..
分类:
其他好文 时间:
2017-04-15 21:05:16
阅读次数:
247
本地yum源搭建环境介绍:1、虚拟机版本:VMwareWorkstation12Pro2、安装系统:CentOS7.23、光盘或镜像文件:CentOS7.2镜像文件(1)挂载CentOS7.2镜像文件到/mnt目录[root@localhost~]#mount/dev/cdrom/mnt/mount:/dev/sr0iswrite-protected,mountingread-only(2)切换到/etc/yum...
分类:
其他好文 时间:
2017-04-08 23:09:35
阅读次数:
250
环境:centos7配置repo文件[root@localhostyum.repos.d]#catbase.repo[server]name=serverbaseurl=file:///openyum/gpgcheck=0将本地yum包放到要创建的本地yum源的路径中tarzxfopenstack.tar.gz-C/openyum/1/tarzxfcinder.tar.gz-C/openyum/2/安装createrepoyum-yinstallcreater..
分类:
其他好文 时间:
2017-04-06 01:44:21
阅读次数:
114
安装web服务器yuminstall-ynginxcd/etc/nginxvimconf.d/virtual.confserver{listen80;server_namemirrors.xdbigdata.com;autoindexon;location/{root/mnt/sdb/html/mirrors;indexindex.htmlindex.htmindex.php;}}sed-i‘1,$d‘conf.d/default.confmkdir/mnt/sdb/html/mirrors-p/e..
分类:
其他好文 时间:
2017-03-29 19:28:14
阅读次数:
123
1、更换阿里源mv/etc/yum.repos.d/CentOS-Base.repo/etc/yum.repos.d/CentOS-Base.repo.backupwget-O/etc/yum.repos.d/CentOS-Base.repohttp://mirrors.aliyun.com/repo/Centos-6.repo#下载阿里的yum源#如出现无法找到下载包,需要安装epelyuminstallepel-releaseyumcleanallyu..
分类:
Web程序 时间:
2017-03-24 21:09:55
阅读次数:
243
本地yum源配置1.查看光盘挂载情况[root@test~]#mkdir/test[root@test~]#mount/dev/cdrom/test/mount:blockdevice/dev/sr0iswrite-protected,mountingread-only[root@test~]#dfFilesystem1K-blocksUsedAvailableUse%Mountedon/dev/sda31940713633313961508988419%/tmpfs51435272..
分类:
系统相关 时间:
2017-03-23 22:34:35
阅读次数:
231
一、配置本地yum源 #查看yum源目录[root@centos01 ~]# ll /etc/yum.repos.d/总用量 28-rw-r--r--. 1 root root 1664 12月 9 2015 CentOS-Base.repo-rw-r--r--. 1 root root 1309 ...
分类:
系统相关 时间:
2017-03-21 15:40:29
阅读次数:
775