GithubHelp home page GithubHelp logo

run couchdb as daemon about build-couchdb HOT 6 CLOSED

jhs avatar jhs commented on June 1, 2024
run couchdb as daemon

from build-couchdb.

Comments (6)

dflourusso avatar dflourusso commented on June 1, 2024 2

Run as daemon: couchdb -b
See status: couchdb -s
Kill bg process: couchdb -d

from build-couchdb.

jhs avatar jhs commented on June 1, 2024

Yes, build-couchdb is just some shortcuts around "make install." After that it is just like normal CouchDB. I believe the wiki has documentation. For most Linux operating systems you simply need to get the init.d script connected. With Ubuntu you can use update-rc.d I believe. Also make sure you have no Ubuntu packages for CouchDB just in case.

from build-couchdb.

mattezell avatar mattezell commented on June 1, 2024

Seems to me that there is more than this and that the documentation is somewhat missing / glossing-over required information to make build-couch work "just like a normal CouchDB". Seems that there are some mixed permissions/ownership issues when using this path that have to be resolved before just getting the "init.d script connected". For example, I have used this project to build - supplying the desired install location ('/opt'). I can kick off /opt/couchdb/bin/couchdb directly without issue (use couch normally). While using the init.d and the update-rc.d does in fact get couch running, it doesn't seem to have correctly binded ip/port and is inaccessible (despite status assuring me to relax)... The inconsistencies in documentation and missed/glossed over steps for setup really do make working with CouchDB somewhat a pain - certainly not relaxing...

Disclaimer: I am not knocking anyone who has worked on any of these project directly - just commenting on the pains associated with setup and resulting from the fragmentation of projects/support/etc. (Additional example: The trunk of CouchDB uses AutoMake - documentation doesn't mention this at all and instead tells you to just enter "./configure" - like that will work on your configure.ac...)

from build-couchdb.

jhs avatar jhs commented on June 1, 2024

Totally agree. Making CouchDB easier, by various metrics, is my goal. There's still a lot of opportunities for improvement.

from build-couchdb.

mattezell avatar mattezell commented on June 1, 2024

In short, I should do as you are doing and pitch in - that or shut my mouth if I don't have anything constructive to add :)

Great job on your project. Even though there is a bit to do outside of what is explicitly covered in the instructions, this is a great project and you guys are doing a hell of a job.

Keep up the good work!

from build-couchdb.

jhs avatar jhs commented on June 1, 2024

I definitely admit that I have a perspective problem. I am a sysadmin. To me, if make install finishes with no errors, the hard work is done. Now it's just an edit here and there, and some nice comfortable shell scripts. (The reason this is out of scope so far for Build CouchDB is that every situation is incredibly different, considering disk allocation, and operating system, and requirements the sysadmin has.)

However, I now see your point that most people want CouchDB, not a bunch of files sitting around that in some sense constitute "CouchDB". There are some people doing that. For example, here is a very simple procedure to get Build CouchDB running as a full service on Amazon EC2 Linux: https://gist.github.com/1171217

from build-couchdb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.