最近更新系统发现非常的缓慢,于是准备换国内的yum源。准备工作,首先备份/etc/yum.repos.d/CentOS-Base.repo cd /etc/yum.repos.d/ wgethttp://mirrors.163.com/.help/CentOS6-Base-163.repo把下载文件...
分类:
其他好文 时间:
2015-08-18 13:53:12
阅读次数:
120
1、配置yum源vim/etc/yum.repos.d/CentOS-Base.repo
[mongodb-org-2.6]
name=MongoDB2.6Repository
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/
gpgcheck=0
enabled=1yumcleanall2、安装yuminstall-ymongodb-orgPS:如果yum安装因为网络不给力,那就..
分类:
数据库 时间:
2015-08-18 06:49:48
阅读次数:
167
=============================================================================================Howtoinstallzabbix-agentonCentOS7Step1:AddRequiredRepository#rpm-Uvhhttp://repo.zabbix.com/zabbix/2.4/rhel/7/x86_64/zabbix-release-2.4-1.el7.noarch.rpmStep2:Install..
分类:
其他好文 时间:
2015-08-18 06:41:55
阅读次数:
125
一.安装git环境centos 6.5,没连网。首先挂载离线包并修改yum使用本地repo#创建挂载点mkdir /media/CentOs-6.5-CD1 mkdir /media/Centos-6.5-CD2#挂载mount -o loop -t iso9660 ./CentOS-6.5-x86...
分类:
其他好文 时间:
2015-08-17 21:16:13
阅读次数:
301
1 创建rhel-debuginfo.repo,如果有则先备份再删除 cd /etc/yum.repos.d
rm rhel-debuginfo.repo
vi rhel-debuginfo.repo 插入以下内容: [Server]
name=Red Hat Enterprise Linux Server
baseurl=file:///home/redhat-iso #本地i...
分类:
其他好文 时间:
2015-08-17 10:12:46
阅读次数:
171
1.添加仓库:sudo wget -O /etc/yum.repos.d/jenkins.repo \ http://jenkins-ci.org/redhat/jenkins.reposudo rpm --import http://pkg.jenkins-ci.org/redhat/jenki....
分类:
其他好文 时间:
2015-08-16 15:10:11
阅读次数:
105
1、下载地址 下面都可以 http://repo.springsource.org/libs-release-local/org/springframework/spring http://repo.spring.io/simple/libs-release-local/org/springframework/spring/ 源码可以在Git上获取,地...
分类:
编程语言 时间:
2015-08-16 10:56:07
阅读次数:
117
连接光盘,挂在光盘#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
Git常用命令1、添加文件 git add xxx2、提交更新到本地 git commit -m 'local-repo'3、提交更新 git push master4、列出分支 git branch5、检索分支代码 git checkout xxx6、拉取分支更新 git pull x...
分类:
其他好文 时间:
2015-08-14 11:36:17
阅读次数:
137