Created
September 12, 2013 08:10
-
-
Save snaga/6534305 to your computer and use it in GitHub Desktop.
provision file for postgresql93 with vagrant
This file contains hidden or 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
| # | |
| # provision file for postgresql93 on vagrant | |
| # | |
| sudo rpm -ivh http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-redhat93-9.3-1.noarch.rpm | |
| sudo yum install -y postgresql93 postgresql93-server postgresql93-contrib postgresql93-libs | |
| sudo -u postgres /usr/pgsql-9.3/bin/initdb -D /var/lib/pgsql/9.3/data --no-locale -E utf-8 -k | |
| sudo /sbin/chkconfig postgresql-9.3 on | |
| sudo /sbin/service postgresql-9.3 start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment