Changes

From SME Server
Jump to navigationJump to search
add unsinstall
Line 106: Line 106:  
  su postgres
 
  su postgres
 
  psql
 
  psql
 +
 +
 +
== Uninstall ==
 +
To remove the scl postgresql92 environment"
 +
/etc/rc.d/init.d/postgresql92-postgresql stop
 +
yum remove postgresql92*
 +
config delete postgresql92-postgresql
 +
rm -f /etc/profile.d/enablepostgresql92.sh
 +
rm -f /etc/rc7.d/S64postgresql92-postgresql
 +
All data will still be present in /home/e-smith/files/pgsql/data and can be transferred to another machine, archived or deleted manually. When re-used with another instance of scl-postgresql92, the step regarding initdb can be ommited for the data structure and data is already available.
     

Navigation menu