For all the people who have waited patiently, CentOS 6 is here

After a long long time in the making, rumors of abandonment and general discomfort in the community, the CentOS people have finally pulled through and bring you the brand new (though by now several months old) CentOS 6.0.

A lot of system administrators have been waiting for this (me included) so I thought I’d give a heads up 🙂

How much space to put in your root partition?

When installing a Linux computer, this is a question I’ve been asked/asked myself many times, and it shall keep on being asked because things are not static and newer operating systems need more and more room as the basic software collection that you expect to get out of the box gets larger.

And the answer? Well – it depends 🙂 Specifically here I’m going to tackle the issue of desktop installs (i.e. the workstation for a single user), and specifically for Fedora – though it shouldn’t be much different for other operating systems in the same class – such as Ubuntu or SuSE.

(more…)

Using Evolution under KDE – GNOME Keyring issues

Lets face it – Kontact is a nice application but its not really a contender if you want integration with your corporate address book and calendar in your PIM application1 and Evolution is the only solution for the feature set one would expect from a corporate friendly PIM solution.

Evolution works great when running under GNOME, but if you hate GNOME 3 as much as I do2, then you are likely to try to run Evolution under a recent KDE 4. And then problems start mounting – there’s the file dialogs which look completely different and don’t inter-operate with KDE’s virtual file system layer (KIO), but the most annoying problem is saving the passwords for your email, address book and calendar services.

Evolution relies on GNOME’s keyring service to store passwords for remote services, and that service is not running when you start KDE. Without the keyring, Evolution will keep asking you for passwords to all your email services when you start up, and for all your address book services when you try to compose an email. Which wouldn’t have been that bad if not for the fact that before popping up the password dialog, Evolution spends minutes (!!) trying to contact the GNOME keyring service. Only after being frozen for a couple of minutes you get asked for the first password, and if you have more then one service then please wait two more minutes while Evolution tries fruitlessly to contact GNOME keyring again!

The solution is simple – have GNOME keyring launch automatically when you log in to KDE, just like it does for GNOME. There are several ways to do this – for example using KDE’s “startup applications” system or writing custom profile scripts (I’ve tried both), but the more elegant solution I found in fedorahosted.org where someone committed a simple script that generates GNOME keyring startup and shutdown scripts for KDE. I’m guessing this is used in the KDE live CD spins for Fedora.

Anyway, this script can easily adapted to generate GNOME keyring integration scripts for your local KDE installation. Just start Konsole, and paste this into the command line:


cat > $HOME/.kde/env/start-custom.sh <<EOF
#!/bin/sh
eval \`gnome-keyring-daemon\`
export GNOME_KEYRING_PID
export GNOME_KEYRING_SOCKET
EOF
chmod 755 $HOME/.kde/env/start-custom.sh
cat > $HOME/.kde/shutdown/stop-custom.sh <<EOF
#/bin/sh
if [-n "\$GNOME_KEYRING_PID"]; then
kill \$GNOME_KEYRING_PID
fi
EOF
chmod 755 $HOME/.kde/shutdown/stop-custom.sh

Enhanced by Zemanta
  1. also – contrary to popular belief in hacker circles, rich text editing is useful – and Kontact really sucks at that []
  2. if you are a GNOME user and weren’t exposed to GNOME 3 yet, then don’t worry – soon coming to a distro near your, and you’re likely not going to like it []

Running VirtualBox on Ubuntu 11.04 Natty alpha

I’m using the current Ubuntu alpha – 11.04 as my desktop OS on my laptop, and on the same laptop I sometimes need to run VirtualBox to access an MS-Windows environment.

In the current Natty alpha this doesn’t work well. I have VirtualBox 4.0 installed from Oracle’s repository, but it doesn’t manage to compile the kernel module it needs – probably because of the “RC” nature of the current Natty’s kernel (2.6.38-rc4) as of this writing.

I’ve seen many posts on the internet about running Ubuntu 11.04 as a guest in VirtualBox, but couldn’t find anyone talking about my problem, which is the opposite – running VirtualBox on Ubuntu 11.04. So here’s how to get this thing working:

  1. Install VirtualBox 4.0 (from Oracle’s repository)
  2. Install the kernel headers package for Ubuntu: sudo apt-get install linux-headers
  3. Edit the headers’ Makefile to declare the same version as the uname command: run uname -r and note the suffix after the version number, for example mine says “2.6.38-3-generic“, so I am interested in “-3-generic“. Edit the Makefile using sudo gedit /usr/src/linux-headers-<version>-3-generic/Makefile , and the fourth line should say something like “EXTRAVERSION = -rc4“. Change the value (in this case “-rc4“) to what you found out from uname.
  4. add autoconf.h to the linux include directory, because it is missing for some reason:
    cd /usr/src/linux-headers-<version>-3-generic/include/linux
    sudo ln -s ../generated/autoconf.h

Now you can run sudo /etc/init.d/vboxdrv setup and it should complete successfuly and allow you to start VirtualBox.

Enhanced by Zemanta

Easiest Android Rooting In 3 Simple Steps

One of the neatest features of carrying a small Linux computer in your pocket, is that you have a machine to hack everywhere you go 😉

After getting a terminal application installed, you find that most stuff that you want to do require “root access” on your android phone – it appears that on Android they don’t really use “user permissions” but instead each app is its own user id with its own set of permissions (an ingenious way to handle different permissions per application).

To do most interesting things you need to make sure you can get root access. As a normal phone user you aren’t expected to need this so this feature is disabled on phones and to enable access to the root account you need to crack the phone’s security model. (more…)

A New Fedora Release – Worse Than Ever?

[Regarding the title – well, probably not]
I’ve migrated from Ubuntu 10.04 to Fedora 13 on my laptop (because Ubuntu 10.04 was released to the public, so its not interesting to run it anymore 😉 ) and I’ve just finished listening to The Linux Action Show review of Fedora 13 and I wanted to relate to that and to my experience of using Fedora.

The Linux Action Show review is useful, and good, but its not really fair – Chris and Bryan ranted on a lot of things that do not work well for Fedora, such as not a lot of applications pre-installed and some new and immature applications being introduced, Flash being hard to install, codecs missing and obscure instructions on Fedora’s wiki pages on how to address these issues, and more.

The thing is, is that all those comments are fair when looking at an operating system that is geared towards the general public – like Ubuntu – but Bryan and Chris themselves mentioned that Fedora is not aimed at that crowd but is meant for power users and developers (the debate about what is the target audience for Fedora is raging – I think the best description I heard so far, is from Máirín Duffy – heading Fedora’s design team – where in an interview she said “Fedora is aimed at people who want to work on Fedora).

(more…)

Supports Windows Linux

Those funny Chinese are at it again: An acquaintance got a new netbook device from a brandless Chinese manufacturer (the brand label on the device is “Excel”, which is anyone’s guess what its supposed to represent) and the device comes with a bright sticker on the base, in front of the keyboard, with the list of features this devices offers: CPU, memory and support for operating systems:

Yes, this device runs better with all kinds of logo MS-Windows operating systems: you can choose either XP, 7 or Linux 😉

Reblog this post [with Zemanta]

The sorry state of mail user agents

I’ve been moaning on and off about how much e-mail clients, or more specifically – “personal information managers” – simply suck. All of them – there isn’t one client software that is useful in all aspects.

I mean – if you are a simple e-mail user: have one account with which you send a few emails, receive a few e-mails and sometimes forward something to your list of friends – then you have several good options including a few web-mail systems.

If, on the other hand, you are more serious in your communication requirements and you need to:

  • Work with multiple e-mail accounts and manage them separately but with the option of moving stuff between accounts.
  • Connect with MS-Exchange (still most companies in Israel use MS-Exchange for their groupware backend)
  • Work with multiple mailing lists with different policies and different internal filing requirements
  • Keep all your past communications for reference
  • Inter-operate with multiple shared calendaring systems, and specifically with other people’s calendars in a heterogeneous environment (some people do not believe there are e-mail clients other then MS-Outlook)
  • Do all this on multiple computers so that e-mail, address books, calendars and what-not are transparently available on all computers
  • Use Linux as your computing platform of choice.

Then you are basically out of luck. The Linux requirement is not that of a problem really (contrary to what many people keep saying when they nag me about moving to MS-Outlook) as the situation isn’t really better in Windows or Mac except that you can’t get Evolution to work there and theoretically Evolution could provide what I need.

(more…)

Another Mac-styled update for Ubuntu – Window buttons to the left!

As we’ve know for quite a long time now, Ubuntu is aiming to look and behave as much like Mac as possible1 – we’ve already seen the Growl-like on screen notifications (which are rather cool) and here is the next major user interface change:

In Ubuntu 10.04 – due to be released on late April of this year – the window buttons (close, maximize,minimize) will be on the left side of the window! See here for the branding screenshots.

(more…)

  1. within 2 years Mark Shuttleworth said in 2008, so he’s clearly running out of time []

Upgrading CentOS 5 to Fedora 12

Its time to update an old post about updates: Fedora 7 is again rather old, with the current Fedora being at 12, and 13 is right around the corner, but We’re still with CentOS 5 (I hear that RedHat is deep into beta with their next version – 6 but when it comes out is anyone’s guess).

In the mean time, if you want to run something a bit more modern maybe you’d want to upgrade your CentOS installation to Fedora 12 which can be considered pretty stable after a few months on the market. The reasons for the change may be numerous – maybe you need to run the latest subversion (with better merge tracking) or a new version of Ruby. Either way, if upgrading from CentOS 5 to Fedora 7 was a pain, guess how it is more the two years later?

Before we get to the action itself, I would be remiss if I would not recommend you to reconsider what you are about to do – this is a challenging exercise for many system admins and can sometimes end badly. I do not guarantee anything and if it breaks you get to keep both parts. Often its much faster and easier to just go to the server, stick a Fedora 12 DVD in the slot, reboot and let the DVD upgrade your system1. That being said, this is fun if you’re into that sort of thing, so if you’re still with me, lets dive in!

(more…)

  1. another safer options would be to upgrade to Fedora 7 using the instruction in the previous article linked above, and then use Fedora’s preupgrade tool to upgrade to Fedora 8, then to fedora 10, and from there to Fedora 12, though this procedure will also require physical access to the machine and multiple reboots and multiple long downloads []