Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lumify Ubuntu Installation #669

Open
csselo opened this issue Aug 8, 2015 · 3 comments
Open

Lumify Ubuntu Installation #669

csselo opened this issue Aug 8, 2015 · 3 comments

Comments

@csselo
Copy link

csselo commented Aug 8, 2015

Lumify install – for Ubuntu (14.04)

Build Dependencies

Java 1.6
Maven 3.1.1
NodeJS 0.10.21
Bower 1.2.7
Grunt-cli 0.1.11
SecureGraph

$ apt-get install maven build-essential git -y
$ tar xvzf node-v0.10.28.tar.gz
$ cd node-v0.10.28
$ ./configure && make && sudo make install
$ npm install -g bower
$ npm install -g grunt-cli
$ git clone securegraph
$ cd securegraph
$ mvn clean install

Runtime Dependencies

Lumify requires the following server applications, please ensure they are installed and working:

Jetty 8.1.14.v20131031
CDH 4.4 (hadoop 0.23)
Accumulo 1.5.1
Elastic Search 1.1.0
Storm 0.8.2
RabbitMQ 3.2.3

$ unzip jetty-distribution-8.1.15.v20140411.zip
$ sudo mv jetty-distribution-8.1.15.v20140411 /usr/local/jetty
$ tar xvzf hadoop-0.23.10.tar.gz
$ sudo mv hadoop-0.23.10 /usr/local/hadoop
$ tar xvzf accumulo-1.5.1-bin.tar.gz
$ sudo mv accumulo-1.5.1 /usr/local/accumulo/
$ sudo dpkg -i elasticsearch-1.1.0.deb
$ tar xvzf apache-storm-0.9.1-incubating.tar.gz
$ sudo mv apache-storm-0.9.1-incubating /usr/local/storm
$ sudo apt-get install rabbitmq-server -y

  1. Clone lumify-root from github.
  2. From the lumify-root directory, run the command mvn install
  3. Clone the repository from github using either of the links from the main page
  4. Copy configuration.properties.sample file into /opt/lumify/config/ and rename it to lumify.properties.
  5. Fill in all empty fields
  6. To generate a Google Map V3 api key, please refer to the documentation provided by Google.
  7. Copy log4j.xml.sample file into /opt/lumify/config/ and rename it to log4j.xml.
  8. From the top level project directory, run the command
    $ mvn package -Pweb-war
  9. Install the Elasticsearch securegraph plugin sudo /usr/share/elasticsearch/bin/plugin install org.securegraph/securegraph-elasticsearch-plugin/0.6.0
    cd lumify
    copy and desired additional jars to /opt/lumify/lib
    $ cp ~/lumify/lumify-core/target/lumify-core-0.2.0-SNAPSHOT.jar /opt/lumify/lib/
    $ cp ~/lumify/lumify-web/target/lumify-web-0.2.0-SNAPSHOT.jar /opt/lumify/lib/
    $ cp ~/lumify/lumify-web-server/lumify-jetty-server/target/lumify-jetty-server-0.2.0-SNAPSHOT.jar /opt/lumify/lib/
    $ cp ~/lumify/lumify-opennlp-dictionary-extractor/target/lumify-opennlp-dictionary-extractor-0.2.0-SNAPSHOT.jar /opt/lumify/lib/
    $ cp ~/lumify/lumify-storm/target/lumify-storm-0.2.0-SNAPSHOT-jar-with-dependencies.jar /opt/lumify/lib/
    $ cp ~/lumify/lumify-web-auth-username-only/target/lumify-web-auth-username-only-0.2.0-SNAPSHOT.jar /opt/lumify/lib/
    $ cp ~/lumify/lumify-known-entity-extractor/target/lumify-known-entity-extractor-0.2.0-SNAPSHOT.jar /opt/lumify/lib/
    $ cp ~/lumify/lumify-opennlp-dictionary-extractor-web/target/lumify-opennlp-dictionary-extractor-web-0.2.0-SNAPSHOT.jar /opt/lumify/lib/
    $ cp ~/lumify/lumify-tika-mime-type/target/lumify-tika-mime-type-0.2.0-SNAPSHOT.jar /opt/lumify/lib/
    $ cp ~/lumify/lumify-zipcode-extractor/target/lumify-zipcode-extractor-0.2.0-SNAPSHOT.jar /opt/lumify/lib/
    $ cp ~/lumify/lumify-opennlp-me-extractor/target/lumify-opennlp-me-extractor-0.2.0-SNAPSHOT.jar /opt/lumify/lib/
    $ cp ~/lumify/lumify-tika-text-extractor/target/lumify-tika-text-extractor-0.2.0-SNAPSHOT.jar /opt/lumify/lib/
    $ cp ~/lumify/lumify-zipcode-resolver/target/lumify-zipcode-resolver-0.2.0-SNAPSHOT.jar /opt/lumify/lib/
    $ cp ~/lumify/lumify-model-rabbitmq/target/lumify-model-rabbitmq-0.2.0-SNAPSHOT.jar /opt/lumify/lib/
    $ cp ~/lumify/lumify-phone-number-extractor/target/lumify-phone-number-extractor-0.2.0-SNAPSHOT.jar /opt/lumify/lib/
    $ cp ~/lumify/lumify-email-extractor/target/lumify-email-extractor-0.2.0-SNAPSHOT.jar /opt/lumify/lib/
    $ cp ~/lumify/lumify-model-securegraph/target/lumify-model-securegraph-0.2.0-SNAPSHOT.jar /opt/lumify/lib/
    $ cp ~/lumify/lumify-web-import-export-workspaces/target/lumify-web-import-export-workspaces-0.2.0-SNAPSHOT.jar
  10. Deploy storm topology jar files
    /usr/local/storm/bin/storm jar -c nimbus.host=192.168.1.13 lumify/lumify-storm/target/lumify-storm-0.2.0-SNAPSHOT-jar-with-dependencies.jar io.lumify.storm.StormRunner
  11. Deploy web war
    $ cp lumify/lumify-web-war/target/lumify-web-war-0.2.0-SNAPSHOT.war /usr/local/jetty/webapps/lumify.war
@csselo
Copy link
Author

csselo commented Aug 8, 2015

@ravides19
Copy link

@csselo were you able to get everthing up and running on Ubuntu Server with out using a VM ?

@bongaquino
Copy link

repository is not available: any new links for the repo?

INFO] examples-base ..................................... FAILURE [3.090s]
[INFO] aggregations ...................................... SKIPPED
[INFO] securegraph-accumulo-migrations ................... SKIPPED
[INFO] SecureGraph: Command Line Interface ............... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17:56.098s
[INFO] Finished at: Mon Feb 29 08:51:13 PHT 2016
[INFO] Final Memory: 39M/108M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project examples-base: Could not resolve dependencies for project org.securegraph.examples:examples-base:jar:0.10.0-SNAPSHOT: Could not find artifact com.altamiracorp.miniweb:miniweb:jar:0.3.0 in lumify-releases (http://bits.lumify.io/m2/releases/) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :examples-base

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants