Work record (3) The project is deployed to the windows server2008 server


First, upload the project to the virtual desktop
    and connect it to the mobile intranet, and access the virtual desktop path http://10.159.131.13/Citrix/hnmccWeb/ *The virtual desktop account is required to
    pass through Huixun, so that the administrator can upload the package to be uploaded to The virtual desktop that you can use
Second, upload the project to the test server and
    use 4A-KEY to enter the terminal security access system. After logging in, enter the unified information platform through the browser and
    upload the file to the springboard using FTP mode, and then use the secureSSH connection to test The server's management machine pushes the file
    to the linux assignment command used in the past, such as: scp huicai.zip [email protected]:/home/page ;
    and then uses the ftp mode to pull the file from the linux system to the test server
. Third, Use tomcat to execute the war package
    and install the environment on the test server such as (database, jdk, tomcat)
    jdk installation needs to use java, javac, java -version in the cmd window to verify whether     the war is placed in tomcat by
    configuring the tomcat and jdk environment variables In the
webapps directory, delete the ROOT directory in the directory.
    In order to make the project name unnecessary in the access path, you need to add the project virtual path in the server.xml of tomcat  
    *Add content: <Context path="" docBase="/huicai" reloadable=" false"/>*

    <Host name="localhost"  appBase="webapps"
            unpackWARs="true" autoDeploy="true">

        <!-- SingleSignOn valve, share authentication between web applications
             Documentation at: /docs/config/valve.html -->
        <!--
        <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
        -->
        <Context path="" docBase="/huicai" reloadable="false"/>

        <!-- Access log processes all example.
             Documentation at: /docs/config/valve.html
             Note: The pattern used is equivalent to using pattern="common" -->
        <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
               prefix="localhost_access_log." suffix=".txt"
               pattern="%h %l %u %t "%r" %s %b" />

    </Host>
    Then use startup.bat in the bin directory to start tomcat, and access the project in the browser to verify whether it is successful.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325293548&siteId=291194637
Recommended