In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces the configuration that the host needs to prepare before Cloudera Manager Hadoop deployment, which is very detailed and has a certain reference value. Friends who are interested must read it!
Operations under root user > hostname # hostname COLLECTOR01# vi / etc/sysconfig/network > Mapping of Ip and hostname # vi / etc/hosts127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4192.168.211.11 COLLECTOR01 > disable IPv6# echo "alias net-pf-10 off" > > / etc/modprobe.d/dist.conf# echo "alias ipv6 off" > > / etc/modprobe.d/dist.conf > make sure that the logonuser user password is consistent with other machine settings Inconsistent modification # passwd logonuser > > configure sudo permissions for ordinary users # vi / etc/sudoerslogonuser ALL= (root) NOPASSWD:ALL > > turn off firewall # service iptables stop# chkconfig iptables off > disable Selinux# vi / etc/sysconfig/selinuxSELINUX=disabled > uninstall JDK# rpm-qa | grep java# rpm-e-- nodeps java-1.6.0-openjdk-1.6.0.0-1.45.1.11.1.el6.x86_64 tzdata-java-2012c-1.el6.noarch > number of file openings $ulimit-a > maximum number of processes for users, Open the number of files $ulimit-u > set # vi / etc/security/limits.conf* soft nofile 65535 * hard nofile 65535 * soft nproc 32000 * hard nproc 3200 synchronization vi / etc/security/limits.d/90-nproc.conf* soft nproc 32000 > time synchronization # vi / etc/ntp.confserver 192.168.26.1 synchronization service ntpd restart > View synchronization results # ntpstat > set Boot # chkconfig ntpd on > > other Settings # sudo sysctl-w vm.swappiness=0# echo "vm.swappiness=0" > / etc/sysctl.conf# echo never > / sys/kernel/mm/redhat_transparent_hugepage/defrag# vi / etc/rc.localecho never > / sys/kernel/mm/redhat_transparent_hugepage/defrag > query the original yum# rpm-qa of redhat | grep yum > Delete the original yum# rpm-aq of redhat | grep yum | xargs rpm-e-nodeps# whereis yumyum: / etc/yum# rm-rf / etc/yum > install rpm package rpm-ivh / opt/disk/backup/soft of yum / yum/python*-- nodepsrpm-ivh / opt/disk/backup/soft/yum/yum*-- nodeps > change the yum source # cd / etc/yum.repos.d/# rm-rf * # vi / etc/yum.repos.d/cloudera-manager.repo [cloudera-manager] name = Cloudera Manager Version 5.3.6baseurl = http://COLLECTOR01/cm5/redhat/6/x86_64/cm/5/gpgcheck = 0 and above are all the contents of the article entitled "configurations that hosts need to prepare before Cloudera Manager Hadoop deployment" Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.