[ale] Upgrading Slackware

Transam bob at verysecurelinux.com
Wed Mar 26 16:08:32 EST 2003


> A long time ago, (26.03.03), in a galaxy far, far away, Will wrote:

> :=
> :=Ok, I'm currently running Slackware 7.1 with a 2.4.14 kernel on it. I
> :=have Apache, MySQL, Qmail installed and over 100 users on this box
> :=(Mostly client FTP sites).
> :=
> :=Does anyone know of a safe, sane method to upgrading to Slackware 9.0
> :=with out loosing all my custom scripts and installs?

This is generic.  I use it for SW & RH a lot.  I don't trust vendor
upgrades (including rpm) because it is common for them to trash
configuration files.

1. Back up all important data to media that cannot be trashed by the
   system.  I.e., tape or another system's disk.  Set tape Read/Only and
   label.

	/home
	/root
        /etc
	/usr/local
	/var/spool/mail
	/var/spool/cron

2. Backup dirs that commonly have config info and custom stuff to a tar file:
        /etc
	/usr/local
	/var/spool/cron

3. Do a complete install to empty partitions.

4. Merge config files as needed under /etc:

        passwd, group, shadow, gshadow, hosts, hosts.allow, hosts.deny
	aliases (or mail/aliases)
	sendmail.cf (or mail/sendmail.cf)
	sendmail.mc (or mail/sendmail.mc)
	mail/
	config files for servers (samba, dhcp, apache)

Bob Toxen
bob at verysecurelinux.com               [Please use for email to me]
http://www.verysecurelinux.com        [Network&Linux/Unix security consulting]
http://www.realworldlinuxsecurity.com [My book:"Real World Linux Security 2/e"]
Quality Linux & UNIX security and SysAdmin & software consulting since 1990.

"Microsoft: Unsafe at any clock speed!"
   -- Bob Toxen 10/03/2002
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list