Resin4安装配置
#Resin4安装配置
# Resin4安装配置
#centos6
#参考http://467754239.blog.51cto.com/4878013/1558435 #yum -y install gcc gcc-c++ make
#安装jdk ……
#安装resin
wget http://caucho.com/download/resin-4.0.51.zip
unzip resin-4.0..zip
cd resin-4.0.
./configure --prefix=/usr/local/resin #--with-java-home=/usr/local/jdk1..0_45/
make && make install #启动、重启
#/usr/local/resion/bin/resin.sh start
#service resin start
/etc/init.d/resin restart
tail -f t/usr/local/resin/log/access.log #查看日志 ##配置
#---------------------------------
#配置/resin-admin
cd cd /usr/local/resion/conf/
vim resin.properties
web_admin_external : true #开启远程访问
/etc/init.d/resin restart
http://172.16.11.25:8080/resin-admin #访问,创建用户admin@admin
cp admin-users.xml.generated admin-users.xml
#---------------------------------
#部署web测试
mkdir /usr/local/resin/webapps/api
vim /usr/local/resin/webapps/api/index.jsp
<%@ page language="java" %>
<html>
<head><title>ResinA</title></head>
<body>
<h1><font color="red">ResinA </font></h1>
<table align="centre" border="">
<tr>
<td>Session ID</td>
<% session.setAttribute("abc","abc"); %>
<td><%= session.getId() %></td>
</tr>
<tr>
<td>Created on</td>
<td><%= session.getCreationTime() %></td>
</tr>
</table>
</body>
</html>
# 修改配置
vim /usr/local/resin/conf/resin.xml
<web-app id="/" root-directory="webapps/ROOT"/>
<web-app id="/api" root-directory="webapps/api"/> #增加行
#地址绝对路径/usr/local/resin/webapps/api
http://172.16.11.25:8080/api/ #访问web
#基于端口、目录、域名的部署
vim /usr/local/resin/conf/resin.xml
#倒数第二行添加如下
<!-- 测试 -->
<cluster id="app2">
<server-multi id-prefix="app2" address-list="${app2_servers}" port=""/>
<host id="a.com" root-directory=".">
<host-alias>www.a.com</host-alias>
<web-app id="/" root-directory="/it/web/a.com"/>
</host>
</cluster>
vim /usr/local/resin/conf/resin.properties
app2_servers : 127.0.0.1:
app2.http :
service resin restart
netstat -atnlp |grep java
http://a.com:8082 #访问web
#--------------------------------- netstat -antp|grep tail -f t/usr/local/resin/log/access.log
Resin4安装配置的更多相关文章
- resin4.0.25 安装配置 及结合eclipse开发
resin4.0.25 安装配置 及结合eclipse开发 本文大部分内容是对官网的翻译,及自己配置后的一些体会. 一. 基于win ,resin基本安装1,安装jdk1.6或更高版本2,配置环境 ...
- Linux Resin4.0 安装配置
Resin,是一个非常流行的application server,对servlet和JSP提供了良好的支持,性能优良,resin自身采用Java语言开发.Resin Pro版本支持缓存和负载均衡,收费 ...
- 阿里云服务器Linux CentOS安装配置(六)resin多端口配置、安装、部署
阿里云服务器Linux CentOS安装配置(六)resin多端口配置.安装.部署 1.下载resin包 http://125.39.66.162/files/2183000003E08525/cau ...
- linux resin 安装 配置 相关
resin跟tomcat一样,也是解析jsp网站的,也需要JDK的支持,所以第一步也是安装JDK,安装JDK的方法参考Tomcat中的安装JDK部分.下面介绍安装resin.resin官网http:/ ...
- centos tomcat/resin安装配置 卸载系统自带的java tomcat安装配置 安装JDK resin安装配置 第二十八节课
centos tomcat/resin安装配置 卸载系统自带的java tomcat安装配置 安装JDK resin安装配置 第二十八节课 tomcat和java都不需要编译 tom ...
- Hive安装配置指北(含Hive Metastore详解)
个人主页: http://www.linbingdong.com 本文介绍Hive安装配置的整个过程,包括MySQL.Hive及Metastore的安装配置,并分析了Metastore三种配置方式的区 ...
- Hive on Spark安装配置详解(都是坑啊)
个人主页:http://www.linbingdong.com 简书地址:http://www.jianshu.com/p/a7f75b868568 简介 本文主要记录如何安装配置Hive on Sp ...
- ADFS3.0与SharePoint2013安装配置(原创)
现在越来越多的企业使用ADFS作为单点登录,我希望今天的内容能帮助大家了解如何配置ADFS和SharePoint 2013.安装配置SharePoint2013这块就不做具体描述了,今天主要讲一下怎么 ...
- Hadoop的学习--安装配置与使用
安装配置 系统:Ubuntu14.04 java:1.7.0_75 相关资料 官网 下载地址 官网文档 安装 我们需要关闭掉防火墙,命令如下: sudo ufw disable 下载2.6.5的版本, ...
随机推荐
- 利用Python对文件批量重命名
由于要用到对无序的文件进行重命名,以下写了一个脚本,进行批量进行重命名. 基本格式是 i.后缀名 ( i 循环条件下的数 ) 1 #coding:utf8 2 import os; 3 4 def ...
- C++获取Windows7 32位系统中所有进程名(类似于任务管理器中的进程)
代码是网上查找资料,然后自己调试,修改之后可以运行. 系统:win7 32位,VS2008 ------------------------------------------------------ ...
- Marriage is Stable
Marriage is Stable Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) ...
- FATE
FATE Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submissi ...
- font-size:100% 原因
The browser default which is something like 16pt for Firefox, You can check by going into Firefox op ...
- JS-类型转换
类型转换 值 转字符串 数字 布尔值 对象 undefined 'undefined' 0 false throws TypeError null 'null' 0 false throws Type ...
- oracle精简客户端安装配置及常见问题
有关Instant client 安装步骤 1.首先在官网下载两个安装包instant/sqlplus,对相关文件进行解压缩,存放本地路径 官网地址:http://www.oracle.com/tec ...
- .net core 开发短网址平台的思路
最近有个客户要求开发一套短网址网站,小编现在都使用.net core进行网站开发了,以是厘厘思路,想想使用.net core 的中间件应该很容易实现. 1. 构建一个中间件,监测网站的响应状态,代码如 ...
- JavaScript学习笔记(二)——字符串
在学习廖雪峰前辈的JavaScript教程中,遇到了一些需要注意的点,因此作为学习笔记列出来,提醒自己注意! 如果大家有需要,欢迎访问前辈的博客https://www.liaoxuefeng.com/ ...
- 表字符集latin1,client如何查看中文字符
表结构如下: . row *************************** Table: my_data_7e Create Table: CREATE TABLE `my_data_7e` ( ...