Solved

IndexTank installation

Posted on 2013-01-17
1
466 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to convert String matching to regex in java 4 48
ejb example issues 3 18
Glassfish admin console not working 1 32
collection output issue 9 36
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

789 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