centos5/6epelyum源安装在centos6.x上编译安装php时,如果指定编译参数--wity-mcrypt会需要安装libmcrypt-devel这个包才可以。但是当使用yuminstalllibmcrypt-devel的时候,会提示无这个包。这是因为centos6.x默认的yum源不在包含这个资源。需要第三方资源。首先现在如下rpm包..
分类:
其他好文 时间:
2015-08-16 23:26:49
阅读次数:
164
连接光盘,挂在光盘#mount/dev/cdrom/media/编辑/etc/yum.repos.d/iso.repo[ISO]
name=ISO
baseurl=file:///media
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
[EPEL]
name=EPEL
baseurl=http://mirrors.aliyun.com/epel/6/x86_64/
enabled=1
..
分类:
其他好文 时间:
2015-08-15 12:10:16
阅读次数:
512
第一次接触redhat系统,安装软件时,发现没有ubuntu的apt-get包管理器,自带的yum包管理器又什么都找不到,网上搜了好久,终于把yum配置好了,感谢博主们~使用redhat系统自带的yum时,总会报错nothing to do,因为redhat的yum是收费的,未注册不可使用。因此我们...
分类:
其他好文 时间:
2015-08-14 18:49:43
阅读次数:
183
CentOS使用yum源中自带的rpm包安装LAMP环境。这是Linux下安装LAMP的环境一种最基本最简便的方式。新手可以从容安装使用。1. 安装基础包(可选安装)yum install -y wget zip unzip gzipyum install -y python ruby perlyu...
分类:
其他好文 时间:
2015-08-14 06:26:54
阅读次数:
116
1、安装https和createrepoyuminstallhttpdcreaterepo-y2、将ISO镜像挂载上mkdir-p/data/cdrom/创建挂载目录mount/dev/cdrom/data/cdrom/将ISO镜像挂载在创建的目录上3、创建存放yum源的目录mkdir/var/www/html/CentOS/4、将yum源拷贝到上面的目录\cp-a/data/cdrom/Packages/var..
分类:
Web程序 时间:
2015-08-13 06:38:20
阅读次数:
226
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