安装yum源yum-yinstallhttp://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpmvim/etc/yum.repos.d/epel.repobaseurl去掉注释注释mirrorlist安装git环境所需的包yum-yinstalllibicu-develpatchgcc-c++readline-develzlib-devellibffi-developenssl-develm..
                            
                            
                                分类:
其他好文   时间:
2014-11-16 10:48:19   
                                阅读次数:
305
                             
                    
                        
                            
                            
                                ##安装centos7基础操作系统 ###本篇概要 * 安装操作系统并配置网络 * 安装本地源,epel源和openstack的yum源 * 安装MariaDB数据库服务,安装RabbitMQ消息服务 ---- 安装centos7操作系统,目前的环境都是在我的笔记...
                            
                            
                                分类:
其他好文   时间:
2014-11-15 18:58:46   
                                阅读次数:
255
                             
                    
                        
                            
                            
                                下载repo文件(以Centos为例):wgethttp://mirrors.163.com/.help/CentOS6-Base-163.repo2.备份并替换系统的repo文件[root@localhost~]#cd/etc/yum.repos.d/
[root@localhost~]#mvCentOS-Base.repoCentOS-Base.repo.bak
[root@localhost~]#mvCentOS6-Base-163.repoCentOS-Base.r..
                            
                            
                                分类:
系统相关   时间:
2014-11-15 06:41:06   
                                阅读次数:
244
                             
                    
                        
                            
                            
                                redhat5.4 yum源制做方法1、服务端 1.1 搭建一个web服务器我用nginx做为web服务器。(安装略) 配置nginx 在/usr/local/nginx/conf/nginx.conf配置文件中加入 server { listen 80; server_name mirrors.r...
                            
                            
                                分类:
其他好文   时间:
2014-11-14 10:39:05   
                                阅读次数:
188
                             
                    
                        
                            
                            
                                在安装完CentOS后一般需要修改yum源,才能够在安装更新rpm包时获得比较理想的速度。国内比较快的有163源、sohu源,这里以163源为例子。 1. cd /etc/yum.repos.d 2. mv CentOS-Base.repo CentOS-Base.repo...
                            
                            
                                分类:
其他好文   时间:
2014-11-13 20:55:09   
                                阅读次数:
137
                             
                    
                        
                            
                            
                                主要记录安装中的问题:1 centos 5和6的epel源需要不同的包来更新Centos 5.xwget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpmwget http://rpms.famille...
                            
                            
                                分类:
其他好文   时间:
2014-11-13 18:11:58   
                                阅读次数:
119
                             
                    
                        
                            
                            
                                有些小伙伴不会搭建yum源,从yum开始;其实只要是文件共享就可以作为yum源(nfs,http,ftp,sample(sample我没试过,但应该也行),本地文件);我们使用最简单的本地的yum源来作为讲解;第一步:挂载光盘;Mount/dev/sr0/mnt然后配置yum文件;cd/mnt/*******(其中这个文件很重..
                            
                            
                                分类:
其他好文   时间:
2014-11-13 16:50:56   
                                阅读次数:
188
                             
                    
                        
                            
                            
                                制作本地yum源挂载光盘mount/dev/cdrom/mnt/查看内容ls/mnt/编辑Centos-Media.repoviCentos-Media.repo
name=dvd
baseurl=file:///mnt/
gpgcheck=0
enabled=1
                            
                            
                                分类:
其他好文   时间:
2014-11-13 13:05:11   
                                阅读次数:
117
                             
                    
                        
                            
                            
                                Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again,解决办法是编辑/etc/yum.repos.d/epel.repo,把基础的恢复,镜像的地址注释掉 #baseurl ...
                            
                            
                                分类:
Web程序   时间:
2014-11-13 12:26:45   
                                阅读次数:
178
                             
                    
                        
                            
                            
                                在dell r410上面装的是centos6,64的操作系统,用的163的源,我一直都是用163的源,比较快。但是我发现这个源里面,根本没有libmcrypt libmcrypt-devel这二个包,装php扩展mcrypt时,又要用到这二个包,所...
                            
                            
                                分类:
其他好文   时间:
2014-11-13 11:05:01   
                                阅读次数:
125