zoukankan      html  css  js  c++  java
  • Karaf基础知识

    Karaf

    遵循OSGi开发规范的一个Apache框架

    1.命令形如:scope:name
       举例:feature:list

    2 shell:completion  tab键补齐
    GLOBAL      补齐显示所有commands
    SUBSHELL       补齐subshell对应的commands
    FIRST          在subshell补齐对应的commands,在root下补齐所有commands

    3 Karaf shell 提供完全的类Unix环境
       help man alias completion Key-Binding Pipe| grep more find script

    4 采用RBAC进行权限控制

    5 远程链接
       karaf完整嵌入了SSH服务

    6 Configuration配置
    config:list    展示已有的配置
    config:edit   进入编辑模式edit mode,即可以使用其他的config命令(property-append,property-delete,property-set)
    edit命令的所有改动存于console session中,直到你做出config:update(相当于提交修改) 或者config:cancel(撤回修改)
    edit模式   property-list展示当前正在编辑配置的properties 或者是不在edit模式下执行 config:property-set -p PID property value

    (注意append是在property对应值的最后追加,append和set都是有则修改,无则增加) 

    delete可以不在edit模式下进行

  • 相关阅读:
    opencast的docker安装
    编译openwrt_MT7688_hiwooya
    linux中mysql自动同步
    网站服务器迁移
    vtigercrm安装
    ixcache的蜜汁突发故障
    20180628
    pip3 install -r requirements.txt安装超时解决方法
    pytest文档29-allure-pytest
    pytest框架
  • 原文地址:https://www.cnblogs.com/castielangel/p/9915906.html
Copyright © 2011-2022 走看看