我要评分
获取效率
正确性
完整性
易理解

Installing Tomcat

The independent installation of Tomcat includes downloading and decompressing the Tomcat binary package.

  1. Download the Tomcat binary package.

    If the server cannot access the Internet, perform the following steps to download the binary package of Tomcat to your local host and upload it to the server.

    1. Download the Tomcat binary package.
    2. Copy the Tomcat binary package to the /home directory on the server.

      If the server is connected to the Internet, you can run the wget command on the server to download the binary package.

      1
      2
      cd /home
      wget https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.69/bin/apache-tomcat-9.0.69.tar.gz --no-check-certificate
      
  2. Decompress the Tomcat binary package.
    1
    2
    tar -zxvf apache-tomcat-9.0.69.tar.gz
    cd apache-tomcat-9.0.69