Linux configures resin to boot methods from the background __linux

Source: Internet
Author: User
Prerequisites: The JDK is installed and the corresponding environment variables are set up; Download a resin and install it (slightly)

1. Enter the bin directory in the resin installation directory and copy httpd.sh as: resin.sh command: CP httpd.sh resin.sh
2. Editor resin.sh

Add or modify content in resin.sh

#设置好JAVA_HOME
Java_home=/usr/java
Export Java_home
#设置好RESIN_HOME
Resin_home=/usr/local/resin
Export Resin_home

#设置好PATH变量
Path=/bin:/usr/bin:/usr/local/bin
Export PATH

args= "-xms75m-xmx100m start-pid $RESIN _home/resin-a.pid"
Class=com.caucho.server.http.httpserver

#设置服务名称
Name=httpd

#perl Path
Perl=/usr/local/bin/perl

EXEC $perl $RESIN _home/bin/wrapper.pl-chdir-name "$name"/
-class "$class" $args $*


After the above configuration is complete, save it now through sh resin.sh start | Stop to start or shut down the resin server
The path of the above configuration is set according to the system specific conditions,

Configuration method See Resin official website: http://www.caucho.com/resin-3.0/install/cse-apache.xtp
Http://www.caucho.com/resin-3.0/install/linux-boot.xtp



installation, configuration and automatic startup issues on Linux can be referred to: http://www.chedong.com/tech/resin.html

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.