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

我不是一个技术狂人,但是我对技术有一种执着,我喜欢在键盘上噼噼啪啪的敲打,我喜欢项目完成那一刻的感觉。能力有限,如有不足之处,欢迎大家提出意见,一起成长!!!
原文地址:https://www.cnblogs.com/hayyah/p/3635441.html