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.