iriscouch / build-couchdb

Batteries-included CouchDB build system
227 stars 36 forks source link

remind ubuntu users to enable permission for couchdb to use port 80 #26

Open boxxxie opened 12 years ago

boxxxie commented 12 years ago

by default port 80 is not allowed to be used by applications (at least on ubuntu 11.10 desktop edition, 64bit)

these commands need to be run to enable port 80 useage: replace with the ubuntu user name.

sudo setcap cap_net_bind_service=+ep /home/<user>/build-couchdb/build/lib/erlang/erts-*/bin/beam
sudo setcap cap_net_bind_service=+ep /home/<user>/build-couchdb/build/lib/erlang/erts-*/bin/beam.smp
jhs commented 12 years ago

Thanks, this is a nice one. At least build-couchdb could print a message with some advice, or perhaps it could do it for you.