Finally found some time on the weekend and got one of the systems at home upgraded to Fedora 18. And it happened to be a long overdue upgrade considering the previous version was Fedora 12.
I was expecting a simple upgrade and it was that. Quick, simple and relatively easy.
But there were a few bits of customization I had to do. I'm using the rest of this post to document the things I discovered and did
I was expecting a simple upgrade and it was that. Quick, simple and relatively easy.
But there were a few bits of customization I had to do. I'm using the rest of this post to document the things I discovered and did
- Quite obviously all the games I had installed on this had to be re-installed. And I had to copy across a number of repositories for yum too.
- Adobe repository for flash player
- rpm fusion for all the non-free stuff
- plex repository for plex media server to stream multimedia to my TV
- The installation didn't allow me to choose my hostname and domain so I got stuck with localhost.localdomain. Changing it required me to use the command hostnamectl which made it permanent across reboots. Source: http://docs.fedoraproject.org/en-US/Fedora/18/html/Release_Notes/sect-Release_Notes-Changes_for_Sysadmin.html
- On another system I wanted to run Preupgrade.But FC18 has stopped support. Instead you have to use a tool called fedup. More details here: https://fedoraproject.org/wiki/FedUp. Some useful hints for update also available at https://fedoraproject.org/wiki/Upgrading_Fedora_using_yum
- Plexmediaserver refused to work. Looking over the logs I realized that SE was preventing rsync from writing into the plugins directory. So, I had to add a policy to allow this using a few commands one of which was audit2allow. However this command wasn't installed by default in FC18 and I had to install it using yum install /usr/bin/audit2allow. Source: http://danwalsh.livejournal.com/61710.html
- To get Plexmedia to work finally I had to run the following commands:
- grep rsync /var/log/audit/audit.log | audit2allow -m mypol
- semodule -i mypol.pp
- systemctl stop plex
- cd /var/lib/plexmediaserver/Library/Application Support
- rm -rf Plex\ Media\ Server
- systemctl start plex
- systemctl status plex
- The above command highlights any errors. I saw a lot of failures with rsync and hence started fiddling around with the SE Linux policies.
- I had to repeat the commands about 6 times and it still didn't work
- Finally, I gave up and disabled SELinux. (in /etc/sysconfig/selinux) I'm sure there is another way but I was running out of time and patience.
- Rebooted and plex started up. So its confirmed that SE Linux was preventing rsync.
- Good links on plex adminsitration
- http://wiki.plexapp.com/index.php/PlexNine_PMS_TipsTricks#Linux
- http://wiki.plexapp.com/index.php/PMS
- http://wiki.plexapp.com/index.php/PlexNine_PMS_TipsTricks#Plex_Media_Server_Tips
- With that success I then tried to upgrade another existing FC17 system using Fedora Update, aka fedup, to upgrade the second system to FC18.
- This command line utility is simple too:
- fedup --network 18 --debuglog fedupdebug.log
- This was for a network update, i.e., the latest versions of the packages I had installed were downloaded and then once I rebooted there was an option to Upgrade.
- The only issue I faced was that I kept getting a no host found error when downloading the package perl-ExtUtils-ParseXS-3.16-235.fc18.noarch.rpm.
- Finally I had to copy this off the ISO I had downloaded to use for the fresh install on the first system.
- Once that hurdle was crossed the remaining packages were downloaded and the upgrade was smooth.
- I'm now blogging this using the upgraded FC-18.
- One weird issue I'm facing right now is in the browser (Opera) when writing this blog, after typing about 3-4 characters, the cursor moves to the start of the line, types a j and then starts typing normally for the next 3-4 characters.
- I'm hoping this is some temporary issue and a reboot resolves it.
- If not, I'll update this post with the details.
No comments:
Post a Comment