Installation and environment configuration flume1.8 of (pure command)

A. Installation FLume  

  1.1   Dui Flume have to understand all know, Flume is dependent on the JDK, if not installed JDK's another look at my essay: https://www.cnblogs.com/KdeS/p/11526907.html  , easy to understand ,

 1.2   Switching root privileges, equipment download Flume, here I downloaded the 1.8 version, detailed as follows:

1 wget http://apache.fayea.com/flume/1.8.0/apache-flume-1.8.0-bin.tar.gz

1.3 unzip

1 tar-flume zxvf apache 1.8 . 0 bintargz

1.4  In order to facilitate the management, we create a file in the directory opt file name is called flume, the Flume decompressed into place under the flume directory, in order to facilitate recording the decompressed '-bin' get rid of this part, as follows:

1 mv apache-flume-1.8.0-bin   /opt/flume/apache-flume-1.8.0

II. Environment Configuration

     2.1  To facilitate the operation, we put bin directory to the Path, as follows:

    

1 vim /etc/profile
1 export FLUME_HOME=/opt/flume/apache-flume-1.8.0
2 export PATH=$PATH:$FLUME_HOME/bin

     2.2   source  /etc/profile

     2.3. / Etc / profile (point back space)

     2.4 test whether the installation was successful:

 

 

Guess you like

Origin www.cnblogs.com/KdeS/p/11528829.html