zoukankan      html  css  js  c++  java
  • Centos6.8 Jetty 安装配置

    ssh root@IP Password
    ------------------------------------------------------------------------------↑登录

    rz jetty-distribution-9.4.5.v20170502.tar.gz -> /usr/mysoft

    ------------------------------------------------------------------------------↑上传

    tar -xvzf jetty-distribution-9.4.5.v20170502.tar.gz

    mv jetty-distribution-9.4.5.v20170502 /usr/local/jetty/

    ------------------------------------------------------------------------------↑安装


    /sbin/iptables -I INPUT -p tcp ---dport 8080 -j ACCEPT 开放8080

    /etc/rc.d/init.d/iptables save 保存

    /etc/init.d/iptables status 查看

    ------------------------------------------------------------------------------↑开放8080端口
    cd /usr/local/jetty/

    1. java -jar start.jar (当前目录启动)

    2. nohup java -jar start.jar >output 2>&1 & (后台启动)
    [1] 7770 可选择记录备用

    ------------------------------------------------------------------------------↑启动

  • 相关阅读:
    bzoj [POI2015]Myjnie
    bzoj2217 [Poi2011]Lollipop
    Codeforces A Mist of Florescence
    bzoj4380 [POI2015]Myjnie
    bzoj4292 [PA2015]Równanie
    bzoj 3517翻硬币
    模块补充
    python解释器
    __file__、__name__、__dict__方法整理
    软件开发规范
  • 原文地址:https://www.cnblogs.com/wzalex/p/6912500.html
Copyright © 2011-2022 走看看