Linux Tutorials, Guides & Latest Tech Stuffs

How to install stardog on Ubuntu 16.04

Stardog is a knowledge graph platform for enterprises, it allow users to query,search and analyze enterprise data using scalable Knowlege Graph technology. This blog post will demonstrate installing Stardog on Ubuntu and how to use it after installation

Stardog Featurs

  • Virtual Graphs: In place unification for RDBMS
  • Machine Learning & Logical Inference: Create train and update machine learning models like logical reasoning from Stardog’s query language
  • GraphQL: Stardog allows to load RDF and GraphQL queries right away
  • Powerful Data model: Supports rich modelling language and user defined rules for enterprises
  • Geospatial: Smart querying language for location-aware-graphs
  • Push Button Cloud Deployment: Deploy to AWS cloud in minutes
  • High availability cluster: Collection of number of stardog servers that behave like a single one
  • Bites: Blob indexing and text enrichment with Semantics brings unstructured content in through external processors while also serving as a document store
  • Semantic Search: Full text , Semantically typed search out of box
  • Tinker Pop 3: Graph traversals and algorithms with Gremlin


Stardog runs best on Java8 but does not require a 64 bit JVM that supports sun.misc.unsafe


  1. Go to the Stardog Download page
  2. Fill in details like Name, Email and Organization and a get a free 30 day trial for Stardog-Enterprise Edition
  3. Verify Captcha and hit download button
  4.  You will be redirected to the Thankyou! page and you will receive an email from Stardog CEO and founder Kendall Clark containing download url and licence-key
  5. Download Stardog zip file and Stardog-Licence-Key from the link provided in the email
  6. extract by using unzip command like this
unzip stardog-5.2.0

7. Export stardog home directory ( where all the databases and other files will be stored )

export STARDOG_HOME=/data/stardog/

8. copy licence key to /data/stardog/ folder

9. go to your extracted zip file and go to bin folder and run

./stardog-admin server start

10. After successfully running server start command, stardog will be started to run on default port 5820. You  may see following output on your terminal

Login to Stardog

After installation you need to visit localhost:5820 here you will be asked to enter username password. For first time login Stardog default credentials are following


stardog default username: admin
stardog default password: admin

Enter these credentials at the login page and you will be redirected to Stardog dashboard. In my case, I required to enter same credentials two times because there were two login forms ( as shown in screenshot below )


Stardog Dashboard

On stardog dashboard you will find options like Databases, Security and Query management. Stardog home directory location will be also listed along with all the databases and Users.

Managing Stardog Users

You can mange users by going under security tab and then selecting users. you can create and delete stardog users from here.

Pranav K

Pranav K is a software engineer and all-round computer geek. His interests include AWS, Ubuntu and Wordpress

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.