bashrc配置文件内容

bashrc配置文件内容

#!/bin/bash
# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi

# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=



# User specific aliases and functions

# add to path for /home/hadoop3/app/jdk   and   /home/hadoop3/tools
export JAVA_HOME=/home/hadoop3/app/jdk
export PATH=${JAVA_HOME}/bin:$PATH

export HADOOP_HOME=/home/hadoop3/app/hadoop
export PATH=${HADOOP_HOME}/bin:${HADOOP_HOME}/sbin:$PATH

export ZOOKEEPER_HOME=/home/hadoop3/app/zookeeper
export PATH=${ZOOKEEPER_HOME}/bin:$PATH

export HBASE_HOME=/home/hadoop3/app/hbase
export PATH=${HBASE_HOME}/bin:$PATH

export CLASSPATH=.:${JAVA_HOME}/lib/dt.jar:${JAVA_HOME}/lib/tools.jar
export PATH=/home/hadoop3/tools:$PATH

export HBASE_CLASSPATH=/home/hadoop3/app/hbase/conf
export HBASE_MANAGES_ZK=false


export SCALA_HOME=/home/hadoop3/app/scala
export PATH=${SCALA_HOME}/bin:$PATH


export SPARK_HOME=/home/hadoop3/app/spark
export PATH=${SPARK_HOME}/bin:${SPARK_HOME}/sbin:$PATH

~                                                                                                                                                                                                                                                                             
~                                                                                                                                                                                                                                                                             
~                                                                                                                                                                                                                                                                             
~                                                                                                                                                                                                                                                                             
~                                                                                                                                                                                                                                                                             
~                                                          

你可能感兴趣的:(操作系统,Linux/Unix,云平台,hadoop)