yum配置与使用(很详细)yum的配置一般有两种方式,一种是直接配置/etc目录下的yum.conf文件,另外一种是在/etc/yum.repos.d目录下增加.repo文件。一、yum的配置文件$cat/etc/yum.conf[main]cachedir=/var/cache/yum#yum下载...
分类:
其他好文 时间:
2014-06-11 23:11:34
阅读次数:
376
This how-to will explain how to download rpm
packages from a yum repository without installing them. This will work on Redhat
Enterprise Linux 5.x, Fe...
分类:
其他好文 时间:
2014-06-11 22:07:34
阅读次数:
406
Nagios安装配置说明修改YUM源为国内sohu的站点;[root@nagios~]#cd/etc/yum.repos.d/[root@nagiosyum.repos.d]#lsCentOS-Base.repoCentOS-Debuginfo.repoCentOS-Media.repoCentOS-Vault.repo[root@nagiosyum.repos.d]#mvCentOS-Base.repoCentOS-Base.repo.backup[root@nagiosyu..
分类:
移动开发 时间:
2014-06-10 23:59:17
阅读次数:
484
hql中不能写count(1)可以写count(a.id)里面写具体的属性
String hql="select new com.haiyisoft.vo.entity.cc.repo.BusinessStat( r.paramName ,t.paramName , "
+" (select nvl(count(1),0) "
+" from co...
分类:
其他好文 时间:
2014-06-10 14:54:59
阅读次数:
168
服务器配置编辑/etc/exports,在文件中列出,要共享的目录。书写规则是:共享目录主机(参数)。并且每条规则占据一行。例如:/mnt/mp3
192.168.10.168(ro,sync, no_root_squash)上面的规则代表将/mnt/mp3目录以读写同步方式共享给主机192.168...
分类:
其他好文 时间:
2014-06-09 13:23:49
阅读次数:
378
这文章太简单,大家只看我写中文的地方就可以了
Installing RHEL EPEL Repo on Centos 5.x or 6.x
How to install RHEL EPEL repository on Centos 5.x or 6.x
The following article will describe how to configure a...
分类:
其他好文 时间:
2014-06-08 18:10:54
阅读次数:
250
rsnc remote sync
远程同步安装包:rsync-3.0.6-4.el5_7.1.x86_64.rpm rpm -ivh
rsync-3.0.6-4.el5_7.1.x86_64.rpm 本地模式只需要安装rsync即可:rsync -av /secbox /backup
备份到本地rs...
分类:
系统相关 时间:
2014-06-06 15:07:58
阅读次数:
416
http://photo-sync.herokuapp.com/photos获取图片信息 最开始想的是用jquery ajax实现,用的传统的方法总是readystatus 等等都返回0 ,,百度怎么都不行,,,好吧,现在这么搞可以,之前不知道,现在mark一下$.ajax({ url: "http://photo-sync.herokuapp.com/photos",}).done(functi...
分类:
移动开发 时间:
2014-06-05 05:33:38
阅读次数:
204
在工作中的经常使用repo命令,但是有时会忘记一些命令和遇到的一些问题,记录下来方便已经查询。
问题1:找不到命令:repo
方法:
在下载android源码的时候用repo时提示找不到命令,可以用如下方法解决,在命令行中输入如下两行:
echo 'export PATH=$PATH:$Home/bin' >>~/.bashrc
export PATH=$PATH...
分类:
移动开发 时间:
2014-06-05 02:39:47
阅读次数:
265
Android 4.0源码下载方法:repo init -u
https://android.googlesource.com/platform/manifest -b
android-4.0.1_r1官方下载页面:http://source.android.com/source/downloadi...
分类:
移动开发 时间:
2014-06-04 14:51:19
阅读次数:
253