Solved

IndexTank installation

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

Increase Agility with Enabled Toolchains

Connect your existing build, deployment, management, monitoring, and collaboration platforms. From Puppet to Chef, HipChat to Slack, ServiceNow to JIRA, Splunk to New Relic and beyond, hand off data between systems to engage the right people.

Connect with xMatters.

Question has a verified solution.

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

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…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
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 …

691 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