In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to deploy Mahout under CentOS. It is very detailed and has a certain reference value. Friends who are interested must read it!
The deployment of Mahout under CentOS requires the following three steps
1. Install Maven
two。 Set up a network proxy (you know the reason)
3. Deploy Mahout
1 install Maven
Cd / opt/
Sudo wget http://apache.etoak.com//maven/binaries/apache-maven-3.0.2-bin.tar.gz
(yum install wget-y if prompted that Wget is not installed)
Extract the maven installation package and configure the environment variables
Tar-xzvf apache-maven-3.0.2-bin.tar.gz
Change the name of maven
Mv apache-maven-3.0.2/ maven/
Rm apache-maven-3.0.2-bin.tar.gz-f
Configure environment variables:
Vi / .bashrc
Add the following two lines at the end of the file:
Export M3_HOME=/opt/maven
Export PATH=$ {M3_HOME} / bin:$ {PATH}
Save the file and reload environment variables
Source / .bashrc
View maven installation
Mvn-version
two。 Set up proxy
The purpose of setting up the proxy is mainly because maven needs to grab remote packages during the deployment of mahout, which are covered by walls.
Vi / .m2/settings.xml
True http 192.168.0.12 goagent ip (note that if goagent is not local, the listening address of goagent must be set to 0.0.0.0) 8087max / default is 8087 xxxx// your user name xxxx// your password can be deleted if you do not need a password
Go to the apache official website to download the mahout you need to install.
Http://www.apache.org/dyn/closer.cgi/mahout/
Or you can use svn to check out
Cd / opt
Sudo svn co http://svn.apache.org/repos/asf/mahout/trunk
Cd mahout
Mvn install
If there are no special circumstances, just wait about 20 minutes (depending on your Internet speed).
If you apply for JAVE_HOME not set
Vi / etc/profile set java home
Export JAVA_HOME=, your javahome address.
These are all the contents of the article "how to deploy Mahout under CentOS". 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.