zoukankan      html  css  js  c++  java
  • 第26月第25天 ubuntu openjdk-8-jdk jretty

    1.ubuntu

    ============== 

    sudo apt-get install openjdk-8-jdk

    https://blog.csdn.net/zhaohaiyitian88/article/details/78885745

    =====================

    brew install tomcat

     

    brew search tomcat
    brew install tomcat
    catalina -h #查看帮助
    catalina run #运行服务

    https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

    https://blog.csdn.net/mbugatti/article/details/53781493

    2.

    Add the following to "build.gradle" of your web-app:

    apply plugin: 'war'
    apply from: 'https://raw.github.com/akhikhl/gretty/master/pluginScripts/gretty.plugin'

    That’s all! Now you can start your web-app with the command:

    gradle appRun

    you can also use other Gretty tasks for running and debugging your web-app or configure Gretty to your needs.

    Alternatively, you can download the script from https://raw.github.com/akhikhl/gretty/master/pluginScripts/gretty.plugin to the project folder and include it like this:

    apply from: 'gretty.plugin'

    or feel free inserting to your "build.gradle":

    buildscript {
      repositories {
        jcenter()
        // enable this to use snapshot versions of Gretty:
        // maven { url 'http://oss.jfrog.org/artifactory/oss-snapshot-local' }
      }
    
      dependencies {
        classpath 'org.akhikhl.gretty:gretty:+'
      }
    }
    
    repositories {
      jcenter()
      // enable this to use snapshot versions of Gretty:
      // maven { url 'http://oss.jfrog.org/artifactory/oss-snapshot-local' }
    }
    
    apply plugin: 'org.akhikhl.gretty'

    http://akhikhl.github.io/gretty-doc/Getting-started.html

    3.tomcat8

    ls /var/lib/tomcat8/webapps

    sudo service tomcat8 start

    https://jingyan.baidu.com/article/046a7b3e992ffff9c27fa92c.html

  • 相关阅读:
    Linux下的”锁“事儿
    拿得起,放得下,想得开
    关于TCP协议握手的那些事儿

    C++中的RTTI机制解析
    C/C++中产生随机数
    数据库-事务和锁
    JS 数组Array常用方法
    C# 压缩 SharpZipLib
    正则表达式学习3-负向零宽断言
  • 原文地址:https://www.cnblogs.com/javastart/p/10016769.html
Copyright © 2011-2022 走看看