码迷,mamicode.com
首页 >  
搜索关键字:holding the yum lock    ( 36964个结果
centos和redhat下安装nginx最新版
在ubuntn下通过agp-get install nginx就可以按照最新版本的nginx,很方便在ctentos和redhat下需要添加yum 仓库才能安装最新版的nginx,在/etc/yum.repos.d/目录下新建nginx.repo 文件输入以下内容就可以了:[nginx]name=n...
分类:其他好文   时间:2014-04-30 05:01:46    阅读次数:477
centos和readhat下安装python2.7
1、安装基本库yum install gccyum install makeyum install zlib-develyum install bzip2-develyum install openssl-develyum install ncurses-devel2、获得python2.7.4wg...
分类:编程语言   时间:2014-04-30 04:58:42    阅读次数:400
centos和redhat下,psycopg2安装
1、 yum install postgresql-libs2、 yum install postgresql92-devel.i3863、 wget http://initd.org/psycopg/tarballs/PSYCOPG-2-5/psycopg2-2.5.1.tar.gz4、 tar ...
分类:其他好文   时间:2014-04-30 04:48:22    阅读次数:511
centos和redhat下安装postgreSQL
1、确定你要下载的版本:下载地址2、进入你存放下载文件的目录运行wget http://yum.postgresql.org/9.2/redhat/rhel-5-i386/pgdg-centos92-9.2-6.noarch.rpm,我的是32bit的centos5,其他版本可以在上面的路径中找到相...
分类:数据库   时间:2014-04-30 04:47:22    阅读次数:596
centos和redhat vsftp安装和设定
1、安装vsftp yum install vsftpd2、配置vsftp 配置文件在 /etc/vsftpd/vsftpd.conf,建议把匿名登录关闭 anonymous_enable=NO3、设置vsftp为开机启动 chkconfig vsftpd on 通过chkconfig –list可...
分类:其他好文   时间:2014-04-30 04:35:59    阅读次数:506
CentOS安装,更新Python
1、查看当前Python版本python -V2、查看当前CentOS版本cat /etc/redhat-release3、安装所有的开发工具包yum groupinstall "Development tools"4、安装其他必须包yum install zlib-devel bzip2-deve...
分类:编程语言   时间:2014-04-30 00:59:31    阅读次数:443
Holding Your Objects
# Holding your objectsJava provides a number of ways to hold objects :>1. An array associates numberical indexes to objects. It holds objects of a kno...
分类:其他好文   时间:2014-04-28 12:41:47    阅读次数:445
Oracle core06_latch&lock
lock and latch在oracle中为了保护共享资源,使用了两种不同的锁机制lock和latch,这两种锁有明显不同点:1,lock和pin,采用的是队列的方式,先来先服务的策略,latch和mutex,采用的是抢占的方式,fast fail模式2,lock可以hold的时间比较长,而lat...
分类:数据库   时间:2014-04-28 02:21:00    阅读次数:889
《Cracking the Coding Interview》——第16章:线程与锁——题目4
2014-04-27 20:06题目:设计一个类,只有在不产生死锁的时候才分配资源。解法:不太清楚这个题是要分配何种资源,以何种形式?所以没能动手写个可运行的代码,只是闲扯了几句理论分析。代码: 1 // 16.4 Design a class which provides a lock only ...
分类:编程语言   时间:2014-04-28 01:21:58    阅读次数:558
drbd + pacemaker
Centos6.5 X86 64 2014-04-27# yum -y install corosync pacemaker # yum -y install crmsh-1.2.6-4.el6.x86_64.rpm pssh-2.3.1-2.el6.x86_64.rpm # u...
分类:其他好文   时间:2014-04-28 00:36:48    阅读次数:717
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!