About the advantages of resin, a lot of online introduction. Small series of temptation, decided to try.
At the moment, the latest version of resin is: 4.0.40. Can be downloaded directly from the website.
1. Unpack the downloaded resin package and you'll see a whole bunch of files, some important files. We need to know.
resin-4.0.40 |
Resin installation Folder |
--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 need to JDK1.6 the version number above. and need to be configuredJava_home。 Configuring in Environment variables
Resin_home, such as:
3. Execute Resin.exe or execute run Java-jar lib/resin.jar start in the command.
4. Enter in the browser: http://localhost:8080, show demo samples For example, the following proves that resin successfully installed.
5. Stand-alone "/resin-admin". Jump to the Administration page. Enter username (for example: admin) and password (for example: admin). Create a configuration file. Note that when you click "Create configuration File" There is no real build configuration, just a username and encrypted password.
Copy the generated username and password into the/conf/resin.properties file and you will be able to log in.
6. But now it is limited to the local landing. If you want an external host, you can ask. Also need to be added in the/conf/resin.properties file.
Admin_external:trueadmin_secure:true |
or add it to the/conf/resin.xml file.
<resin:set var= "Resin_admin_external" value= "true"/> |
7. Publish the packaged war package to the/webapps folder and start the server to access your app.
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvc2hlahvumq==/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast "align=" Middle ">
Windows installation resin and configuration specific explanation and announcement application