Last active
May 4, 2023 10:22
-
-
Save carymrobbins/39b75df64a1201407c80 to your computer and use it in GitHub Desktop.
Revisions
-
carymrobbins revised this gist
Jan 8, 2015 . 1 changed file with 2 additions 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 @@ -2,7 +2,8 @@ Configure Postgres ------------------ * Update **pg_hba.conf** (most likely in **/etc/postgresql/9.4/main**) with - * `host all all 0.0.0.0/0 trust` * Update **postgresql.conf** to use `listen_addresses = '*'` * Be sure to `sudo service postgresql restart` -
carymrobbins revised this gist
Jan 8, 2015 . 1 changed file with 1 addition 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 @@ -2,9 +2,7 @@ Configure Postgres ------------------ * Update **pg_hba.conf** (most likely in **/etc/postgresql/9.4/main**) with `host all all 0.0.0.0/0 trust` * Update **postgresql.conf** to use `listen_addresses = '*'` * Be sure to `sudo service postgresql restart` -
carymrobbins revised this gist
Jan 8, 2015 . 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 @@ -4,7 +4,7 @@ Configure Postgres * Update **pg_hba.conf** (most likely in **/etc/postgresql/9.4/main**) with - * `host all all 0.0.0.0/0 trust` * You can, alternatively, set the IP to something more specific. * Update **postgresql.conf** to use `listen_addresses = '*'` * Be sure to `sudo service postgresql restart` -
carymrobbins revised this gist
Jan 8, 2015 . 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 @@ -2,16 +2,16 @@ Configure Postgres ------------------ * Update **pg_hba.conf** (most likely in **/etc/postgresql/9.4/main**) with - * `host all all 0.0.0.0/0 trust` * (you can, alternatively, set the IP to something more specific) * Update **postgresql.conf** to use `listen_addresses = '*'` * Be sure to `sudo service postgresql restart` Configure Vagrant ----------------- * Add `config.vm.network :forwarded_port, host: 5432, guest: 5432` to the `Vagrant.configure` block in your **Vagrantfile**. Test your connection -------------------- -
carymrobbins revised this gist
Jan 8, 2015 . 1 changed file with 2 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 @@ -3,8 +3,8 @@ Configure Postgres ------------------ * Update `pg_hba.conf` (most likely in `/etc/postgresql/9.4/main`) with - * `host all all 0.0.0.0/0 trust` * (you can, alternatively, set the IP to something more specific) * Update `postgresql.conf` to use `listen_addresses = '*'` * Be sure to `sudo service postgresql restart` -
carymrobbins revised this gist
Jan 8, 2015 . 1 changed file with 2 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 @@ -3,8 +3,8 @@ Configure Postgres ------------------ * Update `pg_hba.conf` (most likely in `/etc/postgresql/9.4/main`) with - * * `host all all 0.0.0.0/0 trust` * * (you can, alternatively, set the IP to something more specific) * Update `postgresql.conf` to use `listen_addresses = '*'` * Be sure to `sudo service postgresql restart` -
carymrobbins revised this gist
Jan 8, 2015 . 1 changed file with 3 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 @@ -2,8 +2,9 @@ Configure Postgres ------------------ * Update `pg_hba.conf` (most likely in `/etc/postgresql/9.4/main`) with - ** `host all all 0.0.0.0/0 trust` ** (you can, alternatively, set the IP to something more specific) * Update `postgresql.conf` to use `listen_addresses = '*'` * Be sure to `sudo service postgresql restart` -
carymrobbins created this gist
Jan 8, 2015 .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,18 @@ Configure Postgres ------------------ * Update `pg_hba.conf` (most likely in `/etc/postgresql/9.4/main`) with `host all all 0.0.0.0/0 trust` (you can, alternatively, set the IP to something more specific) * Update `postgresql.conf` to use `listen_addresses = '*'` * Be sure to `sudo service postgresql restart` Configure Vagrant ----------------- * Add `config.vm.network :forwarded_port, host: 5432, guest: 5432` to the `Vagrant.configure` block in your `Vagrantfile`. Test your connection -------------------- * Attempt to connect from your host using `psql -h localhost -U vagrant`