Forked from p1nox/postgresql_configuration_on_ubuntu_for_rails.md
Created
January 29, 2019 19:37
Revisions
-
p1nox revised this gist
Jul 29, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -15,7 +15,7 @@ You could have postgre installed on localhost with password (or without user or ## Configuration 1. Edit postgre configuration file: sudo gedit /etc/postgresql/POSTGRE_VERSION/main/pg_hba.conf -
p1nox revised this gist
Jul 29, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -15,7 +15,7 @@ You could have postgre installed on localhost with password (or without user or ## Configuration 1. Open postgre configuration file: sudo gedit /etc/postgresql/POSTGRE_VERSION/main/pg_hba.conf -
p1nox renamed this gist
Jun 26, 2013 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,21 +1,21 @@ # Abstract You could have postgre installed on localhost with password (or without user or password seted after instalation) but if we are developing we really don't need password, so configuring postgre server without password for all your rails project is usefull. ## Install Postgre packages * postgresql * postgresql-client * libpq-dev ## Install Postgre gem /Gemfile gem 'pg' ## Configuration 1. Open postgre configuration file from the console sudo gedit /etc/postgresql/POSTGRE_VERSION/main/pg_hba.conf @@ -33,7 +33,7 @@ You could have postgres installed on localhost with password (or without user or # IPv6 local connections: host all all ::1/128 trust 3. Restart postgre server sudo /etc/init.d/postgresql restart -
p1nox revised this gist
Jun 26, 2013 . 1 changed file with 12 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -19,9 +19,19 @@ You could have postgres installed on localhost with password (or without user or sudo gedit /etc/postgresql/POSTGRE_VERSION/main/pg_hba.conf 2. Change all configuration access to: # Database administrative login by Unix domain socket local all all trust # TYPE DATABASE USER ADDRESS METHOD # "local" is for Unix domain socket connections only local all all trust # IPv4 local connections: host all all 127.0.0.1/32 trust # IPv6 local connections: host all all ::1/128 trust 3. Restart postgres server -
p1nox revised this gist
Jun 20, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -17,7 +17,7 @@ You could have postgres installed on localhost with password (or without user or 1. Open postgres configuration file from the console sudo gedit /etc/postgresql/POSTGRE_VERSION/main/pg_hba.conf 2. Change all local configuration access to: -
p1nox revised this gist
Feb 17, 2013 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -17,14 +17,14 @@ You could have postgres installed on localhost with password (or without user or 1. Open postgres configuration file from the console gedit /etc/postgresql/POSTGRE_VERSION/main/pg_hba.conf 2. Change all local configuration access to: local all postgres trust 3. Restart postgres server sudo /etc/init.d/postgresql restart 4. Enjoy :) -
p1nox revised this gist
Feb 17, 2013 . 1 changed file with 9 additions and 9 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -16,15 +16,15 @@ You could have postgres installed on localhost with password (or without user or ## Configuration 1. Open postgres configuration file from the console gedit /etc/postgresql/POSTGRE_VERSION/main/pg_hba.conf 2. Change all local configuration access to: local all postgres trust 3. Restart postgres server sudo /etc/init.d/postgresql restart 4. Enjoy :) -
p1nox revised this gist
Feb 17, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -11,7 +11,7 @@ You could have postgres installed on localhost with password (or without user or ## Install Postgres gem /Gemfile gem 'pg' ## Configuration -
p1nox revised this gist
Feb 17, 2013 . 1 changed file with 2 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -9,10 +9,9 @@ You could have postgres installed on localhost with password (or without user or * libpq-dev ## Install Postgres gem /Gemfile ` gem 'pg' ` ## Configuration -
p1nox renamed this gist
Feb 14, 2013 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,12 +1,14 @@ # Abstract You could have postgres installed on localhost with password (or without user or password seted after instalation) but if we are developing we really don't need password, so configuring postgres server without password for all your rails project is usefull. ## Install Postgres packages * postgresql * postgresql-client * libpq-dev ## Install Postgres gem # /Gemfile @@ -26,4 +28,4 @@ ` sudo /etc/init.d/postgresql restart ` 4. Enjoy :) -
p1nox revised this gist
Feb 14, 2013 . 1 changed file with 5 additions and 4 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -8,21 +8,22 @@ ## Install postgresql gem # /Gemfile gem 'pg' ## Configuration 1. Open postgres configuration file from the console ` gedit /etc/postgresql/POSTGRE_VERSION/main/pg_hba.conf ` 2. Change all local configuration access to: ` local all postgres trust ` 3. Restart postgres server ` sudo /etc/init.d/postgresql restart ` 4. Enjoy :) -
p1nox revised this gist
Feb 14, 2013 . 1 changed file with 4 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -7,21 +7,22 @@ * libpq-dev ## Install postgresql gem #/Gemfile gem 'pg' ## Configuration 1. Open postgres configuration file from the console `gedit /etc/postgresql/POSTGRE_VERSION/main/pg_hba.conf` 2. Change all local configuration access to: `local all postgres trust` 3. Restart postgres server `sudo /etc/init.d/postgresql restart` 4. Enjoy :) -
p1nox created this gist
Feb 14, 2013 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,27 @@ # Abstract ## Install Postgres packages * postgresql * postgresql-client * libpq-dev ## Install postgresql gem #/Gemfile gem 'pg' ## Configuration 1. Open postgres configuration file from the console gedit /etc/postgresql/POSTGRE_VERSION/main/pg_hba.conf 2. Change all local configuration access to: local all postgres trust 3. Restart postgres server sudo /etc/init.d/postgresql restart 4. Enjoy :)