vim /usr/local/tomcat/tomcat1/bin/startup.sh
# -----------------------------------------------------------------------------# Start Script for the CATALINA Server# -----------------------------------------------------------------------------##添加以下内容exportCATALINA_BASE=$CATALINA_BASE1exportCATALINA_HOME=$CATALINA_HOME1exportTOMCAT_HOME=$TOMCAT_HOME1vim /usr/local/tomcat/tomcat1/bin/shutdown.sh
# -----------------------------------------------------------------------------# Stop script for the CATALINA Server# -----------------------------------------------------------------------------exportCATALINA_BASE=$CATALINA_BASE1exportCATALINA_HOME=$CATALINA_HOME1exportTOMCAT_HOME=$TOMCAT_HOME1vim /usr/local/tomcat/tomcat2/bin/startup.sh
# -----------------------------------------------------------------------------# Start Script for the CATALINA Server# -----------------------------------------------------------------------------exportCATALINA_BASE=$CATALINA_BASE2exportCATALINA_HOME=$CATALINA_HOME2exportTOMCAT_HOME=$TOMCAT_HOME2vim /usr/local/tomcat/tomcat2/bin/shutdown.sh
# -----------------------------------------------------------------------------# Stop script for the CATALINA Server# -----------------------------------------------------------------------------exportCATALINA_BASE=$CATALINA_BASE2exportCATALINA_HOME=$CATALINA_HOME2exportTOMCAT_HOME=$TOMCAT_HOME2
在本地创建一个test数据库,并在test数据库中创建一个student表;表中的数据如下: 创建表: DROP TABLE IF EXISTS student; CREATE TABLE student ( studentID int NOT NULL AUTO_INCREMENT, StudnetName varchar(20) CHARACTER SET…