标签存档: source

使用doxygen文档化代码

1. 生成配置文件:doxygen -g -s [Doxyfile] (-g:生成配置, -s:生成简单配置,去除配置项解析)
2. 在代码编写注解
3. 生成文档:doxygen

继续阅读 »

在centos上安装php5

php5 install on centos: yum install -y httpd-devel libtool-ltdl libtool-ltdl-devel openssl-devel curl-devel  libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libc-client libc-client-devel  gd gd-devel libmcrypt libmcrypt-devel sqlite sqlite-devel mysql-devel libicu libicu-devel pcre-devel postgresql84 postgresql84-libs postgresql84-server postgresql84-devel yum install -y mhash-devel 如果不安装 libtool-ltdl-devel编译时会出错,所以要么安装这个包要么执行以下命令: # …

继续阅读 »

在centos上编译安装nginx

install nginx on centos: sudo yum -y install pcre pcre-devel download the src code NGINX_HOME=/opt/nginx sudo mkdir $NGINX_HOME sudo chown $(id -u) $NGINX_HOME -R ./configure –prefix=$NGINX_HOME Configuration summary   + using system PCRE library   + OpenSSL library is not …

继续阅读 »