概述
前提条件
得现在centos下安装java环境:参考地址
安装
我们先去官网获得下载地址:
我们选择rpm
格式。
在centos命令行下执行命令下载:
wget http://caucho.com/download/rpm-6.5/4.0.43/x86_64/resin-pro-4.0.43-1.x86_64.rpm
安装
# rpm -ivh resin-4.0.43-1.x86_64.rpm
查看运行状态
# service resin status
Resin/4.0.43 status for watchdog at 127.0.0.1:6600
watchdog:
watchdog-pid: 1154
server 'app-0' : ACTIVE
password: missing
watchdog-user: root
user: resin(resin)
root: /var/resin
conf: /etc/resin/resin.xml
pid: 1245
uptime: 0 days 00h26
resin一些目录说明
./usr/local/share/resin resin应用到的库和一些命令
./etc/resin 配置文件,比如resin.xml等配置文件
./var/resin webapps的所在目录
./var/log/resin resin运行日志
设置resin编码为UTF-8
<host-default>
<!-- creates the webapps directory for .war expansion -->
<web-app-deploy path="webapps"
expand-preserve-fileset="WEB-INF/work/**"
multiversion-routing="${webapp_multiversion_routing}"
path-suffix="${elastic_webapp?resin.id:''}"/>
<character-encoding>UTF-8</character-encoding><!-- 设置编码为UTF-8 -->
</host-default>
最后
以上就是温柔蚂蚁为你收集整理的在centos下安装resin的全部内容,希望文章能够帮你解决在centos下安装resin所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复