运维开发网

05-4cdh搭建之jdbc

运维开发网 https://www.qedev.com 2020-03-26 14:46 出处:51CTO 作者:马吉辉
[root@hadoop01-181ins]#lltotal4drwxr-xr-x2rootroot124Mar2717:00cdhdrwxr-xr-x2rootroot207Mar2716:55cmdrwxr-xr-x3rootroot83Mar2718:56jdbcdrwxr-xr-x2rootroot37Mar2716:48jdkdrwxr-xr-x2rootroot4096Mar2718:

[root@hadoop01-181 ins]# ll

total 4

drwxr-xr-x 2 root root 124 Mar 27 17:00 cdh

drwxr-xr-x 2 root root 207 Mar 27 16:55 cm

drwxr-xr-x 3 root root 83 Mar 27 18:56 jdbc

drwxr-xr-x 2 root root 37 Mar 27 16:48 jdk

drwxr-xr-x 2 root root 4096 Mar 27 18:50 mysql

[root@hadoop01-181 ins]# cd jdbc/

[root@hadoop01-181 jdbc]# ll

total 4348

drwxr-xr-x 3 root root 178 Aug 7 2018 mysql-connector-java-5.1.47

-rw-r--r-- 1 root root 4452049 Mar 27 14:25 mysql-connector-java-5.1.47.tar.gz

tar -zxvf mysql-connector-java-5.1.47.tar.gz

[root@hadoop01-181 mysql-connector-java-5.1.47]# ll

total 2448

-rw-r--r-- 1 root root 91845 Aug 7 2018 build.xml

-rw-r--r-- 1 root root 248527 Aug 7 2018 CHANGES

-rw-r--r-- 1 root root 18122 Aug 7 2018 COPYING

-rw-r--r-- 1 root root 1007505 Aug 7 2018 mysql-connector-java-5.1.47-bin.jar

-rw-r--r-- 1 root root 1007502 Aug 7 2018 mysql-connector-java-5.1.47.jar

-rw-r--r-- 1 root root 61407 Aug 7 2018 README

-rw-r--r-- 1 root root 63658 Aug 7 2018 README.txt

drwxr-xr-x 8 root root 79 Aug 7 2018 src

[root@hadoop01-181 mysql-connector-java-5.1.47]# mkdir -p /usr/share/java/

cp mysql-connector-java-5.1.47-bin.jar /usr/share/java/mysql-connector-java.jar

cd /usr/share/java/

ll

0

精彩评论

暂无评论...
验证码 换一张
取 消