yum install nginx提示 需要 安装,epel epel是centos等衍生发行版,用来弥补centos内容更新有时比较滞后或是一些扩展的源 发现 nginx,redis都在epel yum源上...
分类:
系统相关 时间:
2015-08-13 01:21:23
阅读次数:
218
cd /etc/yum.repos.d/ wget http://mirrors.163.com/.help/CentOS6-Base-163.repo vim CentOS6-Base-163.repo 编辑文件,把文件里面的$releasever全部替换为版本号,即6最后保存! :%s/$releasever/6/g 目前cento...
分类:
其他好文 时间:
2015-08-12 23:45:55
阅读次数:
733
一般情况下强烈建议在CentOS6下面使用YUM配置安装LAMP环境,一些兄弟也很喜欢使用编译的安装方法,个人觉得如果不是对服务器做定制,用yum安装稳定简单,何必去download&make&make install呢。 为centos配置rpmforge及epel源。centos官方的源其实也....
分类:
其他好文 时间:
2015-08-12 18:52:31
阅读次数:
126
新安装了redhat6.4.安装后,登录系统,使用yumupdate更新系统。提示:ThissystemisnotregisteredtoRedHatSubscriptionManagement.Youcanusesubscription-managertoregister.无法更新。redhat默认自带的yum源需要注册,才能更新。我们想不花钱也可以更新,需要替换掉redhat的yum..
分类:
其他好文 时间:
2015-08-11 23:45:25
阅读次数:
147
CentOS7基于HTTP的本地yum源[root@localhost~]#yuminstallhttpd[root@localhost~]#systemctlstatushttpd[root@localhost~]#yumupdate&&yuminstallcreaterepo[root@localhost~]#mkdir-p/var/www/html/repos/centos/7/0--------创建本地yum源目录[root@localhost~]#creat..
分类:
其他好文 时间:
2015-08-11 23:39:16
阅读次数:
343
一般百度更换163yum源,都是如下操作:mv/etc/yum.repos.d/CentOS-Base.repo/etc/yum.repos.d/CentOS-Base.repo.oldcd/etc/yum.repos.d/wgetwgethttp://mirrors.163.com/.help/CentOS6-Base-163.repomvCentOS6-Base-163.repoCentOS-Base.repoyumcleanall&yummakecache但在y..
分类:
其他好文 时间:
2015-08-11 19:06:01
阅读次数:
150
使用RedHatEnterpriseVirtualizationAgent软件仓库所提供的rhevm-guest-agent软件包可以在RedHatEnterpriseLinux虚拟机上安装RedHatEnterpriseVirtualizationguest代理和驱动。在RedHatEnterpriseLinux虚拟机上安装guest代理和驱动的方法:登录到RedHatEnterpriseLinux虚拟机。..
分类:
系统相关 时间:
2015-08-11 10:16:09
阅读次数:
163
1、挂载ISO,在最后增加如下一行[root@localhost~]#vi/etc/fstab/dev/cdrom/mediaiso9660defaults002、更改yum源[root@localhost~]#vi/etc/yum.repos.d/CentOS-Media.repo[c6-media]name=CentOS-$releasever-Mediabaseurl=file:///mediagpgcheck=1enabled=1gpgkey=file:///etc/..
分类:
Web程序 时间:
2015-08-10 20:23:00
阅读次数:
800
环境Requirements软件版本CentOS6.6Python2.6Ruby2.1.5Git1.7.10+Redis2.0+MySQLGitLab7-8-stableGitLab Shellv2.6.0yum源为了提高软件安装速度,将yum源设置为阿里云开源镜像$ cd /etc/yum.rep...
分类:
其他好文 时间:
2015-08-10 19:40:54
阅读次数:
152
哎,今天在使用163的源进行更新的时候出现如下错误提示! 2]#?vim?README.md
[root@localhost?php-5.6.12]#?yum?clean?all
已加载插件:fastestmirror
Cleaning?repos:?base?elrepo?e...
分类:
系统相关 时间:
2015-08-08 21:32:26
阅读次数:
296