1.解压
2.修改配置
mv sqoop-env-template.sh sqoop-env.sh
3.添加环境变量
export SQOOP_HOME=/data/soft/sqoop-1.4.7.bin__hadoop-2.6.0
export PATH=.:$JAVA_HOME/bin:$HADOOP_HOME/sbin:$HADOOP_HOME/bin:$SCALA_HOME/bin:$SQOOP_HOME/bin:$PATH
4.拷贝jar包到lib下
mysql-connector-java-8.0.30.jar
commons-lang-2.6.jar