zoukankan      html  css  js  c++  java
  • liunx下一些服务小知识

    gearman:
    查看
    ps aux | grep gearman
    结果应该为 1个gearmand 4个 gearman_work 进程

    启动服务
    gearmand -L 10.6.0.6 -p 4730 -u root -l /var/log/gearmand.log -d

    启动gearman_work
    /opt/htdocs/z1mx/moxian_system/mxsdk/run_gearman_server.sh start
    =============================================
    coreseek:

    启动服务
    /opt/local/coreseek/bin/searchd -c /opt/local/coreseek/etc/csft.conf

    重启:/opt/local/coreseek/bin/searchd stop 再执行/opt/local/coreseek/bin/searchd -c /opt/local/coreseek/etc/csft.conf


    重建索引:
    打开/root/shell/info_index.sh
    选择没个第一条去掉末尾_delta运行
    例如:
    /opt/local/coreseek/bin/indexer -c /opt/local/coreseek/etc/csft.conf info_search_delta改为
    /opt/local/coreseek/bin/indexer -c /opt/local/coreseek/etc/csft.conf info_search 运行 这就是重建主索引

    增量索引运行:
    /root/shell/info_index.sh

    我不是一个技术狂人,但是我对技术有一种执着,我喜欢在键盘上噼噼啪啪的敲打,我喜欢项目完成那一刻的感觉。能力有限,如有不足之处,欢迎大家提出意见,一起成长!!!
  • 相关阅读:
    1028 List Sorting (25分)
    CSS通用样式类讲解
    异常处理机制
    修饰符及接口和内部类
    用python实现基础的数据类型
    类属性和实例化属性
    命名空间和作用域
    python super()函数有无参数的调用
    编写html页面常常犯的错误
    多态
  • 原文地址:https://www.cnblogs.com/hayyah/p/3635441.html
Copyright © 2011-2022 走看看