SPECIAL OFFER! .COM just $1.49*! support transfer.

cjcrmn149s  is the coupons code.  i just used it.  2014 is over.  the is the best godaddy coupon code dec 2014.

“Plus ICANN fee of $0.18 per domain name per year. $1.49 price good for the first year of one new or transfer .COM per customer. Additional years or .COMs may be purchased for $9.99 per year. Discounts cannot be used in conjunction with any other offer or promotion. Not all payment methods valid with this offer, acceptable payments will display in cart at checkout. Your discount will be applied in your shopping cart. After the initial purchase term, discounted products will renew at the then-current renewal rate. Go Daddy reserves the right to deny use of this offer and/or cancel domains purchased using this offer if the offer is abused or used fraudulently, as determined by Go Daddy in its sole discretion. ”

special tips,

you should change the money to USD$. instead of CNY.

you should use  a valid us billing address.

if so, you can transfer your .com to godaddy . if you just want to renewal your domain.  take it way to save a little money.!

Did you know that GoDaddy just released their NEW Website Builder? It’s easier to use, has hundreds of new designs, and you get a free domain with each annual plan. All for just $1.00/mo! Use my referral code WOWCNSOFT at checkout to get 35%* off anything else you buy and I’ll earn store credit!

Screen Shot 2014-12-29 at 11.14.28 PM

Read More

Centos 编译安装Python2.6

因为需要在Centos 5.x上安装python2.6 还得保留自带的Python2.4

Linux 系统是自带python的. 但是一般的版本都比较低

如果需要使用高版本的python 则需要自己 编译并安装

编译python 前需要先安装 编译环境

使用  yum install gcc gcc-c++ autoconf automake 来安装编译环境

下载python.

官网的python下载页面打不开了.

http://www.python.org/ftp/python/ 这个地址可以下载python的各个版本

linux使用wget下载python
wget http://www.python.org/ftp/python/2.6.6/Python-2.6.6.tgz

解压python
tar xzf Python-2.6.6.tgz
cd Python-2.6.6

编译安装python
./configure –prefix=/usr/local/python2.6
make
make install

创建一个python2.6的链接
ln -sf /usr/local/python/bin/python2.6 /usr/bin/python2.6

完成后就可以在命令行中输入 python2.6 运行刚刚安装的python2.6.6 版本

Read More

AWS云主机的Instancecore存储 使用注意

Instancecore  这种类型的存储 更像是内存存储. in memory 的.  你的Instance Stop了以后 数据就没了. 如果是restart 操作的话 数据还在. 所以如果想100%保留数据 要用 ebs 的. Root用ebs的. 数据也用ebs 的

这是为了保存数据和迁移. 如果不需要保存的数据 比如日志 就可以放到Instancecore 上, 但是目录结构也会丢失, 很烦人.

另外, 我选配 m1.xlarge 默认会带 489G的Intance core ,以为直接可以使用的. 结果开机后看不到, 原来是要自己mount一下.  另外有时候 Root 空间虽然设置了50G 默认是8G , df  看到的还是8G  需要运行 resizefs 命令来扩展.

否则不会自动变大的.  我是用了默认的AMI镜像时遇到这个问题的.

Read More