Log in

No account? Create an account

Previous Entry | Next Entry

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"


( 7 comments — Leave a comment )
Jun. 4th, 2007 05:16 pm (UTC)
Ha! This is where the cron-daemon messages came from! ;-)
Jun. 4th, 2007 05:41 pm (UTC)
If you got a bunch last night, especially around 4:30am, then yes. :)

Jun. 5th, 2007 04:22 am (UTC)
I could never buy into the 'yum' sytnax.


I love the cartoon!
Jun. 5th, 2007 04:24 am (UTC)
yum! yummy yum nummy num! PACKAGES YAY! ;) :) hooboytired.

And xkcd is pretty amazing. :)
Jul. 10th, 2007 04:01 am (UTC)
Very interesting information

Very interesting information! Thanks!


Aug. 3rd, 2007 03:11 am (UTC)
So am I right in a guess that you have Fedora 7 running on a 1and1 dedicated 'root' server?
What do you do for backup?
I'm considering getting one, and found that you can have them update from FC4 to FC6 for you via a re-image (so good if just starting)... but updates after that will have to be done by me, so hope to hear success stories!
Aug. 3rd, 2007 07:15 pm (UTC)
Re: 1and1
I don't really have a safety net for backup when upgrading, but with their "log in via serial" I haven't had too many scares.

My FC7 root server actually started out FC2. It's been a long, strange trip. :)

Good luck! It's not too bad. :)
( 7 comments — Leave a comment )

Latest Month

February 2016


Powered by LiveJournal.com
Designed by chasethestars