摘要: 1.准备工作: yuminstallgccgcc-c++ncurses-develperl mysql5.5过后,源码安装需要cmake wgethttp://www.cmake.org/files/v2.8/cmake-2.8.10.2.tar.gz tar-xzvfc... 阅读全文
posted @ 2016-01-06 17:29 netRuby 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 1.安装redis扩展: https://github.com/phpredis/phpredis.git cd phpredis/ /usr/local/php/bin/phpize ./configure --with-php-config=/usr/local/php/bin/php-... 阅读全文
posted @ 2016-01-06 14:52 netRuby 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 1.安装依赖文件: yum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel... 阅读全文
posted @ 2016-01-06 14:45 netRuby 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 1.CGI是为了保证web server传递过来的数据是标准格式的,方便CGI程序的编写者。(理解为协议)web server(比如说nginx)只是内容的分发者。比如,如果请求/index.html,那么web server会去文件系统中找到这个文件,发送给浏览器,这里分发的是静态数据。好了,如果... 阅读全文
posted @ 2016-01-06 13:40 netRuby 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 1.获取nginx的源码:(下载的软件放在/usr/local/src下) wget http://nginx.org/download/nginx-1.6.2.tar.gz tar xvf nginx-1.6.2.tar.gz2.安装PCRE,zlib: wget ftp://f... 阅读全文
posted @ 2016-01-06 13:28 netRuby 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 1.初始化一个Git仓库,使用git init命令。2.添加文件到Git仓库,分两步:第一步,使用命令git add ,注意,可反复多次使用,添加多个文件;第二步,使用命令git commit,完成。3.要随时掌握工作区的状态,使用git status命令。 如果git status告诉你有文件被修... 阅读全文
posted @ 2016-01-06 10:05 netRuby 阅读(156) 评论(0) 推荐(0) 编辑