解压flume
tar -vxf apache-flume-1.7.0-bin.tar.gz
修改
1042 cd apache-flume-1.7.0-bin/ 1043 ls 1044 cd conf/ 1045 ls 1046 mv flume-env.ps1.template flume-env.sh
vim flume-env.sh 添加java环境
# limitations under the License. export JAVA_HOME=/software/jdk1.8.0_181/