Line 9: |
Line 9: |
| rom -q --whatrequires perl-CGI-Session perl-DBD-Pg | | rom -q --whatrequires perl-CGI-Session perl-DBD-Pg |
| | | |
− | If that answers no packages need ... you can savely remove these packages | + | If that answers no packages need ... you can safely remove these packages |
| | | |
| yum remove perl-CGI-Session perl-DBD-Pg}} | | yum remove perl-CGI-Session perl-DBD-Pg}} |
| | | |
− | Enable centosplus repository and install postgres (at the time writen this howto is 8.1.9 version) | + | Enable centosplus repository and install postgres (at the time of writing this is version 8.1.9) |
| | | |
| yum --enablerepo=centosplus install postgresql postgresql-contrib postgresql-devel postgresql-docs postgresql-pl postgresql-python postgresql-test | | yum --enablerepo=centosplus install postgresql postgresql-contrib postgresql-devel postgresql-docs postgresql-pl postgresql-python postgresql-test |
Line 21: |
Line 21: |
| /etc/init.d/postgresql start | | /etc/init.d/postgresql start |
| | | |
− | Then make the necesary custom templates: | + | Then make the necessary custom templates: |
| | | |
| mkdir -p /etc/e-smith/templates/var/lib/pgsql/data | | mkdir -p /etc/e-smith/templates/var/lib/pgsql/data |
Line 65: |
Line 65: |
| host all all 0.0.0.0 255.255.255.255 reject | | host all all 0.0.0.0 255.255.255.255 reject |
| | | |
− | Add a plus new white line at the end.
| + | Be sure to add an extra white line at the end. |
| | | |
| Expand template: | | Expand template: |
Line 82: |
Line 82: |
| ln -s /etc/init.d/postgresql /etc/rc.d/rc6.d/K03postgresql | | ln -s /etc/init.d/postgresql /etc/rc.d/rc6.d/K03postgresql |
| | | |
− | To ensure are all ok: | + | To ensure everything is all right: |
| | | |
| signal-event post-upgrade | | signal-event post-upgrade |
Line 93: |
Line 93: |
| psql -U postgres -d template1 | | psql -U postgres -d template1 |
| | | |
− | and enter the password you have set above. If ok, you can enter at postgres console. Then exit: | + | and enter the password you have set above. If all is correct, you should enter the postgres console. Then exit: |
| | | |
| \q | | \q |