linux查看resin 信息,Linux安装resin4.0.40

Linux安装resin4.0.40

1

安装jdk,具体目录是/usr/local/jdk1.7.0_45,并设好环境变量

2

解压resin-4.0.40.tar.gz(位于/home/software/下)

cd

/home/software

tar

–zxvf resin-4.0.40.tar.gz

3

拷贝到/opt下

cp

-r resin-4.0.40 /opt

4

进入/opt/resin-4.0.40并执行以下命令来安装

./configure

--prefix=/opt/resin-4.0.40/

--with-jav

a-home=/usr/local/jdk1.7.0_45

--enable-64bit

5

执行make

显示错误提示:

CDPATH="${ZSH_VERSION+.}:"

&& cd . && aclocal -I m4

aclocal:

couldn't open directory `m4': No such file or directory

make:

*** [aclocal.m4] Error 1

解决方案是在/opt/resin-4.0.40目录下建立m4目录:mkdir m4

再次执行make

显示错误提示:

CDPATH="${ZSH_VERSION+.}:"

&& cd . && aclocal -I m4

cd . && automake --foreign

--ignore-deps

configure.ac:1570:

required file `../pro/modules/c/src/Makefile.in' not found

configure.ac:1570:

required file `../pro/modules/c/src/resin/Makefile.in' not found

configure.ac:1570:

required file `../pro/modules/c/src/resinssl/Makefile.in' not found

make:

*** [Makefile.in] Error 1

解决方案是在/opt下建立pro目录:mkdir ../pro

并把/opt/resin-4.0.40下的modules目录拷贝到/opt/pro下:cp –r modules ../pro

第三次执行make,顺利执行

6

执行make install

7

启动resin:./bin/resin.sh start,若看到显示以下信息则表示安装成功:

Resin/4.0.40

launching watchdog at 127.0.0.1:6600

Resin/4.0.40

started -server 'app-0' with watchdog at 127.0.0.1:6600

8

若要在浏览器中进入resin后台,默认的端口号是8080,若要修改此端口号(比如改为8999),需要把/opt/resin-4.0.40/conf/resin.properties中的app.http:8080和web.http:8080分别改为app.http:8999和web.http:8999

改完后先执行./bin/resin.sh stop,再执行./bin/resin.sh start,最后在浏览器中输入

http://{Linux机器的IP}:8999

若看见以下信息则表示成功:

Resin?

Default Home Page

This

is the default page for the Resin web server.

Documentation

is available at .

Administration

is available at .

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值