Posts Tagged ‘linux’

What’s this site running?

Wednesday, November 25th, 2009

As an intermission (there’s more to come in the SPF series), here’s what’s changed on my server since, oh, about a year and a half ago:

  • The OS is now Ubuntu Karmic Koala (9.10), and all the server’s running software comes from the standard Ubuntu packages, which means that whatever version is in Karmic1, that’s what I’m running here.
  • I’ve switched, definitely, from Apache to nginx. It’s faster, more efficient, and ridiculously easier to configure (to put it in perspective, in terms of ease of configuration, it’s like OpenBSD’s amazing pf to the unholy abomination that is Linux’s iptables.) nginx works perfectly with the two pieces of software I use the most on my server, WordPress and MyBB, even while using a SEO plugin with the latter, which requires some non-trivial redirect rules.
  • As I don’t trust any ISP’s email server to distribute the mail my server sends (mostly confirmation emails from my forums), and since most ISPs and companies these days block mail sent from dynamic IP addresses, I keep a 256 MB Slicehost slice, with a static IP address and, most importantly, reverse DNS, which I use as a smart host for my home server. The slice doesn’t have a lot of power in terms of CPU (and it’s not meant to), but, as bandwidth is much cheaper in the US than in my poor country, the “small” limit the cheapest slice includes is a lot; I use it for serving static files, mostly for my forums (all images and Javascript files are served from there), and I still have bandwidth to spare.
  • I’ve stopped using a Squid proxy in my home network, and nowadays access the web directly… except for when I indulge in one of my newest weird habits: reading webcomics like this one or this one while having lunch or dinner. At such a time, moving instantly from comic to comic is a must… so I simply re-enable Squid (with more aggressive caching than I’d use for normal browsing; after all, existing comics typically aren’t going to change, are they?), do a nice little wget in my server to download and cache the entire comic, and then enjoy reading the whole of it (in as many meals as it takes) as if it was stored locally…
  • A few changes to my email server’s configuration, mostly related to spam filtering… but I’ve been writing about that, haven’t I? And there’s still more to come. :)
  1. with updates, of course — people who are afraid of installing updates (“but… it might break something!”) are nothing more than mewling weaklings who are utterly incompetent as sysadmins; they should never be allowed within a mile of any server. Even one running Windows. []

More updates: Ubuntu, WordPress

Friday, May 2nd, 2008

Just updated this server to Ubuntu 8.04 (why do they always have these odd version numbers?). As always, it was incredibly difficult: I had to type this entire command:

do-release-upgrade

and even remember to press Enter afterwards! This Linux stuff is really too tough for us mere users…

Also, WordPress 2.5.1 on this blog and a couple others. Incidentally, if you’ve just upgraded to 2.5.1 and suddenly your RSS feed is empty, you were probably hit by this bug. That link includes info for fixing it, too (basically, you have to replace two files with newer development versions).

Edgy to Feisty on Slicehost

Thursday, May 17th, 2007

Since I’m in an upgrading mood :) , I’ve just upgraded my Slicehost slice from Ubuntu Edgy (6.10) to Feisty (7.04).

It was incredibly hard: I had to type in two whole commands! Namely,

apt-get install update-manager-core
do-release-upgrade

Gee, this Linux thing is much too complicated and troublesome for us mere mortals. ;)

Linux, fundamentalism and the many distros (part 2)

Monday, November 6th, 2006

(Part 1 got too big, so…)

And now for the “yet another distro? it’s because of this that Linux will never conquer the masses!” part.

Every time a new Linux distribution appears – and, sometimes, even at other times – a lot of people – both Linux users and otherwise – say something like the above. That Linux will never “succeed in the marketplace”, because it’s too fragmented, there are too many choices, there’s not a single standard, and so on.

I believe those people are missing the point. To the “average user” — and I don’t mean the average Solitaire / Minesweeper-addicted Windows user, but the average guy/girl who is curious about trying some new OS — there are 4 Linux distros: Fedora, Ubuntu, Suse and maybe Mandriva. If another distro appears, it’s a specialized thing. If you’re a Linux geek, and the distro’s goals appeal to you, you may try it out. But to suggest that it’s causing “fragmentation” makes no sense. As I said, the newcomer will choose from one of those four distros, period.

Sometimes, the critics use a different approach, which I’ve seen quite recently: “there are so many distros, and these guys think that all other distros suck, and it’s they who will create a good one, for a change? What arrogance!”. This is, I’m sorry to say, more commonly seen here in Portugal, a country that seems to despise achievement and hate achievers. Who is anyone to believe he can do better? Who does that guy think he is, to divert from the majority? To create something on his own?

I think that happens for two reasons: the aforementioned hate of achievement, and also the fact that Portuguese Linux users don’t actually believe in Free Software. Sure, we use it, but most of us are quick to call anyone who cares about the ideology “a fanatic” (fundamentalist, zealot, taliban, etc.). Now, a huge part of Free Software is the right to fork – or the right to build on the work of others. Of standing on the shoulders of giants. If someone picks a piece of free software – or even an entire distro – and believes he can do better – even if just for a small number of people’s needs – he has the right to do so. And he’s not harming anyone – including “the community”. It’s possible that others will actually benefit from his work, that some of it will find its way into other distros.

But people call him a “splitter”. What is this, The Life of Brian? :)

Linux, fundamentalism and the many distros (part 1)

Friday, November 3rd, 2006

This is, in a way, a reply to something that has annoyed me for a long time now, and which, reading other tech blogs such as those in Planeta Asterisco, I see a lot of.

A recent example (though far from the worst) is this post by Carlos Rodrigues, about the news that the FSF will release a 100% Free Software Ubuntu variant. The accusations – both by Carlos and others – are of two kinds: that those guys are fanatics, fundamentalists, talibans, etc., and the even more common “yet another distro? it’s because of this that Linux will never conquer the masses!”

And things like those are said, quite often, by Linux users (though it’s fashionable for them, these days, to say that Linux isn’t ready for the desktop after all, and use Windows or MacOS X instead, and Linux only on servers… but I digress).

Now, about the first… we all care differently about different matters, right? What is important, even a matter of life and death to some, can be irrelevant to many others. Each of us has different priorities. This is normal.

What I don’t find “normal” – or, more precisely, healthy, or right – is when you call anyone who cares even a little more about a subject than you do, a “fanatic”.

Think about it. Do you consider yourself perfect, or something? Do you care about subject A exactly as much as is correct, and anyone who goes a milimeter beyond that is already guilty of taliban-like fundamentalism? Is the maximum allowed “caring” defined by how much you care?

I don’t care about software freedom as much as Richard Stallman and others, but I understand why it’s important to them. I understand where they’re coming from. And I respect them for it. Others, however, call them “fanatics”… simply for caring a little more than they (those others) do.

I don’t care much about how well decorated my place is, but I don’t call my GF “a fanatic” because she cares about it more than I do.

I’ve always thought U2 was a pretty average band, with some good songs, and never understood how so many people almost worship them… but I don’t call those “fanatics”.

I don’t care the least bit about soccer, but I don’t call those who do “fanatics”, unless they’re actually hurting people or damaging property (and even then, they’re more morons than “fanatics”).

I eat meat, but I don’t call vegans “fanatics”.

Is this so hard to understand? Is it so “cool”, or so “mature”, to not care? (sometimes, the P* members seem to be in a “competition” to be the one who cares the least about everything…) Are people so conceited that they believe they care about everything exactly the right amount? That caring a little more than they do is unacceptable?

Hmm, this is already too long… there is now a part 2, about the “so many distros harm Linux” thing. :)

Flash 9 for Linux (beta) is finally available

Thursday, October 19th, 2006

(seen on ruimoura.net)

At last! Until recently, the newest version was Flash 7, which is only a couple of years old. But now you can download the Flash 9 beta, which is working perfectly here (SUSE 10.1)!

Now I can enter TotalWar.com again! :)

EDIT: just switched back to Flash 7. Some pages, such as this one, made the browser hang for several seconds each time I switched to that tab – and that’s in a fast computer. It seems the “beta” label is well deserved. :(


Creative Commons Attribution-NonCommercial-NoDerivs 2.5 Portugal
This work by Pedro Timóteo is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 Portugal.