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