In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you how to configure hadoop in ubuntu14.04. I hope you will get something after reading this article. Let's discuss it together.
1. Set up root account: sudo passwd 2. Select other users to log in: sudo gedit / usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf adds a line in the pop-up window:: greeter-show-manual-login=true3, give ordinary users root permission: sudo gedit / etc/passwd to find the user's name on the penultimate line Change the two 1000 to 0 to save 4, configure ssh:apt-get install openssh-server5, and generate a password-free login key: ssh-keygen-t rsa-P''cat / root/.ssh/id_dsa.pub > > / root/.ssh/authorized_keys Authorization: chmod 644 / root/.ssh/authorized_keys also executes the above two sentences on the other two hosts. Copy the id_dsa.pub on the host to the other two hosts. The same is true for scp / root/.ssh/id_dsa.pub slave1:/root/.ssh/id_dsa.pub.red switching to slave1 execution: cat / root/.ssh/id_dsa.pub.red > > authorized_keysslave2. Try whether you can log in to ssh localhost, ssh slave1, ssh slave2 without a password. 6. Install jdk, configure environment variables: sudo gedit ~ / .bassrc join: export JAVA_HOME=/usr/local/java/jdk1.7.0_79 export JRE_HOME=$ {JAVA_HOME} / jre export CLASSPATH=.:$ {JAVA_HOME} / lib:$ {JRE_HOME} / lib export PATH=$ {JAVA_HOME} / bin:$PATH save, execute: source ~ / bashrc to check whether jdk is configured successfully Execution: java, java-version7, download hadoop-2.6.4 are configured according to the connection at the beginning of the article. Remember to copy the configured hadoop-2.6.4 to the other two hosts scp-r / usr/hadoop-2.6.4/ slave1:/usr/scp-r / usr/hadoop-2.6.4/ slave2:/usr/ after reading this article, I believe you have a certain understanding of "how to configure hadoop in ubuntu14.04". If you want to know more about it, welcome to follow the industry information channel, thank you for reading!
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.