使用maven在linux上对hadoop2.2进行编译0、环境介绍:Hadoop信息:Version:2.2下载地址:http://mirrors.cnnic.cn/apache/hadoop/common/hadoop-2.2.0/源码包:hadoop-2.2.0-src.tar.gz软件包:hadoop-2.2.0.tar.gzOs环境:[root@carefree~]#lsb_release-aLSBVersion::base-4...
分类:
系统相关 时间:
2014-09-24 18:22:57
阅读次数:
328
看网友的解决方案是:下面2行去掉注释;extension=php_mysql.dll;extension=php_mysqli.dl 尝试修改#vi /etc/php.ini发现根本没有这两行查看一下几个模块都已经安装了。php-tidy php-common php-devel php-fpm执....
分类:
数据库 时间:
2014-09-24 16:12:47
阅读次数:
770
string fileNameNo = Path.GetFileName(FileUpload.PostedFile.FileName);//获取文件名和扩展名string DirectoryName = Path.GetDirectoryName(FileUpload.PostedFile.Fil...
分类:
其他好文 时间:
2014-09-24 16:09:47
阅读次数:
147
lightinthebox头部分类菜单下拉导航,使鼠标移到See All Categories就显示下拉菜单打开includes\templates\lightinthebox\common\tpl_box_dropdown_categories_css.php1.将大约23行代码 改成 ...
分类:
其他好文 时间:
2014-09-24 12:13:26
阅读次数:
205
dedecms的数据库操作类,非常实用,在二次开发中尤其重要,这个数据库操作类说明算是奉献给大家的小礼物了。引入common.inc.php文件1require_once(dirname(__FILE__) . "/include/common.inc.php");获取一条记录的内容12$row= ...
分类:
数据库 时间:
2014-09-24 00:33:45
阅读次数:
276
一、Web服务器处理Web请求(1)Web请求静态内容,Web服务器寻找静态内容并把它回发给浏览器(2)Web请求动态内容,Web服务器找到所要执行的程序、执行找到的程序,然后捕获程序的输出作为Web响应,再把它发给还在等待的浏览器。生产动态内容的过程已得到标准化,称为通用网关接口(Common G...
分类:
编程语言 时间:
2014-09-23 21:48:15
阅读次数:
190
zencart目录结构文件路径注释index.php主文件includes/templates/[custom template folder]/common/html_header.php页面的head部分includes/templates/[custom template folder]/co...
分类:
其他好文 时间:
2014-09-23 13:02:14
阅读次数:
231
使用SQL VIEW和CTE(common table expression)去把复杂查询简化,而不要使用JOIN,影响性能。WITH step1 AS (SELECT 1,2 FROM orders o, src1 c WHERE c.key1 = o.key1 AND con1=1),st...
分类:
其他好文 时间:
2014-09-23 01:54:53
阅读次数:
212
引入jar包:commons-fileupload-1.3.1.jar,commons-io-1.3.2.jar前台HTML: 用户名: 密码: 文件名: 文件名: ...
分类:
其他好文 时间:
2014-09-23 00:00:53
阅读次数:
257
一、安装
yum install quota
二、配置
1、创建一个新的分区 sdb1并格式化
2、
[root@server05 /]# mkdir /common
[root@server05 /]# mount /dev/sdb1 /common/
[root@server05 /]# mount
/dev/sdb1 on /common type ext4 (rw)
发现...
分类:
其他好文 时间:
2014-09-22 23:30:33
阅读次数:
217