Install Jython under Ubuntu, Elasticsearch

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.