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:
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.