Solved

IndexTank installation

Posted on 2013-01-17
1
469 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
yoshcomputers earned 0 total points
ID: 38793683
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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
mod_rewrite # anchor problem. 6 51
printf performancy 11 99
Coding for the first time 9 98
activeMQ Queue Messages Enqueued and Messages Dequeued 1 100
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
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 learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

737 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