Resin Installation and configuration

Source: Internet
Author: User

resion Installation and Configuration

Official website: cacho.com

[Email protected] tomcatweb]# cd/usr/local/src/

[Email protected] src]# wget http://caucho.com/download/resin-4.0.36.tar.gz

[[email protected] src]# ls

Resin-4.0.36.tar.gz

[Email protected] src]# tar zxvf resin-4.0.36.tar.gz

[Email protected] src]# CD resin-4.0.36

[[email protected] resin-4.0.36]# ls

[Email protected] resin-4.0.36]#/configure--prefix=/usr/local/resin--with-java-home=/usr/local/jdk1.8.0_51

[[email protected] resin-4.0.36]# make

[[email protected] resin-4.0.36]# make install

[Email protected] resin-4.0.36]# ls/usr/local/resin/

[[email protected] resin-4.0.36]#/etc/init.d/tomcat stop

[[email protected] resin-4.0.36]#/etc/init.d/resin start

[[Email protected] resin-4.0.36]# PS aux |grep resin

[Email protected] resin-4.0.36]# NETSTAT-LNP |grep java

TCP 0 0 127.0.0.1:6600 0.0.0.0:* LISTEN 6150/java

TCP 0 0 127.0.0.1:6800 0.0.0.0:* LISTEN 6192/java

TCP 0 0::: 8080:::* LISTEN 6192/java

Client Access 192.168.137.22:8080 to the Resin default Page

650) this.width=650, "style=" Border-bottom: #ddd 1px solid;border-left: #ddd 1px solid;background:url ("/e/u261/lang/ Zh-cn/images/localimage.png ") no-repeat center;border-top: #ddd 1px solid;border-right: #ddd 1px solid;" Src= "/e/u261/ Themes/default/images/spacer.gif "Width=" 309 "height=" "alt=" Spacer.gif "/>"

[Email protected] resin-4.0.36]# cd/usr/local/resin/

[[email protected] resin]# ls

[Email protected] resin]# CD conf/

[[email protected] conf]# ls

[Email protected] conf]# vim resin.properties

will be app.http:8080 in 8080 Change into the

[Email protected] conf]#/etc/init.d/resin restart

Client Access 192.168.137.22 no need to add 8080 to the site

650) this.width=650, "style=" Border-bottom: #ddd 1px solid;border-left: #ddd 1px solid;background:url ("/e/u261/lang/ Zh-cn/images/localimage.png ") no-repeat center;border-top: #ddd 1px solid;border-right: #ddd 1px solid;" Src= "/e/u261/ Themes/default/images/spacer.gif "width=" 305 "height=" 143 "alt=" Spacer.gif "/>

[Email protected] conf]# vim Resin.xml

<!--The default host, matching any host name--

<!--

-WebApps can overridden/extended in the Resin.xml

-

<web-app id= "/" root-directory= "Webapps/root"/>

input here

<web-app id= "/" root-directory= "/tmp/resin"/>

[Email protected] conf]# Mkdir/tmp/resin

[Email protected] conf]# cp/data/tomcatweb/1.jsp/tmp/resin/

[[email protected] conf]#/etc/init.d/resin stop

[[email protected] conf]#/etc/init.d/resin start

[Email protected] conf]# NETSTAT-LNP |grep java

TCP 0 0 127.0.0.1:6600 0.0.0.0:* LISTEN 6728/java

TCP 0 0 127.0.0.1:6800 0.0.0.0:* LISTEN 6770/java

TCP 0 0::: +:::* LISTEN 6770/java

[Email protected] conf]# curl-x127.0.0.1:80 www.123.com/1.jsp

Now time Is:thu Jul 05:20:11 CST 2015

</center></body>

// Normal parsing time

This article is from the Linux Learning Notes blog, so be sure to keep this source http://9656134.blog.51cto.com/9646134/1677229

Resin Installation and configuration

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.