Tomcat Package Deployment in Linux

  • Last update:  2024-01-22
  • Overview

    Version

    FineBI Version
    Functional Change

    6.0.5

    /

    Application Scenario

    To deploy the project to Tomcat, you need to install Tomcat and JDK, which is troublesome for beginners.

    FanRuan has integrated the Web container including projects and environment configurations, allowing you to directly deploy and start FineBI in the corresponding system without configuring the environment.

    Function Description

    This document introduces how to use the Tomcat deployment package in Linux.

    Procedure

    Environment Preparation

    You have prepared the required environment  by referring to Preparations for Environment Deployment of FineBI Project.

    iconNote:
    You cannot install FineBI in 32-bit operating systems.


    Deployment Package Download

    1. FanRuan provides the deployment package for Linux x64. Before downloading the deployment package, you need to check whether the system architecture meets the installation requirements through the command uname -m, as shown in the following figure.

     1.png

    2. Paying users can contact our technical support to obtain the deployment package of the corresponding version.

    3. Upload the deployment package to Linux, as shown in the following figure.

    iconNote:
    The example uses the FTP tool to upload the package. You can also use other file transmission tools.

     2.png

    Deployment Package Unzipping

    1. Go to the directory where the uploaded deployment package is located.

    cd /home/BItest

    2. Decompress the deployment package.

    tar -zxvf tomcat-linux-x64.tar.gz

     3.png

    3. Rename the Tomcat folder through the command
    mv tomcat-linux-x64 tomcat.

     4.png

    Project Migration (Optional)

    If you want to retain the project previously configured on the local computer, you can proceed with steps in this section. If not, you can skip this section.

    1. Delete the webroot folder from the decompressed deployment package (in the %Tomcat_HOME%\tomcat-win64\webapps path).

    2. Copy and paste the webroot folder of the original project (in the %BI_HOME%\webapps path) to the current location.

    iconNote:
    If you use the project in the deployment package, you need to set the username and password for platform login. If you use the existing project for deployment, you can use the username and password of the existing project for platform login.


    Parameter Configuration (Optional)

    You need to deploy the FineBI project on the application server that meet some configuration requirements.

    The downtime risk exists if the application server does not meet the requirements for project use.

    You are advised to configure required parameters before starting the Tomcat server.

    Tomcat Server Starting

    1. Go to the bin directory.

    cd /home/BItest/tomcat/bin

    2. Start Tomcat.

    ./startup.sh

    3. Check whether consumed time for Tomcat re-startup is displayed in the real-time log. If so, the Tomcat startup is successful.

    cd /home/BItest/tomcat/logs

    tail -f catalina.out

    iconNote:
    If the error "Database is not initialized" is displayed after Tomcat is started, you need to check the user read/write permission, which can be configured through the command chmod -R 777 tomcat.

     5.png

    FineBI Access

    Enter the access address http://IP address:Port number/Project name/decision in the browser address bar. If the FineBI initialization configuration page is displayed, the deployment is successful, as shown in the following figure.

    iconNote:

    The access address includes Server IP addressPort numberProject file name, and decision.

    The default port number of Tomcat is 8080. The default project name is webroot.

    6.png

    附件列表


    主题: Deployment and Integration
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy