下载Hadoop安装包
wget http://apache.fayea.com/hadoop/common/hadoop-2.7.2/hadoop-2.7.2.tar.gz
java安装
wget -c --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-i586.rpm
wget -c --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.rpm
挺有意思,这个wget地址用百度查了半个小时没解决,用Google1分钟不到,第一个链接,搞定。Stack Overflow真的很吊。
下载完成之后
执行:rpm -ivh jdk-8u131-linux-i586.rpm
然后在 etc的profile 文件的末未添加:
#set java environment
JAVA_HOME=/usr/java/default
JRE_HOME=/usr/java/default/jre
PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin
wq保存
安装Tomcat:
https://stackoverflow.com/questions/40347397/wget-cant-download-apache-tomcat-8
wget http://archive.apache.org/dist/tomcat/tomcat-8/v8.0.23/bin/apache-tomcat-8.0.23.tar.gz
安装mysql
http://www.cnblogs.com/xiaoluo501395377/archive/2013/04/07/3003278.html
service mysqld start
安装nutch:
wget https://archive.apache.org/dist/nutch/1.12/apache-nutch-1.12-bin.tar.gz
wget https://archive.apache.org/dist/nutch/apache-nutch-1.2-bin.tar.gz
NUTCH报Error: JAVA_HOME is not set.
https://stackoverflow.com/questions/25289173/nutch-1-7-java-home-not-set-error