[root@web-proxy home]# ls jdk-8u201-linux-x64.tar.gz uplooking [root@web-proxy home]# mkdir /usr/local/jdk ----创建安装目录 [root@web-proxy home]# tar -xvf jdk-8u201-linux-x64.tar.gz -C /usr/local/jdk/ -----直接解压到安装目录即可
[root@web-proxy home]# ls /usr/local/jdk/ jdk1.8.0_201 [root@web-proxy home]# java -version bash: java: command not found...
[root@web-proxy home]# cd /usr/local/jdk/jdk1.8.0_201/ [root@web-proxy jdk1.8.0_201]# ls bin include jre LICENSE README.html src.zip THIRDPARTYLICENSEREADME.txt COPYRIGHT javafx-src.zip lib man release THIRDPARTYLICENSEREADME-JAVAFX.txt [root@web-proxy jdk1.8.0_201]# pwd /usr/local/jdk/jdk1.8.0_201
2.安装,解压到指定的安装目录即可 [root@web-proxy home]# tar -xvf Mycat-server-1.6.6.1-release-20181031195535-linux.tar.gz -C /usr/local/ [root@web-proxy home]# ls /usr/local/ bin etc games include jdk lib lib64 libexec mycat sbin share src [root@web-proxy home]# cd /usr/local/mycat/