-
fastdfs体验
Jan212013download source code
wget http://fastdfs.googlecode.com/files/FastDFS_v4.04.tar.gz
yum install libevent libevent-devel
Setup#step 1. download FastDFS source package and unpack ittar xzf FastDFS_v4.04.tar.gz#for example:tar xzf FastDFS_v4.04.tar.gz
阅读全文fastdfs体验已关闭评论
-
centos5.4升级网卡驱动
Jan042013机器型号:Dell R710,操作系统Centos5.4,症状:流量大时网卡不通,日志无明显迹象。 解决办法,升级网卡驱动: 升级前: [root@2hei.net]# ethtool -i eth0 driver: bnx2 version: 1.9.3 firmware-version: 5.2.3 NCSI 2.0.11 bus-info: 0000:01:00.0 步骤如下: wget http://ftp.us.dell.com/network/Bcom_LAN_16.4. ...
阅读全文centos5.4升级网卡驱动已关闭评论
-
站点被封
Jan042013
-
alexa排名facebook超过了google
Sep182012
-
run or spawn in pexpect
Aug102012Pexpect is a Python module for spawning child applications and controlling them automatically. Pexpect can be used for automating interactive applications such as ssh, ftp, passwd, telnet, etc. It can be used to a automate setup scripts for duplicating software package installations on different ...
阅读全文run or spawn in pexpect已关闭评论
-
中国移动之”大云” — CHINA MOBILE’S BIGCLOUD
Jul302012中国移动的“大云”弹性计算系统(BC-EC)包括三部分:
1)web portal组件为用户提供自助服务的通道;
2)Front-end管理服务组件提供系统服务,应用,系统操作,用户管理,账单服务及数据库等;
3)Front-end组件提供和Qzone类似的功能来管理OpenNebula的back-ends服务。中国移动近期准备发布基于BC-EC方案的public的云服务:包含1000+台severs,其中的700台提供服务器的虚拟环境,另外300台服务器为大云提供云存储空间。
相关概念:- 移动“大云”:
大云是中国移动研究院集成并扩展了多个云计算相关的开源软件和自主研发的部分功能组件的产品,在大云中主要采用了 Hadoop 分布式计算软件和 OpenNebula 弹性计算管理系统,虚拟机使用的是 Xen。在大云的开发过程中,移动对 Hadoop 进行了一些改进,并集成了一些附加功能,目前这些修改大都在逐步开放源代码。
阅读全文中国移动之”大云” — CHINA MOBILE’S BIGCLOUD已关闭评论
-
EC2推出高I/O Instance
Jul272012
-
Setup Multi Hbase master on Hadoop Cluster
Jul242012Setup Multi Hbase master on Hadoop Cluster to avoid single point failure. When active master failed/down for some reason exceed timeout we expected, backup master will be active and take over the role of master, see the value of zookeeper.session.timeout.
$cat /usr/lib/hbase/conf/hbase-site.xml
<name>zookeeper.session.timeout</name>
<value>180000</value>
<description>ZooKeeper session timeout. HBase passes this to the zk quorum as suggested maximum time for a session.In milliseconds.</description>
</property>- Test scenarios:
hadoop01.cluster.2hei.net (Hbase master)
阅读全文
hadoop02.cluster.2hei.net (Hbase backup master)Setup Multi Hbase master on Hadoop Cluster已关闭评论
-
换掉Movable Type,启用Worldpress
Jul232012
-
hbase Daughter regiondir does not exist
May142012Hbase master logs: 12/05/14 13:33:44 INFO master.LoadBalancer: Skipping load balancing. servers=10 regions=261 average=26.1 mostloaded=27 leastloaded=26 12/05/14 13:33:44 WARN master.CatalogJanitor: Daughter regiondir does not exist: hdfs://2hei.net:8020/hbase/RecSys_Catalog/7d100af9ac714d ...
阅读全文hbase Daughter regiondir does not exist已关闭评论
-
dmidecode ipmitool mcelog
Dec012011
-
ubuntu编译xen报缺少iasl的处理
Nov242011解决办法是先编译好iasl,copy到$PATH中。 wget http://acpica.org/download/acpica-unix-20110922.tar.gztar zxvf acpica-unix-20110922.tar.gzcd acpica-unix-20110922/compilermakecp iasl /usr/bin 接下来可以顺利的编译通过xen了。wget http://bits.xensource.com/oss-xen/release/4.1.2/xen-4.1.2.tar.gz$ tar zx ...
阅读全文ubuntu编译xen报缺少iasl的处理已关闭评论
-
BUG of kickstart config file of Ubuntu
Nov242011利用RHEL的kickstart安装ubuntu,通过已有的一台ubuntu的kickstart工具生成了cfg文件,结果中看不中用,clearpart不起作用,无法完全的无人值守安装,因为无法自动删除raid和lvm,所以安装的时候只好把设定好的raid及分区部分注释掉,然后通过文本安装页面进行配置。另外openssh-server也木有安装好,只能通过console手 ...
阅读全文BUG of kickstart config file of Ubuntu已关闭评论
-
Linux Keyboard shortcut keys
Oct212011CTRL + C Cancels the currently running command.CTRL + D Logs out of the current session.CTRL + Z Cancels current operation, moves back a directory or takes the current operation and moves it to the background. CTRL + A Move ...
阅读全文作者:2hei | 分类:linux | 阅读:75,197 views | 标签:shortcut keysLinux Keyboard shortcut keys已关闭评论
-
nice linux
Sep152011
-
reset low speed USB device using ehci_hcd
Sep062011dmesg has such logs: usb 1-5.1: reset low speed USB device using ehci_hcd and address 4 usb 1-5.1: reset low speed USB device using ehci_hcd and address 4 usb 1-5.1: reset low speed USB device using ehci_hcd and address 4 usb 1-5.1: reset low speed USB device using ehci_hcd and address 4 usb 1-5 ...
阅读全文作者:2hei | 分类:linux | 阅读:6,688 viewsreset low speed USB device using ehci_hcd已关闭评论
-
Linux will keep /tmp files for 10 days by default
Aug032011For files in /tmp directory, linux has cron at /etc/cron.daily to deal with:[2hei.net cron.daily]$ cat tmpwatch flags=-umc/usr/sbin/tmpwatch “$flags” -x /tmp/.X11-unix -x /tmp/.XIM-unix \ -x /tmp/.font-unix -x /tmp/.ICE-unix -x /tmp/.Test-unix 240 /tmp/usr/sbin/tmpw ...
阅读全文Linux will keep /tmp files for 10 days by default已关闭评论
-
从源码编译rpm,安装升级 openssl及openssh 最新版本
Jul222011当前版本:$ ssh -VOpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008目标版本:openssh-5.8p2.tar.gzopenssl-0.9.8r.tar.gz compile and upgrade openssl-0.9.8rwget http://www.openssl.org/source/openssl-0.9.8r.tar.gztar zxvf openssl-0.9.8r.tar.gzmkdir -p /usr/src/redhat/SPECS/mkdir -p /usr/src/redha ...
阅读全文从源码编译rpm,安装升级 openssl及openssh 最新版本已关闭评论
-
cassandra cluster install and configuration
Jul1320111) Install http://labs.renren.com/apache-mirror/cassandra/0.7.6-2/apache-cassandra-0.7.6-2-bin.tar.gz(apache官网推荐人人的mirror,不过link有问题 ^_^) * tar -zxvf apache-cassandra-$VERSION.tar.gz * cd apache-cassandra-$VERSION * sudo mkdir -p /var/log/cassandra * sudo cho ...
阅读全文作者:2hei | 分类:OpenSource | 阅读:3,684 viewscassandra cluster install and configuration已关闭评论