--yum install$sudo yum install email--easy
install$sudo easy_install requests boto--python install$ easy_install
requests--apt-get installsudo apt-get...
分类:
系统相关 时间:
2014-05-22 03:54:14
阅读次数:
405
//先参照
《本地yum源安装GCC》安装好gcchp的笔记本上安装了CentOS6.3,没有安装无线网卡驱动,安装这个驱动,在Google上找了好多资料,最后终于解决了这个问题。在这里做点记录,希望也能帮到别人。我的机子是32位,CentOS的内核版本是2.6.32-279.19.1.el6.i6...
分类:
系统相关 时间:
2014-05-21 23:17:23
阅读次数:
834
ECOS为上海商派公司研发的PHP电商框架。详情见http://www.ec-os.net/doc.html本文介绍CentOS6.x
64位下安装ECOS1.2运行环境的具体步骤:1)需要准备OS (CentOS6.4
64位),安装OS步骤略。2)root用户进入系统,配置定制yum源码rpm ...
分类:
其他好文 时间:
2014-05-21 22:57:58
阅读次数:
434
There are two types of non-blocking thread synchronization algorithms
- lock-free, and wait-free. Their meaning is often confused. In lock-free systems, while any particular computation may be block...
分类:
其他好文 时间:
2014-05-21 10:27:20
阅读次数:
410
第一个简单的python脚本#!/usr/bin/python
#
importos
file_1=‘user.txt‘
file_2=‘lock.txt‘
#putanaccount_list
f=file(file_1)
accout_list=f.readlines()
f.close()
#putalistofthelockuser
f=file(file_2)
lock_list=[]
foriinf.readlines():
line=i.strip(‘\n‘)
lock_list..
分类:
编程语言 时间:
2014-05-21 01:19:11
阅读次数:
391
cdpr命令:安装:yum-yinstallcdpr(安装epel库)[21:53:07root@localhost~]#cdpr-h
cdpr-CiscoDiscoveryProtocolReporter
Version2.4
Copyright(c)2002-2010-MonkeyMental.com
d:Specifydevicetouse(eth0,hme0,etc.)
h:Printthisusage
t:timeinsecondstoabortwaitingforapack..
分类:
系统相关 时间:
2014-05-21 00:08:27
阅读次数:
447
环境规划Amoeba读写分离器172.16.254.144/16Mysql服务器(master)172.16.254.150/16Mysql服务器(slave)172.16.254.151/16一、先实现mysql主从复制,在master上使用yum安装mysql[root@localhostmysql]#yum-yinstallmysqlmysql-server启用二进制日志,编辑/etc/my.cnf在[mysql..
分类:
数据库 时间:
2014-05-20 22:49:40
阅读次数:
486
1,安装依赖包确保服务器中已经安装了Memcached的依赖包。[root@localhost~]#yum-yinstall
--skip-brokengccgcc-c++autoconfautomakezlibzlib-devel
pcre-developenssl-devellibeventlibevent-devel.x86_642,创建Memcached的安装用户[root@localhost~]#groupadddfhapp
[root@l..
分类:
其他好文 时间:
2014-05-20 21:44:44
阅读次数:
376
1删除rhel自带的yum包:rpm-aq|grepyum|xargsrpm-e--nodeps2安装yum:[china~/yum_64#]rpm-ivhpython-iniparse-0.3.1-2.1.el6.noarch.rpm
warning:python-iniparse-0.3.1-2.1.el6.noarch.rpm:HeaderV3RSA/SHA256Signature,keyIDc105b9de:NOKEY
Preparing...###################..
分类:
其他好文 时间:
2014-05-20 20:01:32
阅读次数:
886
Ubuntu被远程后NumLock键不停闪临时解决办法:方法一:在远程之前先让其关掉自己的NumLock键方法二:关闭NumLock键点击SystemSettings-KeyboardLayout-Options-UsekeyboardLEDtoshowalternativelayout-选中NumLock-Close
分类:
其他好文 时间:
2014-05-20 17:23:57
阅读次数:
242