zoukankan      html  css  js  c++  java
  • tomcat 服务不支持 chkconfig 以及其他服务不能添加到开机启动时的操作

    在安装完tomcat后想添加的开机自启动的操作,但是报错tomcat 服务不支持 chkconfig,后来在  /etc/init.d/tomcat中的#!/bin/bash后添加上#chkconfig: 2345 80 90,添加之后保存,然后在执行 chmod 755 /etc/init.d/tomcat 然后再  加入到自起动的列表中 chkconfig --add tomcat

    查看自起列表: chkconfig --list|grep tomcat

    tomcat 0:关闭 1:关闭 2:启用 3:启用 4:启用 5:启用 6:关闭

  • 相关阅读:
    二叉树
    bfs
    E-Gold Coins
    D-We Love MOE Girls
    A
    哈希--查找出现过的数字
    二分查找
    KMP简单应用
    KMP算法(2)
    [JSOI2008]最大数
  • 原文地址:https://www.cnblogs.com/itor/p/7093689.html
Copyright © 2011-2022 走看看