quasi random (kaolinfire) wrote,
quasi random

Fedora Core 6 to Fedora 7

FC6 to FC7... has it been 6 months already? I'm getting old hat at this, almost. Still a lot of knuckle-biting, of course, but hell--this server started out running Fedora Core 2, I think!

running kernel 2.6.18
directions were followed from http://fedoraproject.org/wiki/YumUpgradeFaq
needed rpms were grabbed from ftp://download.fedora.redhat.com/pub/fedora/linux/releases/7/Fedora/i386/os/Fedora/
wikipedia on fedora: http://en.wikipedia.org/wiki/Fedora_Core
and though I didn't need it this time, how to compile a new fedora kernel on a 1and1.com server: http://faq.1and1.com/dedicated_servers/root_server/fedora_operating_system/3.html

Bits of the system I care about primarily, and what changed about them:

httpd 2.2.4, apr 1.2.7 to 1.2.8, apr-util 1.2.8
php 5.1.6 to 5.2.2
mysql 5.0.27 to 5.0.37

I also care about postgresql and tomcat, but I've got them locked into old versions because I can't handle dealing with all the sites that would break on an upgrade. Yeah, still running postgresql 7.4.

yum clean all
rpm -e gpm w3m vim-enhanced
rpm -e rhnlib up2date
wget ftp://download.fedora.redhat.com/pub/fedora/linux/releases/7/Fedora/i386/os/Fedora/fedora-release-7-3.noarch.rpm
wget ftp://download.fedora.redhat.com/pub/fedora/linux/releases/7/Fedora/i386/os/Fedora/fedora-release-notes-7.0.0-1.noarch.rpm
rpm -Uhv fedora-release*
wget ftp://download.fedora.redhat.com/pub/fedora/linux/releases/7/Fedora/i386/os/Fedora/openssl-0.9.8b-12.fc7.i686.rpm
wget ftp://download.fedora.redhat.com/pub/fedora/linux/releases/7/Fedora/i386/os/Fedora/openssl-devel-0.9.8b-12.fc7.i386.rpm
rpm -i --force openssl-*
yum upgrade

#note -- kernel headers for 2.6.21, should I update kernel???

wget ftp://download.fedora.redhat.com/pub/fedora/linux/releases/7/Fedora/i386/os/Fedora/python-urlgrabber-2.9.9-5.fc7.noarch.rpm
yum install python-urlgrabber*
yum install gpm w3m vim-enhanced
mv /etc/pam.d/su.rpmnew /etc/pam.d/su

yum groupupdate Base

oh boy. recompile adodb php plugin. recompile eaccelerator php plugin. very thankful I knew where source for both was.

restarted apache, all good. restarted postgresql, fine. restarted tomcat... hmm... gave me a scare, but fine. restarted mysql, fine.

REBOOTED. Mon Jun 4 6:17am EDT 2007. Came back up within a minute.

here's a kicker: imap _virtual_ accounts could access their mail, but actual unix accounts couldn't. took a bit to find that. Woof. But I think my system's good now! WHOO!

HAH! Then after testing mailman, redhat switched MTAs on me. I think it might have been the Base groupupdate. Anyway:

[root@new mail]# alternatives --config mta

There are 2 programs which provide 'mta'.

Selection Command
1 /usr/sbin/sendmail.postfix
*+ 2 /usr/sbin/sendmail.sendmail

Enter to keep the current selection[+], or type selection number: 1

service postfix restart

And if you made it this far, go enjoy today's xkcd: "Linux User at Best Buy"

Tags: alethe, fedora, server upgrade

  • feedback loops

    Ah, feedback loops. I was kind of out of sorts, yesterday, and for some reason had a lot of diet coke (to try to feel better, though I "knew" it…

  • What would I say?

    What would I say, if I were here? It's 2014, almost 2015—though on and off this year, I've been sure it was 2015. Something about that number. Next…

  • a list of games....

    A friend recently asked for a list of all the games I have available. And I'd made most of this list up a week ago, for someone else, and figured,…

  • Post a new comment


    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.