{"id":18753,"date":"2020-09-09T19:49:04","date_gmt":"2020-09-09T19:49:04","guid":{"rendered":"https:\/\/ittutorial.org\/?p=18753"},"modified":"2020-09-28T12:26:32","modified_gmt":"2020-09-28T12:26:32","slug":"apache-nifi-on-google-cloud","status":"publish","type":"post","link":"https:\/\/ittutorial.org\/apache-nifi-on-google-cloud\/","title":{"rendered":"Apache Nifi on Google Cloud"},"content":{"rendered":"<h1>Apache Nifi on Google Cloud<\/h1>\n<p>Hello, in this article I will explain how to install Apache Nifi on Google Cloud.<\/p>\n<p>First, you have to create a Google Cloud account. I assume you have done this step, you need to create a virtual machine<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18804\" src=\"https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_27-253x300.png\" alt=\"\" width=\"949\" height=\"1125\" srcset=\"https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_27-253x300.png 253w, https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_27-768x911.png 768w, https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_27.png 782w\" sizes=\"auto, (max-width: 949px) 100vw, 949px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Click create new instance.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18806\" src=\"https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_28-300x63.png\" alt=\"\" width=\"962\" height=\"202\" srcset=\"https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_28-300x63.png 300w, https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_28.png 719w\" sizes=\"auto, (max-width: 962px) 100vw, 962px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>I recommend using Ubuntu 18.04 as the operating system<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18807\" src=\"https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_29-300x187.png\" alt=\"\" width=\"959\" height=\"598\" srcset=\"https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_29-300x187.png 300w, https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_29.png 651w\" sizes=\"auto, (max-width: 959px) 100vw, 959px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Let&#8217;s tick the two boxes indicated by an arrow.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18808\" src=\"https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_30-300x256.png\" alt=\"\" width=\"955\" height=\"815\" srcset=\"https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_30-300x256.png 300w, https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_30.png 671w\" sizes=\"auto, (max-width: 955px) 100vw, 955px\" \/><\/p>\n<p>Add the ssh key to connect to the machine, you can create keys using puttygen.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18809\" src=\"https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_31-300x279.png\" alt=\"\" width=\"973\" height=\"904\" srcset=\"https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_31-300x279.png 300w, https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_31.png 655w\" sizes=\"auto, (max-width: 973px) 100vw, 973px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Finally, let&#8217;s wait for the machine to be created by pressing the create button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18810\" src=\"https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_32-300x282.png\" alt=\"\" width=\"969\" height=\"911\" srcset=\"https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_32-300x282.png 300w, https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_32.png 695w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/><\/p>\n<h1>Apache Nifi on Google Cloud<\/h1>\n<p>&nbsp;<\/p>\n<p>After the machine is created, let&#8217;s connect to our machine with ssh,<\/p>\n<p>&nbsp;<\/p>\n<p>Java is required to install Nifi, we must first install java.<\/p>\n<pre>apt-get install openjdk-8-jdk<\/pre>\n<p>&nbsp;<\/p>\n<p>In our example, our Java JDK is installed under the folder: \/usr\/lib\/jvm\/java-8-openjdk-amd64<\/p>\n<p>Now, you need to create an environment variable named <strong>JAVA_HOME<\/strong>.<\/p>\n<p>&nbsp;<\/p>\n<pre>vi \/etc\/profile.d\/java.sh<\/pre>\n<pre>#\/bin\/bash\r\nexport JAVA_HOME=\/usr\/lib\/jvm\/java-8-openjdk-amd64<\/pre>\n<p>&nbsp;<\/p>\n<pre>reboot<\/pre>\n<p>&nbsp;<\/p>\n<p>Use the following command to verify if the JAVA_HOME variable was created.<\/p>\n<pre>env | grep JAVA_HOME<\/pre>\n<p>you&#8217;ll see this output -&gt;\u00a0 <strong>JAVA_HOME=\/usr\/lib\/jvm\/java-8-openjdk-amd64<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>Use the following command to test the Java installation.<\/p>\n<pre>java -version<\/pre>\n<p>&nbsp;<\/p>\n<p>Download the Apache Nifi package.<\/p>\n<pre>wget https:\/\/ftp.itu.edu.tr\/Mirror\/Apache\/nifi\/1.12.0\/nifi-1.12.0-bin.tar.gz<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18811\" src=\"https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_33-300x61.png\" alt=\"\" width=\"1043\" height=\"212\" srcset=\"https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_33-300x61.png 300w, https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_33-1024x208.png 1024w, https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_33-768x156.png 768w, https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_33-1536x312.png 1536w, https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_33.png 1568w\" sizes=\"auto, (max-width: 1043px) 100vw, 1043px\" \/><\/p>\n<p>&nbsp;<\/p>\n<pre>tar -zxvf nifi-1.12.0-bin.tar.gz<\/pre>\n<pre>mv nifi-1-12.0-bin.tar.gz<\/pre>\n<pre>nifi-1.12.0-bin.tar.gz \/opt\/nifi-1-12.0-bin.tar.gz \/opt\/nifi<\/pre>\n<pre>cd \/opt\/nifi\r\nbin\/nifi.sh install<\/pre>\n<pre>\/etc\/init.d\/nifi start<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18812\" src=\"https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_34-300x75.png\" alt=\"\" width=\"1060\" height=\"265\" srcset=\"https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_34-300x75.png 300w, https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_34.png 698w\" sizes=\"auto, (max-width: 1060px) 100vw, 1060px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Open a browser software, enter the IP address of your <strong>Apache Nifi server plus :8080\/nifi<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18813\" src=\"https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_35-300x153.png\" alt=\"\" width=\"1030\" height=\"525\" srcset=\"https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_35-300x153.png 300w, https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_35-1024x521.png 1024w, https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_35-768x391.png 768w, https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_35-1536x782.png 1536w, https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Screenshot_35.png 1629w\" sizes=\"auto, (max-width: 1030px) 100vw, 1030px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>See you in the next article..<\/p>\n<p>&nbsp;<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"VJ2SkLOH8K\"><p><a href=\"https:\/\/ittutorial.org\/microsoft-azure-open-source-big-data-analytic-service-hdinsight\/\">Microsoft Azure Open Source Big Data &amp; Analytic Service &#8211; HDInsight<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Microsoft Azure Open Source Big Data &amp; Analytic Service &#8211; HDInsight&#8221; &#8212; IT Tutorial\" src=\"https:\/\/ittutorial.org\/microsoft-azure-open-source-big-data-analytic-service-hdinsight\/embed\/#?secret=A99OrNTDGD#?secret=VJ2SkLOH8K\" data-secret=\"VJ2SkLOH8K\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Apache Nifi on Google Cloud Hello, in this article I will explain how to install Apache Nifi on Google Cloud. First, you have to create a Google Cloud account. I assume you have done this step, you need to create a virtual machine &nbsp; Click create new instance. &nbsp; &nbsp; I recommend using Ubuntu 18.04 &hellip;<\/p>\n","protected":false},"author":67,"featured_media":18805,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[6674],"tags":[12942,12958,12947,12957,12949,12952,12951,12950,12956,5926,12865,12955,12946,12945,12943,12944,12948,12954,12953,12959],"class_list":["post-18753","post","type-post","status-publish","format-standard","has-post-thumbnail","","category-big-data","tag-apache-nifi","tag-apache-nifi-cloud-example","tag-apache-nifi-configuration","tag-apache-nifi-example","tag-apache-nifi-installation","tag-apache-nifi-on-aws","tag-apache-nifi-on-azure","tag-apache-nifi-on-google-cloud","tag-apache-nifi-twitter-example","tag-big-data","tag-data-science","tag-how-to-install-nifi","tag-how-to-install-nifi-on-cloud","tag-how-to-install-nifi-on-google-cloud","tag-how-to-install-nifi-on-linux","tag-how-to-install-nifi-on-windows","tag-how-to-run-nifi-on-remote","tag-install-nifi","tag-install-nifi-on-google-cloud","tag-nifi-on-cloud"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/ittutorial.org\/wp-content\/uploads\/2020\/09\/Apache-NiFi.jpg","jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ittutorial.org\/wp-json\/wp\/v2\/posts\/18753","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ittutorial.org\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ittutorial.org\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ittutorial.org\/wp-json\/wp\/v2\/users\/67"}],"replies":[{"embeddable":true,"href":"https:\/\/ittutorial.org\/wp-json\/wp\/v2\/comments?post=18753"}],"version-history":[{"count":10,"href":"https:\/\/ittutorial.org\/wp-json\/wp\/v2\/posts\/18753\/revisions"}],"predecessor-version":[{"id":19437,"href":"https:\/\/ittutorial.org\/wp-json\/wp\/v2\/posts\/18753\/revisions\/19437"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ittutorial.org\/wp-json\/wp\/v2\/media\/18805"}],"wp:attachment":[{"href":"https:\/\/ittutorial.org\/wp-json\/wp\/v2\/media?parent=18753"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ittutorial.org\/wp-json\/wp\/v2\/categories?post=18753"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ittutorial.org\/wp-json\/wp\/v2\/tags?post=18753"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}