The inability to upgrade from the DVD is particularly distressing given that I need to maintain machines without high bandwidth connectivity.
A yum ugrade seems to be the only practical option. Too bad there isn't a way to extract files from the intall DVD and set up a mirror of the release repo and do a yum upgrade from that.
yum update yumI install the rpmconf tool, and use it to scan for rpmnew files and such:
yum install rpmconf rpmconf -aIt offers me a menu of choices when it finds a file, I either skip the file if I feel I need to merge any changes, but I sometimes am brave and let it overwrite files that I feel I have never messed with. After this I find all the files I need to address by hand using:
find /etc /var -name "?*.rpm?*"Next I scan for packages that I could consider eliminating, but in fact do not eliminate any. In general these are packages I have installed from rpm by hand, or else old kernels which I don't want to get rid of until the upgrade to F18 is finished:
yum install yum-utils package-cleanup --leaves package-cleanup --orpans
ctrl-alt-F2 init 3Install the new fedora GPG key:
rpm --import https://fedoraproject.org/static/DE7F38BD.txtI always turn off SElinux on my systems, but if you do otherwise, you will need to get it out of your way to do the upgrade.
yum clean all yum erase mod_python yum erase yum-plugin-downloadonly yum --releasever=18 --disableplugin=presto distro-syncI upgraded one of the two systems I did without disabling the presto plugin and had no problems, but who knows if this will work for you. I had two dependency issues that I solved erasing the two packages mentioned above. Apparently mod_python is gone, at least as a package. Not that I care all that much. The yum-plugin-downloadonly package used to be a dependency for yum-cron, so erasing it takes yum-cron with it. I will reinstall yum-cron after the upgrade finishes.
Now I find something to do for several hours. One system (with a fast connection to a local mirror of the Fedora 18 release) took something like 2.5 hours. Another system using a DSL link took about 4.5 hours. Once it finishes, it is recommended to install the latest grub before rebooting.
/sbin/grub2-install /dev/sda rebootAfter this the system comes up running Fedora 18 without a hitch. Note that I don't have raid disks or encrypted filesystems or anything that is much out of the ordinary.
rpm --rebuilddb updatedb yum install yum-cron service yum-cron start chkconfig yum-cron on find /etc /var -name "?*.rpm?*"The last command finds the rpmnew files I need to install or merge
Fedora 18 introduces apache 2.4.3 (we were running apache 2.2 under F17). My httpd.conf file is very old and has now gotten too funky to work with the latest httpd. Time for a housecleaning.
To find out what is going on, the most useful command is:
systemctl restart httpd.service journalctl -xnThe "journalctl" command is a new addition, part of systemd. What I first discovered was that a bunch of modules my old httpd.conf file was trying to include had vanished (or moved). Hacking on my old httpd.conf file was the wrong approach. The thing to do was to take the new httpd.conf.rpmnew file and tailor it to my system.
When all the smoke cleared, my httpd.conf file was down to a third of its original size. A major part of this was due to the introduction of the /etc/httpd/conf.modules.d directory (which I don't need to mess with). Also, I decided to put most of my customization (which creates virtual hosts) into separate files and make the httpd.conf file include them:
Include conf/cholla.conf Include conf/micros.confNote that the distributed httpd.conf file turns all file access off by default (and most other features off as well). I think this is a very good approach. Even after adding my changes to this file, I was getting the Fedora "test page", then I noticed the line:
Require all deniedThis blocks access to all pages until you explicitly open them up.
gem update passenger passenger-install-apache2-moduleDo this and follow instructions and you are there. There was one confusing issue. Before doing this the LoadModule line that was trying to load mod_passenger.so was complaining about a syntax error. This is misleading as there is no syntax error in the LoadModule line at all - the problem is that the module itself is not compatible with the current apache version.
Adventures in Computing / [email protected]