{"id":1495,"date":"2017-05-09T11:20:42","date_gmt":"2017-05-09T11:20:42","guid":{"rendered":"https:\/\/www.techuz.com\/blog\/?p=1495"},"modified":"2023-03-15T07:14:19","modified_gmt":"2023-03-15T07:14:19","slug":"installing-neo4j-ubuntu-14-04-step-step-guide","status":"publish","type":"post","link":"https:\/\/www.techuz.com\/blog\/installing-neo4j-ubuntu-14-04-step-step-guide\/","title":{"rendered":"Installing Neo4j on Ubuntu 14.04 &#8211; Step by Step guide"},"content":{"rendered":"<p>Neo4j has been heading as a best Graph Database choice and many enterprises using it in tech stack for specific needs. At Techuz, we are implementing social networking concept on Neo4j for some projects and thoughts to share an article on installation which helps new developers to start working on Neo4j.<\/p>\n<p>The overall installation process is simple and needs a basic understanding of commands execution. We have created video guide and below you can check step by step guide.<\/p>\n<div class=\"video-container\"><iframe loading=\"lazy\" class=\"aligncenter\" src=\"https:\/\/www.youtube.com\/embed\/M2JSvN1Afw8\" width=\"300\" height=\"150\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/div>\n<h2><strong>1. Before we install neo4j you have to firstly check java is installed in your system using below command.<\/strong><\/h2>\n<p><code>java -showversion<\/code><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1496\" src=\"https:\/\/www.techuz.com\/blog\/wp-content\/uploads\/2017\/05\/ShowJava.png\" alt=\"Java Show Version\" \/><\/p>\n<h2><strong>2. If java is not installed in your system then install java using below command.<\/strong><\/h2>\n<p><code>sudo add-apt-repository ppa:webupd8team \/java \/\/ we need to run this command for install java.<\/code><\/p>\n<p><img decoding=\"async\" class=\"wp-image-1497 aligncenter\" src=\"https:\/\/www.techuz.com\/blog\/wp-content\/uploads\/2017\/05\/InstallJava.png\" alt=\"Install Java\" \/><\/p>\n<p style=\"text-align: left;\"><code>sudo apt-get update \/\/ using this command all dependency will be updated<\/code><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1498\" src=\"https:\/\/www.techuz.com\/blog\/wp-content\/uploads\/2017\/05\/Update-Java.png\" alt=\"\" \/><\/p>\n<p style=\"text-align: left;\"><code>sudo apt-get install oracle-java8-installer \/\/ now using this command java will be installed<\/code><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1499\" src=\"https:\/\/www.techuz.com\/blog\/wp-content\/uploads\/2017\/05\/InstallJavaCont.png\" alt=\"InstallJavaCont\" \/><\/p>\n<h2><strong>3. After installing java please update all packages using below command.<\/strong><\/h2>\n<p style=\"text-align: left;\"><code>sudo apt-get update \/\/ using this command all dependency will be updated<\/code><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1498\" src=\"https:\/\/www.techuz.com\/blog\/wp-content\/uploads\/2017\/05\/Update-Java.png\" alt=\"Update Java\" \/><\/p>\n<h2><strong>4. After installing java now we will start the installation process for neo4j.<\/strong><\/h2>\n<h2><strong>5. To get started with Installation of neo4j follow this commands.<\/strong><\/h2>\n<p style=\"text-align: left;\"><code>1) wget -O - https:\/\/debian.neo4j.org\/neotechnology.gpg.key | sudo apt-key add -<\/code><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1500\" src=\"https:\/\/www.techuz.com\/blog\/wp-content\/uploads\/2017\/05\/Neo4j-Install1.png\" alt=\"Neo4j Install1\" \/><\/p>\n<p><code>2)  echo 'deb http:\/\/debian.neo4j.org\/repo stable\/' &gt;\/tmp\/neo4j.list<\/code><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1501\" src=\"https:\/\/www.techuz.com\/blog\/wp-content\/uploads\/2017\/05\/Neo4j-Install2.png\" alt=\"Neo4j Install2\" \/><\/p>\n<p><code>3)  sudo mv \/tmp\/neo4j.list \/etc\/apt\/sources.list.d<\/code><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1502\" src=\"https:\/\/www.techuz.com\/blog\/wp-content\/uploads\/2017\/05\/Neo4j-install3.png\" alt=\"Neo4j install3\" \/><\/p>\n<p><code>4)  sudo apt-get update \/\/ using this command all dependency will be updated<\/code><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1503\" src=\"https:\/\/www.techuz.com\/blog\/wp-content\/uploads\/2017\/05\/Neo4jUpdate.png\" alt=\"Neo4jUpdate\" \/><\/p>\n<p style=\"text-align: left;\"><code>5) Well, there are two neo4j versions available:<\/code><\/p>\n<p style=\"text-align: left;\">i.e. one for community and one for enterprise,<\/p>\n<p>The community version is a free version to use where as the enterprise is paid version.<\/p>\n<h3><strong>Now we install neo4j using<\/strong><\/h3>\n<p><code>1. To install community edition: sudo apt-get install neo4j=3.1.4<\/code><\/p>\n<p><code>2. To install enterprise edition: sudo apt-get install neo4j-enterprise<\/code><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1504\" src=\"https:\/\/www.techuz.com\/blog\/wp-content\/uploads\/2017\/05\/Neo4jCommunityVersion.png\" alt=\"Neo4j Community Version\" \/><\/p>\n<h2><strong>6. After completing installation process restart your neo4j service using below command.<\/strong><\/h2>\n<p><code>sudo service neo4j restart<\/code><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1505\" src=\"https:\/\/www.techuz.com\/blog\/wp-content\/uploads\/2017\/05\/Neo4jStart.png\" alt=\"Neo4j Start\" \/><\/p>\n<h2><strong>7. Now access neo4j using below URL<\/strong><\/h2>\n<p><code>http:\/\/localhost:7474\/browser\/<\/code><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1506\" src=\"https:\/\/www.techuz.com\/blog\/wp-content\/uploads\/2017\/05\/AcessNeo4JviaBrowser.png\" alt=\"Access Neo4J via Browser\" \/><\/p>\n<h2><strong>8. To access neo4j using IP address please follow below process.<\/strong><\/h2>\n<h3><strong>1) First, open neo4j config file using below command.<\/strong><\/h3>\n<p><code>sudo gedit \/etc\/neo4j\/neo4j.conf<\/code><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1507\" src=\"https:\/\/www.techuz.com\/blog\/wp-content\/uploads\/2017\/05\/ConfigNeo4j.png\" alt=\"Config Neo4j\" \/><\/p>\n<h3><strong>2) Now uncomment below line<\/strong><\/h3>\n<p><code>dbms.connector.http.address<\/code><\/p>\n<h3><strong>3) And put your IP address like below<\/strong><\/h3>\n<p><code>dbms.connector.http.listen_address = 172.16.16.155:7474<\/code><\/p>\n<p><code>dbms.connector.bolt.listen_address = 0.0.0.0:7687<\/code><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-1508\" src=\"https:\/\/www.techuz.com\/blog\/wp-content\/uploads\/2017\/05\/UnCMDinconfigFile.png\" alt=\"Un CMD in config File\" width=\"600\" height=\"254\" \/><\/p>\n<h3><strong>4) After completion, restart your neo4j service using below command<\/strong><\/h3>\n<p><code>sudo service neo4j restart<\/code><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-1509\" src=\"https:\/\/www.techuz.com\/blog\/wp-content\/uploads\/2017\/05\/AgainRestartNeo4j.png\" alt=\"Again Restart Neo4j\" width=\"600\" height=\"299\" \/><\/p>\n<h3><strong>5) Now you can access neo4j using below URL<\/strong><\/h3>\n<p><code>http:\/\/172.16.16.177:7474\/browser\/<\/code><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-1510\" src=\"https:\/\/www.techuz.com\/blog\/wp-content\/uploads\/2017\/05\/Neo4jAcessThroughBrowser.png\" alt=\"Neo4j Access Through Browser\" width=\"600\" height=\"299\" \/><\/p>\n<p>I hope this tutorial helps to provide a great start on Neo4J and Techuz as leading Graph Database Design Company will post more articles on <a href=\"https:\/\/en.wikipedia.org\/wiki\/Neo4j\" target=\"_blank\" rel=\"nofollow\">Neo4j<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Neo4j has been heading as a best Graph Database choice and many enterprises using it in tech stack for specific needs. At Techuz, we are implementing social networking concept on Neo4j for some projects and thoughts to share an article on installation which helps new developers to start working on Neo4j. The overall installation process &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.techuz.com\/blog\/installing-neo4j-ubuntu-14-04-step-step-guide\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Installing Neo4j on Ubuntu 14.04 &#8211; Step by Step guide&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":1912,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[10],"tags":[],"better_featured_image":{"id":1912,"alt_text":"","caption":"","description":"","media_type":"image","media_details":{"width":1200,"height":680,"file":"2017\/05\/installing-neo4j-banner-1-1.jpg","sizes":{"thumbnail":{"file":"installing-neo4j-banner-1-1-150x150.jpg","width":150,"height":150,"mime-type":"image\/jpeg","source_url":"https:\/\/www.techuz.com\/blog\/wp-content\/uploads\/2017\/05\/installing-neo4j-banner-1-1-150x150.jpg"},"medium":{"file":"installing-neo4j-banner-1-1-300x170.jpg","width":300,"height":170,"mime-type":"image\/jpeg","source_url":"https:\/\/www.techuz.com\/blog\/wp-content\/uploads\/2017\/05\/installing-neo4j-banner-1-1-300x170.jpg"},"medium_large":{"file":"installing-neo4j-banner-1-1-768x435.jpg","width":768,"height":435,"mime-type":"image\/jpeg","source_url":"https:\/\/www.techuz.com\/blog\/wp-content\/uploads\/2017\/05\/installing-neo4j-banner-1-1-768x435.jpg"},"large":{"file":"installing-neo4j-banner-1-1-1024x580.jpg","width":1024,"height":580,"mime-type":"image\/jpeg","source_url":"https:\/\/www.techuz.com\/blog\/wp-content\/uploads\/2017\/05\/installing-neo4j-banner-1-1-1024x580.jpg"},"blog_list":{"file":"installing-neo4j-banner-1-1-460x260.jpg","width":460,"height":260,"mime-type":"image\/jpeg","source_url":"https:\/\/www.techuz.com\/blog\/wp-content\/uploads\/2017\/05\/installing-neo4j-banner-1-1-460x260.jpg"},"alm-thumbnail":{"file":"installing-neo4j-banner-1-1-150x150.jpg","width":150,"height":150,"mime-type":"image\/jpeg","source_url":"https:\/\/www.techuz.com\/blog\/wp-content\/uploads\/2017\/05\/installing-neo4j-banner-1-1-150x150.jpg"},"twentyseventeen-thumbnail-avatar":{"file":"installing-neo4j-banner-1-1-100x100.jpg","width":100,"height":100,"mime-type":"image\/jpeg","source_url":"https:\/\/www.techuz.com\/blog\/wp-content\/uploads\/2017\/05\/installing-neo4j-banner-1-1-100x100.jpg"}},"image_meta":{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0","keywords":[]}},"post":1495,"source_url":"https:\/\/www.techuz.com\/blog\/wp-content\/uploads\/2017\/05\/installing-neo4j-banner-1-1.jpg"},"_links":{"self":[{"href":"https:\/\/www.techuz.com\/blog\/wp-json\/wp\/v2\/posts\/1495"}],"collection":[{"href":"https:\/\/www.techuz.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techuz.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techuz.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techuz.com\/blog\/wp-json\/wp\/v2\/comments?post=1495"}],"version-history":[{"count":3,"href":"https:\/\/www.techuz.com\/blog\/wp-json\/wp\/v2\/posts\/1495\/revisions"}],"predecessor-version":[{"id":6319,"href":"https:\/\/www.techuz.com\/blog\/wp-json\/wp\/v2\/posts\/1495\/revisions\/6319"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techuz.com\/blog\/wp-json\/wp\/v2\/media\/1912"}],"wp:attachment":[{"href":"https:\/\/www.techuz.com\/blog\/wp-json\/wp\/v2\/media?parent=1495"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techuz.com\/blog\/wp-json\/wp\/v2\/categories?post=1495"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techuz.com\/blog\/wp-json\/wp\/v2\/tags?post=1495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}