Installing resin and configuration details and publishing apps under Windows

Source: Internet
Author: User

About the benefits of resin, the online introduction of a large pile, small series by temptation, decided to try. At present, the latest version of resin is: 4.0.40, can be downloaded directly from the official website.
1. Unpack the downloaded resin package and you'll see a whole bunch of files, some key files we need to know.
resin-4.0.40 Resin installation directory
 --conf/resin.properties configuration Properties
 --conf/resin.xml configuration file
 --conf/licenses/ license information file
 --conf/keys/ openssl secret key
 --WEBAPPS/  deploy server path
--logs/ Resin log Files

2. Resin requires more than JDK1.6 version, and needs to be configuredJava_home。 Configuring in Environment variables Resin_home, such as:
c:\resin-4.0.40

3. Run Resin.exe or execute run Java-jar lib/resin.jar start in the command.
4. Enter: http://localhost:8080 in the browser, shown below to prove resin installation is successful.

5. Stand-alone "/resin-admin", Jump to the admin page, enter the user name (e.g. admin) and password (e.g. admin), create the configuration file. Note that when you click "Create configuration File", there is no real build configuration, just a username and an encrypted password are generated. Copy the generated user name and password into the/conf/resin.properties file and you are ready to log in.

6. But it is also limited to the native landing, if you want external host can access, but also need to add in the/conf/resin.properties file
Admin_external:trueadmin_secure:true
Or add in the/conf/resin.xml file
<resin:set var= "Resin_admin_external" value= "true"/>


7. Publish the packaged war package to the/webapps directory and start the server to access your app.









Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.