It’s a little over a month since Fedora 20 was released, but during a terrible bout of insomnia last night I decided to upgrade my desktop PC.
The upgrades using “fedup” worked fine for the previous releases (Fedora 18, Fedora 19). Unfortunately, it failed abysmally for the upgrade to Fedora 20. I tried a few times, but I was not able to troubleshoot it, so I gave up and did a reinstall.
I’ve got an SSD for the system drive, but keep almost everything of importance on a second drive (and a backup drive). I tend to do most things in VMs, so I ended up doing the following:
- Copy a few config files to the second drive (smb.conf, hosts, fstab etc).
- Clean installation on the SSD, not touching the second drive.
- Put the mount information back into the “/etc/fstab” and mount the second drive.
- Put the “/etc/hosts” file back in place and install dnsmasq.
- Put the “smb.conf” file back in place and start samba.
- Do a “yum update -y” and reboot.
- Install some utilities, like UltraEdit, VirtualBox, DropBox and Chrome etc.
- Open up the existing VMs on the second drive using the newly installed VirtualBox.
That was pretty much it really. I’m, back up and running with a clean OS installation and I guess it took less than an hour from start to finish. I think in future I’ll avoid upgrades. There’s something nice about a sparkly new installation, without any of the old crap left hanging around.
During the installation, I picked MATE as my desktop. I’ve tried the others and this is the one that feels the most natural to me.
I was determined to get on a bus tour of Buenos Aires this morning. The plan was to do this yesterday, then spend this morning revisiting a few parts of the city in a bit more detail. Unfortunately, my inability to follow basic directions scuppered that plan…
So this morning I got myself to the tour bus and rode the loop of the city, taking photos as I went. You will see lots of blurred images and lots of pictures containing parts of the bus, but I don’t care because they are still good memories.
I got back from the tour bus, had a quick shower, then walked to the conference venue to do my last presentation of the ArOUG event. Everything went smoothly and people seemed really happy with it. I got to speak to more of the attendees, which is always fun, and pose for a bunch of photos with people. Everyone in Latin America has such nice skin tones, then there is me looking like casper the friendly ghost next to them. I think I will get a fake tan before I come next time.
After saying goodbyes to a few people, a few of us went out to a local bar to toast the end of another event. Alex would be proud of me, as I drank a pint of the local equivalent on Guinness, while eating chips (fries) with a cocktail stick. What a great idea! No sticky fingers.
I’m now back at the hotel and I leave for Sa0 Paulo, Brazil tomorrow. That’s four out of five events done. It hardly seems real…
Thanks to everyone in Buenos Aires and the ArOUG that looked after me and made me feel welcome during my stay. I hope to see you again soon. Also thanks to the Oracle ACE Program for making this happen.
I arrived in Buenos Aires, Argentina late last night. The ferry ride from Montevideo took about 3 hours.
This morning I got a taxi to the ArOUG conference venue and did my first presentation of the conference. I was originally scheduled to do both my presentations today, then have tomorrow off, but Alex Gorbachev needs to leave earlier tomorrow, so I’ve swapped slots with him and my second presentation is now tomorrow afternoon.
Feeling adventurous, I decided to walk back from the conference venue. The directions seemed pretty straight forward, but I managed to get myself lost. I walked around for quite a while, thinking I must be close to the hotel, but not managing to find it. I eventually decided the only way to get back was to get a taxi. As I walked to find one, I noticed I was standing next to my hotel. Bonus!
The plan was to spend the afternoon on a city tour bus, but unfortunately I got lost on the way to the pickup point and I just walked around for a few hours until I found myself again, standing next to the hotel.
After reading a bunch of security messages from Oracle I felt quite nervous of taking photos and making myself look even more like a tourist, so I didn’t take many photos. If I can get on the bus tour tomorrow, and not get lost again, I will take loads.
In the evening went out to a barbecue-style place to eat. Everyone ate a little bit of salad and fish to start, then guys brought a procession of different meat out on large skewers, more like swords really, then it was a meat-fest for the rest of the night. I’m a vegetarian, so I kept eating the veggie stuff while I watched a herd of assorted animals get devoured. Everyone was very happy and full by the end of it. Even so, Alex still managed to eat some food from a street vendor on during the walk back to the hotel. I have no idea where he puts it all!
Assuming my current WordPress prefix was “wp_” and I wanted to change it to “banana_”, then I would do the following…
Take a backup of your database and file system. Remember, if you screw up and trash your blog you will thank yourself for the extra time you spent doing this!
Amend the “$table_prefix” setting in the “wp-config.php” file.
$table_prefix = 'banana_'; // Only numbers, letters, and underscores please!
Rename all the tables, swapping the “wp_” prefix with “banana_”. For example, the following statement would rename the “wp_comments” table to “banana_comments”.
RENAME TABLE wp_comments TO banana_comments
Perform the following updates.
UPDATE banana_options SET option_name = 'banana_user_roles' WHERE option_name = 'wp_user_roles'
UPDATE banana_usermeta SET meta_key = 'banana_capabilities' WHERE meta_key = 'wp_capabilities'
UPDATE banana_usermeta SET meta_key = 'banana_user_level' WHERE meta_key = 'wp_user_level'
UPDATE banana_usermeta SET meta_key = 'banana_autosave_draft_ids' WHERE meta_key = 'wp_autosave_draft_ids'
If you don’t do these updates, the blog will work, but when you try to access the admin site you will be greeted with a message saying,
You do not have sufficient permissions to access this page.
I did an update of the my Fedora 16 machines this morning and I’ve got GNOME 3 back in full effect, rather than the fallback option. It seems the updated Nouveau Driver was included in the update, so I don’t have to wait for Fedora 17 to get me back on GNOME shell, and I won’t be requiring software rendering of GNOME shell when I do upgrade. Happy days…
VirtualBox 4.1.8 is now available!
As reported here, VirtualBox 4.0.6 has arrived…
I was just scanning through some stuff on MOS when I came across a couple of RHEL6 tidbits.
- Doc ID 1089399.1: “For RHEL6 Oracle will only provide ASMLib software and updates via Unbreakable Linux Network(ULN). Oracle will no longer provide ASMLib packages for Red Hat kernels.”
- Doc ID 1253272.1: “Starting with RHEL6, Oracle will provide OCFS2 software via ULN only. ULN requires an Oracle Linux support subscription, even for those customers using OCFS2 just to store database files.”
The OCFS2 thing doesn’t phase me. I only need a cluster file system for a few shared directories when I’m doing RAC and using OCFS2 and RAC together is a disaster, so I never use OCFS2 these days.
The ASMLib issue is a bit more interesting because it is still the recommended approach in the documentation. A recent thread on the OakTable mailing list about ASMLib resulted in most replies saying to avoid ASMLib completely and use udev instead. I don’t mind ASMLib myself, but I guess this is another nail in the ASMLib coffin. I can’t see me bothering to use ASMLib again now.
Day 2 was full of stuff I can’t speak about again, so I’ll keep this brief. The highlight for me was Wim Coekaerts speaking about Linux and Virtualization. I love listening to Wim speak about technology. It feels like you are chatting with your mate about technology stuff. He’s a real low-temperature guy. There were a few people there who were hearing Wim speak for the first time who are now converts. Perhaps I should start a fanboy club…
I intended to go to bed early, but ended up chatting until after midnight.
The following day (Saturday) was an off day. I had oringinally intended to do some stuff with a couple of the guys, but was so tired I gassed out. I woke up in the morning, got some food and went back to bed. At about 18:00 I ventured out for some food again, then went straight back to bed. Amazingly, I managed to sleep all night as well.
I went to see Kick-Ass last night. I thought it was cool.
One thing that stood out for me was Hit-Girl. She was awesome. Now I’m not suggesting people go and teach their 11 year old daughters how to brutally slay people and come out with lines like, ”OK you c—s, let’s see what you can do”, but it makes a change from the vacuous lead girls in recent years. The likes of Moonlight and The Vampire Diaries seem to suggest a woman’s only role in life is to look pretty and sit around pining over her moodily cool boyfriend. Certainly not the sort of role model I would want for any daughter of mine.
Where is Ellen Ripley when you need her?