Upgrading from FC6 to Fedora 7

|

#!/bin/bash

# a script to illustrate the steps required to upgrade using yum.

# Note that this is FC6 to F7.

# this should require a locally mounted repository for extra speed.

yum clean all

yum update

/usr/bin/pg_dumpall -U postgres >/storage/postgresql/all_data.backup

rm -rf /var/lib/pgsql/*

chown -R postgres.postres /var/lib/pgsql

#(/storage/linux... is my local repository)

rpm -Uvh /storage/linux/fedora/core/7/i386/mount/Fedora/fedora-release-*

#

# There's a missing dependency: libgcj.so.8rh

#

yum remove libglade-java libvte-java libgnome-java glib-java kdemultimedia

yum upgrade

#yum install libglade-java libvte-java libgnome-java glib-java kdemultimedia

service postgresql initdb

/etc/init.d/postgresql start

su - postgres

psql -f /storage/postgresql/all_data.backup

# you may need to check the ident config in pg_hba.conf, and that it's

# set to trust, not ident. Also there may be more than one file!

About Me

Contact

  • Unsolicited Bulk Email (spam), commercial solicitations, SEO related items, link exchange requests, and abuse are not welcome here and will result in complaints to your ISP.
  • Any email to the above address may be made public at the sole discretion of the recipient.

Other Stuff

  • Powered by Linux
  • (RedHat Linux)

Categories

Monthly Archives

About this Entry

This page contains a single entry by dave published on August 5, 2007 2:01 PM.

links for 2007-08-03 was the previous entry in this blog.

links for 2007-08-06 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.