Install Resin 4 in centos 5

Source: Internet
Author: User

Resin

Install JDK 6 first

Download resin:

Cd ~

Wget http://www.caucho.com/download/resin-4.0.27.tar.gz

Decompress:
Tar-xvf resin-4.0.27.tar.gz
Mkdir-P/usr/local/resin
MV Resin-4.0.27/usr/local/resin

Mkdir-P/var/WWW
Mkdir-P/var/log/resin
Mkdir-P/etc/resin

Configuration
./Configure -- prefix =/usr/local/resin \
-- With-resin-root =/var/www \
-- With-resin-log =/var/log/resin \
-- With-resin-conf =/etc/resin \
-- With-Java-home =/usr/Java/Default
Note: \ There cannot be spaces behind it.

No acceptable C compiler found in $ path, GCC missing
Yum install gcc
Again./configure...

Resin configuration summary:

Resin_home:/usr/local/resin
Root:/var/WWW
Conf:/etc/resin
Log:/var/log/resin
Plugins: Common resin_ OS resinssl
Init:/etc/init. d/resin
Java_home:/usr/Java/Default

+ 64-bit JNI in-I/usr/Java/default/include/Linux
+ JNI cflags:
+ Epoll () for keepalives
+ Not using OpenSSL

Compile and install
Make & make install
Make install: an error is reported. If the file is duplicated, it is okay.

....
/Etc/init. d/resin installed.
Vim/etc/init. d/resin: Modify java_home and resin_home. If./configure and java_home are configured, you do not need to modify them here.

Uninstall
Rm-RF/usr/local/resin
Rm-RF/var/WWW
Rm-RF/var/log/resin
Rm-RF/etc/resin

Service
Service resin START | stop
The program should be stored in the/usr/local/resin/webapps/root directory.

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.