Jython Installation
1. sudo apt-get install Jython
2. Because I have already installed Java, so here directly can, if not have to install Java Virtual machine, as follows;
3. http://www.linuxdiyf.com/linux/16260.html
4. The. Profile file was last added:
#pig Path export Path= $PATH:/usr/local/hadoop/pig/bin
5. pig-x Local test OK
Elasticsearch Installation
1. Official website Download version: Https://www.elastic.co/downloads/elasticsearch
2. TAR-ZVXF elasticsearch-5.0.0.tar.gz
3. MV elasticsearch-5.0.0 Elasticsearch
4. MV Elasticsearch/use/local/hadoop
5. Enter the Elasticsearch directory
6./bin/elasticsearch
7. If an error occurs:
Exception in thread "main" Java.lang.RuntimeException:don ' t run Elasticsearch as root.
At Org.elasticsearch.bootstrap.Bootstrap.initializeNatives (bootstrap.java:93)
....
Then refer to the article:
http://blog.csdn.net/longxibendi/article/details/41728355
Http://stackoverflow.com/questions/7237536/exception-in-thread-main-java-lang-unsupportedclassversionerror-a-unsupporte
. BASHRC inside Add:
Java_home=/usr/java/jdk1. 7 . 0_72export PATH= $JAVA _home/bin: $PATHexport CLASSPATH=.: $JAVA _home/lib/tools.jar: $JAVA _home/ lib/Dt.jar: $CLASSPATHPATH= $JAVA _home/bin: $PATH
The above/usr/java/jdk1.7.0_72 is written according to your own situation, this path is viewed by the following command:
Installing Jython under Ubuntu, Elasticsearch