www.sanotes.net
2010年03月12日

现在位置: 首页 > 所有 2007年10月 文章

UNIX时间戳

2007年10月29日 添加评论 1134次浏览

date +%s

收藏、分享这篇文章!

...
分类:Unix | 阅读全文

Apache CGI

2007年10月25日 添加评论 1121次浏览

apxs -cia mod_cgi.c
<Directory "/opt/wwwroot/DEVCENTER.sanotes.net/cgi">
    Options +ExecCGI
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>
AddHandler cgi-...

分类:Apache | 阅读全文

Programming Windows Batch Scripts

2007年10月16日 添加评论 1121次浏览

Windows 快速编辑模式:
如果使用鼠标左右键来复制和粘帖?
在 ms-dos或者cmd的"属性" -->"编辑-编辑选项" -->快速编辑模式-->保存。
重定向符
   可以使用重定向符将命...

分类:Windows | 阅读全文

PHP安装mcrpyt模块

2007年10月16日 添加评论 1133次浏览

wget ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/libmcrypt/libmcrypt-2.5.7.tar.gz
tar xzvf libmcrypt-2.5.7.tar.gz
cd libmcrpyt-2.5.7
./configure
make
make install
tar xjvf php-4.4.4.tar.bz2
cd php-4.4.4/ext/mcryp...

分类:PHP | 阅读全文

ICC编译Apache2,PHP5

2007年10月16日 添加评论 1117次浏览

cd /tmp
wget ftp://rpmfind.net/linux/redhat/updates/enterprise/4AS/en/os/SRPMS/libtool-1.5.6-4.EL4.1.src.rpm
rpm -i libtool-1.5.6-4.EL4.1.src.rpm
cd /usr/src/redhat/SPECS
rpmbuild -bp libtool.spec
cd /usr/src/redhat/BUILD...

分类:Linux | 阅读全文

src.rpm安装

2007年10月16日 添加评论 1100次浏览

安装.src.rpm软件包前需安装rpm-build包。
有些软件包是以.src.rpm结尾的,这类软件包是包含了源代码的rpm包,在安装时需要进行编译。这类软件包有两种安装方法:
方法一:
1. ...

分类:Linux | 阅读全文

Learning Perl 4th

2007年10月10日 添加评论 1139次浏览

Chapter 2 Scalar Data
     Perl将里面的变量分成单数和复数的。单数就是Scalar,指单一的事物:数字(Number)或者一个字串(string). 在Perl里面,数字和字串几乎是一个东西,都是Scalar。
  ...

分类:Perl | 阅读全文