上一页 1 ··· 5 6 7 8 9 10 11 12 下一页
摘要: 1.假设已经有mysql-5.5.10.tar.gz以及cmake-2.8.4.tar.gz两个源文件(1)先安装cmake(mysql5.5以后是通过cmake来编译的)[root@ rhel5 local]#tar -zxv -f cmake-2.8.4.tar.gz[root@ rhel5 local]#cd cmake-2.8.4[root@ rhel5 cmake-2.8.4]#./configure[root@ rhel5 cmake-2.8.4]#make[root@ rhel5 cmake-2.8.4]#make install(2)创建mysql的安装目录及数据库存放目录[r 阅读全文
posted @ 2013-06-27 15:16 -j神----- 阅读(333) 评论(0) 推荐(0) 编辑
摘要: 1.获取安装文件:http://www.php.net/downloads.php php-5.3.8.tar.gz 获取安装php需要的支持文件:http://download.csdn.net/download/netlong339/1351852 libxml2-2.6.32.tar.gz2.安装libxml21 tar zxvf libxml2-2.6.32.tar.gz 2 cd libxml2-2.6.323 ./configure --prefix=/usr/local/libxml2 4 make5 make install如果安装成功以后,在/usr/local/libxml 阅读全文
posted @ 2013-06-27 14:55 -j神----- 阅读(254) 评论(0) 推荐(1) 编辑
摘要: 1.获取软件:http://httpd.apache.org/ httpd-2.2.21.tar.gz2.安装步骤:解压源文件:1 tar zvxf httpd-2.2.21.tar.gz 2 cd httpd-2.2.213 ./configure --prefix=/usr/local/apache2 --enable-so --enable-rewrite 4 make5 make install运行./configure 命令进行编译源代码,--prefix=/usr/local/apach2 是设置编译安装到的系统目录,--enable-so 参数是使httpd服务能够动态加载模块功 阅读全文
posted @ 2013-06-27 14:35 -j神----- 阅读(222) 评论(0) 推荐(0) 编辑
摘要: Apache源码安装完毕后,1.下面的脚本运行后就可以直接使用service apachexxx stop/start 来控制apache的启动与停止了!cp /usr/local/apache/bin/apachectl /etc/rc.d/init.d/apachexxx //拷贝apache启动脚本2.下面的脚本运行后是可以使用chkconfig --addapachexxx 了!vi /etc/rc.d/init.d/apachexxx // 这里是编辑apache启动脚本 在开头的#!/bin/sh 下面加上 #chkconfig: 2345 85 15 //此处必须加 否则无法使. 阅读全文
posted @ 2013-06-26 17:03 -j神----- 阅读(2167) 评论(0) 推荐(0) 编辑
摘要: Starting httpd: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this messageapache 启动出现这种错误的解决方法:将 apache 的配置文件中 ServerName 改成可用域名或如下配置ServerName localhost:80 阅读全文
posted @ 2013-06-26 15:36 -j神----- 阅读(12848) 评论(0) 推荐(0) 编辑
摘要: 不知道为什么在安装apache2.2.22版本的时候没有任何问题,直接使用命令./configure --prefix=/home/www/www_test/software/apache-2.2.22 --enable-proxy --enable-so --enable-mods-shared=most --with-mpm=worker没有任何问题,不过在安装新版本2.4.2的时候就会报错。解决方案如下:#./configure --prefix……检查编辑环境时出现:checking for APR... noconfigure: error: APR not found . Plea 阅读全文
posted @ 2013-06-26 15:06 -j神----- 阅读(325) 评论(0) 推荐(0) 编辑
摘要: 点击进入更详细教程及源码下载 在线演示我们经常会在网站中看见一个时钟的效果。今天向大家分享一个使用jQuery和CSS3实现一个数字时钟教程。http://www.html5cn.org/article-5279-1.html代码:<div id="clock" class="light"> <div class="display"> <div class="weekdays"></div> <div class="ampm">< 阅读全文
posted @ 2013-06-18 12:06 -j神----- 阅读(785) 评论(0) 推荐(0) 编辑
摘要: 在使用 php 编写页面程序时,我经常使用变量处理函数判断 php 页面尾部参数的某个变量值是否为空,开始的时候我习惯了使用 empty() 函数,却发现了一些问题,因此改用 isset() 函数,问题不再。顾名思义,empty() 判断一个变量是否为“空”,isset() 判断一个变量是否已经设置。正是这种所谓的“顾名思义”,令我开始时走了些弯路:当一个变量值等于0时,empty()也会成立(True),因而会发生 一些意外。原来,empty() 和 isset() 虽然都是变量处理函数,它们都用来判断变量是否已经配置,它们却是有一定的区别:empty还会检测变量是否为空、为零。当一个变量值 阅读全文
posted @ 2013-02-25 09:41 -j神----- 阅读(280) 评论(0) 推荐(0) 编辑
摘要: 使用@font-face结合EOT压缩字体来解决客户端因为没有相关的字体产生的视觉偏差!<style>@font-face{font-family:'yahei';src:url(../images/msyh.eot);}</style> 阅读全文
posted @ 2013-01-11 17:36 -j神----- 阅读(250) 评论(0) 推荐(0) 编辑
摘要: Filter 是一个代码片段,被配置用来在一个控制器的动作执行之前/后执行. 例如, an access control filter 可被执行以确保在执行请求的 action 之前已经过验证; 一个 performance filter 可被用来衡量此 action 执行花费的时间.一个 action 可有多个 filter. filter 以出现在 filter 列表中的顺序来执行.一个 filter 可以阻止当前 action 及剩余未执行的 filter 的执行.一个 filter 可被定义为一个 controller 类的方法. 此方法的名字必须以 filter 开始. 例如,方法 阅读全文
posted @ 2013-01-06 13:31 -j神----- 阅读(4429) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 下一页