清理CouchDB并重新启动 [英] Clean couchdb and restart
问题描述
请执行什么命令清除 CouchDB
的命令是什么?如果我想禁用
并重新启动
我的CouchDB,命令是什么?
What is command to clean CouchDB
please ? And if I want to disable
and re-start
my CouchDB what is command?
谢谢
推荐答案
CouchDB可以从以下位置启动/停止/重新启动 /etc/init.d/couchdb
或 /etc/rc.d/couchdb
启动脚本。
CouchDB can be started/stopped/restarted from the /etc/init.d/couchdb
or /etc/rc.d/couchdb
startup script.
(此启动脚本文件可能位于系统的其他位置。)
(This startup script file might be located somewhere else on your system.)
您将执行以下操作:
- 要停止:
/etc/init.d/couchdb stop
- 要重新启动:
/etc/init.d/couchdb重新启动
- To stop:
/etc/init.d/couchdb stop
- To restart:
/etc/init.d/couchdb restart
就清洁而言,我认为您的意思是压实。这最容易通过Futon完成,默认情况下位于此处: http:// localhost:5984 / _utils
As far as cleaning goes, I think you mean compaction. This is easiest to do via Futon, which is located here by default: http://localhost:5984/_utils
以管理员身份登录到Futon,导航到您的数据库,然后会有链接来压缩数据库。
Login to Futon as an admin, navigate to your database, and there will be links to compact the database.
这篇关于清理CouchDB并重新启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!