Created
February 8, 2013 16:54
-
-
Save marcellobenigno/4740314 to your computer and use it in GitHub Desktop.
Iniciar o PostgreSQL quando ele dá pau
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 mkdir -p /usr/local/pgsql/data | |
sudo chown -R postgres:postgres /usr/local/pgsql/ | |
sudo su - posgresql | |
cd /usr/lib/postgresql/8.2/bin/ | |
./initdb -D /usr/local/pgsql/data | |
./postgres -D /usr/local/pgsql/data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment