tar -zxvf jdk-11.0.15.1_linux-x64_bin.tar.gz -C /usr/local/
vim /etc/profile
,在文件底部添加如下配置:export JAVA_HOME=/usr/local/jdk-11.0.15.1
export PATH=$PATH:$JAVA_HOME/bin
source /etc/profile
java -version
rpm -qa |grep java
rpm -e --nodeps 文件名
source /etc/profile
java -version
tar -zxvf Mycat-server-1.6.7.6-release-20220524173810-linux.tar.gz -C /usr/local/
vim /etc/profile
,在文件底部添加如下配置:export MYCAT_HOME=/usr/local/mycat
export PATH=$PATH:$MYCAT_HOME/bin
source /etc/profile