Solved

IndexTank installation

Posted on 2013-01-17
1
460 Views
Last Modified: 2013-01-18
I am interested in standing up my own server with IndexTank installed on it.  I know nothing about setting it up and I am not experienced at all at Java.  But I know how to sudo into my server and run commands.  Can anyone walk me through the process of setting up IndexTank Engine and Services.

When LinkedIn acquired IndexTank they made it opensource.

Thanks.
0
Comment
Question by:yoshcomputers
1 Comment
 

Accepted Solution

by:
yoshcomputers earned 0 total points
Comment Utility
Well I solved it incase any one wants to see my setup instructions for using Dreamhost VPS:

setup new server.
Add user with Shell access (I reference that user as {usernamegoeshere} in this document)
Download Maven from:
http://maven.apache.org/download.cgi
apache-maven-3.0.4-bin.tar.gz

Created subfolder 'apache-maven' within the {usernamegoeshere} folder
upload apache-maven-3.0.4-bin.tar.gz file into apache-maven folder

(help can be found at http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html)

run from shell
$ tar -zxvf apache-maven-3.0.4-bin.tar.gz
after it has been extracted then run the following 5 commands
$ export M2_HOME=/home/{usernamegoeshere}/apache-maven/apache-maven-3.0.4
$ export M2=$M2_HOME/bin
$ export MAVEN_OPTS="-Xms256m -Xmx512m"
$ export PATH=$M2:$PATH
$ export JAVA_HOME=/usr/local/dh/java  [specific for Dreamhost]
(help can be found here:
http://wiki.dreamhost.com/Java)


You can run a test to verify it has been installed
$ mvn --version

Now pull the repository for indextank
The following steps are from https://github.com/linkedin/indextank-engine
$ git clone git://github.com/linkedin/indextank-engine.git

it will create a subdirectory called indextank-engine
$ cd indextank-engine


Now create the pacakge:
$ mvn compile package assembly:single
install eclips
$ mvn eclipse:eclipse
These may take a while because it has to download alot of stuff

After running the package generation:

$ nohup java -cp target/indextank-engine-1.0.0-jar-with-dependencies.jar com.flaptor.indextank.api.Launcher

(The use of nohup is if you are using a shell window to keep the service for stopping when you hangup/exit the shell)

Now go test in a browser with
http://{yourwebsitehere}:20220/v1/indexes/idx/search?q=love
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now