{"id":1852,"date":"2018-04-25T11:44:45","date_gmt":"2018-04-25T09:44:45","guid":{"rendered":"http:\/\/van-maanen.com\/?p=1852"},"modified":"2018-04-25T11:44:45","modified_gmt":"2018-04-25T09:44:45","slug":"installing-cloudera-manager","status":"publish","type":"post","link":"http:\/\/archief.van-maanen.com\/?p=1852","title":{"rendered":"Installing Cloudera Manager"},"content":{"rendered":"<p>Cloudera Manager is a great tool to install a Big Data platform. I worked with this tool and let me share some findings. I realise that we have only a limited range of platforms that can be used to install the Cloudera Manager upon. I started with Ubuntu 16.04. In a first attempt, I used a newer version of Ubuntu but this was not supported.Therefore, I started with Ubuntu 16.04.<br \/>\nDuring an attempt of installation, I was given a warning that ubuntu uses 127.0.1.1 as the host address. During that attempt, it was stated that 127.0.1.1 will lead to issues. In subsequent step, I encountered the promised issues. Therefore, in another attempt, I modified the \/etc\/hosts file:<\/p>\n<pre>\n127.0.0.1\tubuntu\n127.0.0.1\tlocalhost\n<\/pre>\n<p>I also like to work with a fixed network address. This can be attained by including in \/etc\/network\/interfaces these lines:<\/p>\n<pre>\nauto ens33\niface ens33 inet static\naddress 192.168.2.25\nnetmask 255.255.255.0\ngateway 192.168.2.254\ndns-nameservers 192.168.2.254\n<\/pre>\n<p>In these lines, we see ens33 as the network interface. Previous versions of Ubuntu use eth0. The network interface can be known from the &#8220;ifconfig&#8221; statement. <\/p>\n<p>During the installation, use is made of a ssh connection. This connection will be used with a sudo command. However, during installing I discovered that the sudo command must be given without a password. So we have a series of steps to take. SSH can be installed with:<\/p>\n<pre>\nsudo apt-get install openssh-server\n<\/pre>\n<p>We then set up the possibility to connect to ssh via root. This can be done in file \/etc\/ssh\/sshd_config. There we have a clause on PermitRootLogin. This must be set to &#8220;yes&#8221;:<\/p>\n<pre>\nPermitRootLogin yes\n<\/pre>\n<p>To allow a sudo without providing a password, we have to adjust the \/etc\/sudoers file. There we have to provide the permission for the root usage via tom:<\/p>\n<pre>\ntom ALL =(ALL) NOPASSWD: ALL\n<\/pre>\n<p>We are then ready to go. The Cloudera Manager can be downloaded via:<\/p>\n<pre>\nwget http:\/\/archive.cloudera.com\/cm5\/installer\/latest\/cloudera-manager-installer.bin\n\nadjust the privs via:\n\nchmod u+x cloudera-manager-installer.bin\n\nstart installing via:\n\nsudo .\/cloudera-manager-installer.bin\n<\/pre>\n<p>I noted that the web browser didn&#8217;t run. I got it running via sudo firefox -Profilemanager. I also had the privs with ~\/.mozilla\/firefox\/ to make them readable. <\/p>\n<p>The installing was then straightforward. But above things have to settled.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cloudera Manager is a great tool to install a Big Data platform. I worked with this tool and let me share some findings. I realise that we have only a limited range of platforms that can be used to install the Cloudera Manager upon. I started with Ubuntu 16.04. In a first attempt, I used [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1852","post","type-post","status-publish","format-standard","hentry","category-allgemein"],"_links":{"self":[{"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=\/wp\/v2\/posts\/1852","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1852"}],"version-history":[{"count":0,"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=\/wp\/v2\/posts\/1852\/revisions"}],"wp:attachment":[{"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1852"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1852"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1852"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}