Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Hadoop installation

Shulou Source: shulou.com Published: 2022-06-03 08:06:58 09月23日 Update

Rz-be

Tar-xvzf hadoop-2.7.1.tar.gz

Vi / etc/profile

Export JAVA_HOME=/home/skinglzw/jdk1.8.0_101

Export HADOOP_INSTALL=/home/skinglzw/hadoop-2.7.1

Export PATH=$JAVA_HOME/bin:$PATH:$HADOOP_INSTALL/bin:$HADOOP_INSTALL/sbin

Export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar

Source / etc/profile

If you are configuring user environment variables, add ZK_HOME to the ~ / .bashrc file and execute the following command:

Vim / .bashrc

Then log in to the linux terminal again and it will take effect.

Tags: Variables commands files environments users terminals logins configurations Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn macOS Xiaomi Microsoft Linux