---
title: "Centos7编译安装 Resin4"
author: "samwongcn"
date: "2015-10-14T15:33:44Z"
tags: []
categories: ["操作系统"]
slug: "centos7-resin4"
draft: false
lastmod: "2015-10-14T15:33:44Z"
id: 2249108
url: "https://samwongcn.iteye.com/blog/2249108"
---

系统：  Centos7-minimal版 

准备：

 

jdk：  jdk1.6.0\_45      路径 /usr/java/jdk1.6.0\_45

 

下载resin源码：

wget http://caucho.com/download/resin-pro-4.0.45-src.tar.gz

 

解压到/usr/local/resin

tar zxvf  resin-pro-4.0.45-src.tar.gz

 

 

 

./configure --prefix=/usr/local/resin --with-java-home=/usr/java/jdk1.6.0\_45/

 

make

make install

 

 

注意：

需要提前安装好gcc和openssl，否则编译会出错

yum install openssl openssl-devel