Yum install -y snappy snappy-devel bzip2 bzip2-devel lzo lzo-devel lzop autoconf automake Start compilation Yum install -y openssl openssl-devel svn ncurses-devel zlib-devel libtool software]# unzip findbugs-1.3.9.zipĮxport FINDBUGS_HOME=/opt/software/findbugs-1.3.9Įxport PATH=$FINDBUGS_HOME/bin:$PROTOC_HOME/bin:$MAVEN_HOME/bin:$JAVA_HOME/bin:$PATH protobuf-2.5.0]# vi /etc/profileĮxport PATH=$PROTOC_HOME/bin:$MAVEN_HOME/bin:$JAVA_HOME/bin:$PATH ᦇ Yum install – y GCC gcc-c + + make cmake ᦇ cmake has been installed software]# tar -zxvf protobuf-2.5.0.tar.gz software]# vi /etc/profileĮxport MAVEN_HOME=/opt/software/apache-maven-3.3.9Įxport PATH=$MAVEN_HOME/bin:$JAVA_HOME/bin:$PATH software]# unzip apache-maven-3.3.9-bin.zip ා VI / etc / profile (configuration environment variable java_home) ා chown – R root: root jdk1.8.0_ (modify users and user groups) If there is any other if tag, you can choose it according to your needs.) Java installation UNIX system + jdk1.7 + + Maven 3.0 or later + protocolbuffer 2.5.0 is a necessary condition. (you can also see the requirements of this version of compiled software in the building.txt file. ා RZ (select the location of hadoop-2.8. package, upload the package) Other dependencies: protobuf, findbugs, OpenSSL, snappy.Maven installation package: apache-maven-3.3.9-bin.zip.JDK installation package: jdk-8u45-linux-圆4.gz.Hadoop source code: hadoop-2.8.1-sr c.tar.gz (take Hadoop 2.8.1 as an example).
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |