Gigabyte MH60-RE1 Manual - Page 11
Restore dbGSMv0XX.backup, Ubuntu], CentOS / Red Hat]
View all Gigabyte MH60-RE1 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 11 highlights
4. Download PGDG RPM file [CentOS] curl -O http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-centos93-9.3-1.noarch.rpm [Red Hat] curl -O http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-redhat93-9.3-1.noarch.rpm 5. Install PGDG RPM file [CentOS] rpm -ivh pgdg-centos93-9.3-1.noarch.rpm [Red Hat] rpm -ivh pgdg-redhat93-9.3-1.noarch.rpm 6. Install PostgreSQL yum install postgresql93-server 7. Initialize service postgresql-9.3 initdb 8. Startup chkconfig postgresql-9.3 on 1-5-3 Restore dbGSMv0XX.backup 1. Modify pg_hba.conf file [Ubuntu] vi /etc/postgresql/9.3/main/pg_hba.conf [CentOS / Red Hat] vi /var/lib/pgsql/9.3/data/pg_hba.conf 2. Edit TYPE DATABASE Local all host all host all :wq to save edited file. USER all→postgres all→postgres all→postgres ADDRESS 127.0.0.1/32 ::1/128 METHOD peer→trust indent→trust indent→trust 3. Start service [Ubuntu] service postgresql restart - 11 - Gigabyte Server Management