upd: 1.6.1 for ubuntu 14.04 https://github.com/pixelpark/ppnet/wiki/Install-CouchDB-1.6.1-on-Ubuntu-14.04
UPD: 2 Logrotation: https://www.digitalocean.com/community/tutorials/how-to-manage-log-files-with-logrotate-on-ubuntu-12-10
New way:
http://onabai.wordpress.com/2012/05/10/installing-couchdb-1-2-in-ubuntu-12-04/
https://gist.github.com/jsdavo/3054201
old way(not good at all)
The better way to install couchdb 1.2 on the ubuntu:
https://github.com/iriscouch/build-couchdb
Tunning:
1. Set bind_address to 0.0.0.0 to allow couchdb from outside.
2. Set delayed_commits to false
Example:
/usr/local/var/log/couchdb/*.log {
weekly
rotate 10
copytruncate
delaycompress
compress
notifempty
missingok
}
UPD: 2 Logrotation: https://www.digitalocean.com/community/tutorials/how-to-manage-log-files-with-logrotate-on-ubuntu-12-10
New way:
http://onabai.wordpress.com/2012/05/10/installing-couchdb-1-2-in-ubuntu-12-04/
https://gist.github.com/jsdavo/3054201
old way(not good at all)
The better way to install couchdb 1.2 on the ubuntu:
https://github.com/iriscouch/build-couchdb
Tunning:
1. Set bind_address to 0.0.0.0 to allow couchdb from outside.
2. Set delayed_commits to false
Don't forget to configure logging!
-Setup log rotate:
First off, a lot of people run CouchDB from source which means that in 99% of all installs, the log rotation is not activated.
To fix this (on Ubuntu/Debian), do the following:
sudo ln -s /usr/local/etc/logrotate.d/couchdb /etc/logrotate.d/couchdb- Don't forget to change the path to match your installation.
Example:
/usr/local/var/log/couchdb/*.log {
weekly
rotate 10
copytruncate
delaycompress
compress
notifempty
missingok
}
UPDATE... remembered... it's
Code:
sudo logrotate -f /etc/logrotate.conf
Комментариев нет:
Отправить комментарий