zoukankan      html  css  js  c++  java
  • install resin4.0.29 for linux

    1.下载resin,resin普通版本和pro版本主要区别是pro支持缓存和负载均衡。pro因为有强大的cache功能,独立作为web服务器处理静态页面性能都可以和apache有一比。但普通版本独立作为web服务器性能就要差一些。当然可以使用apache+resin的方案借助apache的缓存功能提高性能。 但负载均衡就是普通版不能比的了。

     1.tar -vzxf resin-4.0.x.tar.gz

    2.

    
    

    ./configure --prefix='pwd' \
      --prefix=/opt/resin-4.0.23 \
      --with-java-home=/usr/jdk1.6.0_29 \
      --with-resin-root=/opt/resin-4.0.23 \
      --with-resin-log=/opt/resin-4.0.23/log \
      --with-resin-conf=/opt/resin-4.0.23/conf \
      --enable-64bit               #需要在resin.xml中加入<jvm-arg>-d64</jvm-arg>

    make
    
    make install
    

    3.创建后台账户

      <resin:set var="resin_admin_external" value="false"/>的value改为true

      http://localhost:8080/resin-admin/ 填入你的账号

      将conf下的admin-users.xml.generated文件重命名为admin-users.xml  重启

    启用SSL

    ./configure --prefix=/usr/yofogo/server/resin-pro-4.0.48 --with-java-home=/usr/yofogo/java --with-resin-root=/usr/yofogo/server/resin-pro-4.0.48 --with-resin-log=/usr/yofogo/server/resin-pro-4.0.48/log --with-resin-conf=/usr/yofogo/server/resin-pro-4.0.48/conf --enable-ssl --with-openssl=/usr --enable-64bit
    
    Resin Configuration Summary:
    
      RESIN       : 4.0.48
        home      : /usr/yofogo/server/resin-pro-4.0.48
        root      : /usr/yofogo/server/resin-pro-4.0.48
        conf      : /usr/yofogo/server/resin-pro-4.0.48/conf
        log       : /usr/yofogo/server/resin-pro-4.0.48/log
        plugins   : common resin_os resin resinssl
        init      : /etc/init.d/resin
    
      JAVA_HOME   : /usr/yofogo/java
    
      JNI         : 64-bit
        include       : -I/usr/yofogo/java/include -I/usr/yofogo/java/include/linux
        CFLAGS        : 
        cflags_shlib  : -fpic
        ld_shlib      : gcc
        ldflags_shlib : -shared -fPIC -m64
        libs_shlib    : 
        epoll() for keepalives
    
      OPENSSL     : OpenSSL 1.0.1e-fips 11 Feb 2013
        include   : /usr/include
        lib       : /usr/lib
        libraries :  -lssl -lcrypto

    参考:

    http://caucho.com/resin-4.0/admin/starting-resin-install.xtp#InstallingResinonUnixorMacOSX

    http://www.caucho.com/resin-4.0/admin/starting-resin.xtp#quickstart

    http://www.caucho.com/resin-4.0/admin/starting-resin-command-line.xtp

  • 相关阅读:
    初学flask
    第一次使用pyqt5解决的几个小问题
    一些细节
    关于random
    go语言 方法
    go 语言 struct 另类构造函数 继承
    go 语言 链表 的增删改查
    go 语言 链表
    go 语言struct
    无题
  • 原文地址:https://www.cnblogs.com/wen12128/p/2644410.html
Copyright © 2011-2022 走看看