zoukankan      html  css  js  c++  java
  • Tomcat清理无用应用防止漏洞

    mv /home/soft/apache-tomcat-7.0.92/webapps/host-manager /home/renguoqiang
    mv /home/soft/apache-tomcat-7.0.92/webapps/manager /home/renguoqiang
    
    rm -rf /home/soft/apache-tomcat-7.0.92/webapps/host-manager
    rm -rf /home/soft/apache-tomcat-7.0.92_1/webapps/host-manager
    rm -rf /home/soft/apache-tomcat-7.0.92_2/webapps/host-manager
    
    rm -rf /home/soft/apache-tomcat-7.0.92/webapps/manager
    rm -rf /home/soft/apache-tomcat-7.0.92_1/webapps/manager
    rm -rf /home/soft/apache-tomcat-7.0.92_2/webapps/manager
    
    ll /home/renguoqiang
    
    ll /home/soft/apache-tomcat-7.0.92/webapps
    ll /home/soft/apache-tomcat-7.0.92_1/webapps
    ll /home/soft/apache-tomcat-7.0.92_2/webapps

    mv /home/soft/apache-tomcat-7.0.92/webapps/host-manager /home/renguoqiangmv /home/soft/apache-tomcat-7.0.92/webapps/manager /home/renguoqiang
    rm -rf /home/soft/apache-tomcat-7.0.92/webapps/host-managerrm -rf /home/soft/apache-tomcat-7.0.92_1/webapps/host-managerrm -rf /home/soft/apache-tomcat-7.0.92_2/webapps/host-manager
    rm -rf /home/soft/apache-tomcat-7.0.92/webapps/managerrm -rf /home/soft/apache-tomcat-7.0.92_1/webapps/managerrm -rf /home/soft/apache-tomcat-7.0.92_2/webapps/manager
    ll /home/renguoqiang
    ll /home/soft/apache-tomcat-7.0.92/webappsll /home/soft/apache-tomcat-7.0.92_1/webappsll /home/soft/apache-tomcat-7.0.92_2/webapps

  • 相关阅读:
    Linux内核TSS的使用
    DPL, CPL及RPL之间的关系
    Linux内存管理(深入理解Linux内核)
    Windows下安装PIL进行图像处理
    内存Zone中的pageset成员分析
    导出符号的意义
    GDI及Windows的消息机制
    kmalloc vs vmalloc
    Linux Kernel Development有关内存管理
    STL sort
  • 原文地址:https://www.cnblogs.com/rgqancy/p/10848412.html
Copyright © 2011-2022 走看看