一、将pig-0.14.0.tar.gz安装包解压到/opt下并改名为pig
二、修改/etc/profile文件,增加以下内容
export PIG_HOME=/opt/pig
export PIG_CLASSPATH=/opt/hadoop/etc/hadoop //hadoop-2.6.0的配置所在的目录
export PATH=$PIG_HOME/bin:$PATH
...
分类:
其他好文 时间:
2015-07-14 13:40:04
阅读次数:
138
Question:Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the giv...
分类:
其他好文 时间:
2015-07-14 13:09:48
阅读次数:
104
1.安装python并添加到环境变量2.在notpad++ 运行工具下点击运行,输入如下命令:cmd/kpython"$(FULL_CURRENT_PATH)"&ECHO.&PAUSE&EXIT 点击保存,name为RunPython,notepad++即可运行python3.可以点击运行下,管理快...
分类:
编程语言 时间:
2015-07-14 13:09:38
阅读次数:
147
private void ModifyFilePermission(string path, string user, FileType filetype) { if (filetype == FileType.File) { ...
Grails开发环境的快速搭建
1 JAVA环境变量的设置和Grails环境变量设置
个人参考
JAVA_HOME =E:\kaifa\Java\jdk7_32
GRAILS_HOME =E:\kaifa\grails-2.3.11
PATH =%JAVA_HOME%\bin;%MAVEN_HOME%\bin;
验证配置是否正确,打开命令窗口(cmd)
2环...
分类:
其他好文 时间:
2015-07-14 11:43:34
阅读次数:
131
1、将文件checkout到本地目录svn checkout path(path是服务器上的目录)例如:svn checkout svn://192.168.1.1/pro/domain简写:svn co2、往版本库中添加新的文件svn add file例如:svn add test.php(添加t...
分类:
系统相关 时间:
2015-07-14 10:00:45
阅读次数:
176
Sum Root to Leaf NumbersGiven a binary tree containing digits from0-9only, each root-to-leaf path could represent a number.An example is the root-to-l...
分类:
其他好文 时间:
2015-07-14 09:50:01
阅读次数:
106
RPM是一个文件包管理程序,它是Linux现在默认的软件包管理器,全称是RedhatPackageManager,缩写为RPM,由Redhat(红帽公司)最先发布,现在基本上所有的Linux以及部分Unix都使用它作为包管理程序。一、软件包的安装安装程序包:rpm[option]/path/to/package_file-i:表示安装参数..
分类:
其他好文 时间:
2015-07-14 06:22:03
阅读次数:
94
var path = Server.MapPath("~/doc/demo.doc"); Document doc = new Document(path); DocumentBuilder builder = new DocumentBuilder(d...
分类:
Web程序 时间:
2015-07-14 06:02:33
阅读次数:
132
第二课
LAMP:
Linux
apache
ngix
PHP
第三课
搭建服务器方式:
1.集成安装环境
XAMPP软件包:www.apachefriends.org
2.单独配置
第四课
XAMPP
包含了运行网站的几个必须的套件
1.apache服务器
2.PHP解释器
3.Mysql数据库
apache:
path:xampp的安装目录
...
分类:
Web程序 时间:
2015-07-14 00:10:59
阅读次数:
242