Created
August 13, 2015 07:47
-
-
Save f-akazawa/9dcd8645dba4c6ecf3fa to your computer and use it in GitHub Desktop.
CouchDB on AWS EC2 ref: http://qiita.com/f-akazawa/items/80202ec152714eca26fb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz | |
tar xzvf js185-1.0.0.tar.gz | |
cd js185-1.0.0/src | |
./configure | |
make | |
sudo make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make | |
sudo make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo useradd -r -d /usr/local/var/lib/couchdb -M -s /bin/bash couchdb | |
sudo chown -R couchdb:couchdb /usr/local/etc/couchdb | |
sudo chown -R couchdb:couchdb /usr/local/var/lib/couchdb | |
sudo chown -R couchdb:couchdb /usr/local/var/log/couchdb | |
sudo chown -R couchdb:couchdb /usr/local/var/run/couchdb | |
sudo chmod 0775 /usr/local/etc/couchdb | |
sudo chmod 0775 /usr/local/var/lib/couchdb | |
sudo chmod 0775 /usr/local/var/log/couchdb | |
sudo chmod 0775 /usr/local/var/run/couchdb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo cp /usr/local/etc/logrotate.d/couchdb /etc/logrotate.d | |
sudo ln -s /usr/local/etc/rc.d/couchdb /etc/init.d/couchdb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment