Archive for the 'Computers' Category

So Bored With Computing… I Built My Own Web Server

Wow! My first post using Wordpress 2.3!

Anyway…

Besides doing the automated install of Wordpress 2.3, my computing life has been pretty boring. I have no new gadgets to keep me busy and no cool programs to toy with. All I’ve been doing with my computer is the normal web surfing, iTunes listening, and working at odd hours (thanks to Parallels running Windows XP on my Mac).

But I have this old computer and my very powerful PC that I built by myself. Well, with the help of my friend. It just sits there, though. Unpowered and unused. Until last weekend…

Or maybe it was two weekends ago…. well, anyway…

I took my desktop Ubuntu build and wiped it clean. I was still on 6.10 since I got my Mac mini in December-ish of last year. Plus, I have 7.04 on my IBM laptop so I hadn’t been using it in a long time. I installed Ubuntu 7.04 Server on it and started to set up a website. But not just a website, Wordpress!

Man, the folks who are behind Ubuntu are great. Canonical has done such a great job with Ubuntu; Linux wouldn’t be what it is today without it. All I had to do to get my webserver up and running was type the following line of code:

sudo apt-get install wordpress

That’s it!

Well, to be honest, there was more to it. I did have to figure out how to configure a few things here and there to get the install working the way I wanted but it wasn’t more than a few lines of code in a text editor. I didn’t even need to actually use the computer in the typical sense. I installed OpenSSH before I started the whole process so I used the terminal app built into OS X to do everything.

So now, if you go to my internal address of 192.168.1.106, you get to see my Wordpress 2.3 blog. Next week, I’m going to try and build a firewall/router out of the other computer using Linux, natch. I’ll create some route statements to direct web traffic to the web server and open it up to the internet.

So, like I said, I’m bored with my computers. Bored enough to build my own web LAMP server and future firewall.

Yawn…

Shiira

I just started using Shiira as a web brower for my Mac and I LOVE it!

It is fast, it looks clean, it passes the Acid2 Test, and it handles tabs much better than Safari does.

If anyone has a Mac and wants the best of Safari and Firefox, I say give Shiira a try!

Leverage

I’ve read a lot of articles lately about companies “leveraging” one option over the other. In a specific context, the RIAA and its partners at SoundExchange, are rumored to be leveraging their fee increases to push DRM on Internet Radio stations. The thought goes that SoundExchange would be OK with reducing the fees considerably if the stations began using some sort of DRM to prevent “stream rippers” from recording high quality feeds. The radio stations wouldn’t go out of business because the fees were reasonable and the RIAA would be content knowing they could control the music the way they see fit and prevent piracy.

I’ll take a brief moment to highlight some flaws with that possibility: Any fee increase hurts the radio stations and extra technology on top of that (at a cost to the stations, no doubt), will be no different than a straight fee increase. Plus, DRM doesn’t solve the “analog hole” where someone reads the analog output of the audio and, with little loss, digitizes it back again in one easy step (or two). Plus, who’s to say that after the DRM is applied the precedent is made for other fee increases. I should also point out that DRM doesn’t work as a crime prevention tool as it is easily broken and will be time and time again. DRM only controls enough to annoy most people but hardly stop the real criminals who download files illegally or, in most cases, use mass produced counterfeit CDs. But back to my thoughts on leverage.

The idea that SoundExchange would impose heavy fees on the radio stations only to (at the 11th hour) suggest that these companies can avoid the fees buy doing a particular action sounds a little fishy. In fact, if someone were to threaten to beat me up only to say I can avoid the smackdown by paying them money, I’d call that extortion. I’d also venture to call that the same kind of quid pro quo that get’s people into sexual harassment situations. The notion of the RIAA saying you owe us a ton of money for promoting our music but saying we’ll reduce the bill if you put restrictions on what your listeners can do with that music is something I would expect of organized crime.

Funny how that sounds?

I’ve heard of this done in other contexts, too, but no matter how you look at it, leverage is another word for extortion.

Lick’n Gelato

I read TechCrunch’s article on Gelato, the open source Tumblelog software. It’s like Twitter, Pounce, and the original: Tumblr. Nick Gonzalez noted that, much like WordPress, Gelato uses a ‘5-minute’ install system and all you have to do is setup a MySQL database and edit a config file to get things working.

I have never installed WordPress or any other LAMP (Linux, Apache, MySQL, PHP) server from scratch and even getting one of those right is a daunting task for me. My host, DreamHost, makes it easy by offering ‘1-Click Installs’ for popular FOSS packages like Joomla, Gallery2, and, yes, WordPress - the content management system that this site runs off of. But today, thinking that Gelato was really easy, I decided to install it myself.

I have to say… so far, its easy. And maybe next time, I’ll install my own WordPress blog.

I created the sub-domain for my Gelato tumblelog. Then I used DreamHosts MySQL management panel to create the database. After that, I uploaded the files to the right location, edited the config.php file to reflect my database information and ran the install. It was that easy.

Once I got my Gelato site started, I was amazed at how advanced it is. Written by a Mexican development group, it offers anyone the ability to host and customize their own quick blog. I use Tumblr for my tumblelog system and Gelato looks exactly like it. While I doesn’t have all the features one might want (yet), development is active and ongoing. Plus, they aim to include support for plugins just like WordPress so its only a matter of time before it catches up with its more mature FOSS cousin or those other hosted services.

I did run into an Internal Server Error (Error 500) when I went to the main site after creating a post. I haven’t figured out why, exactly, it gave me that error but I went into the database and deleted the posts and it went away. So far, I’ve created 3 more test posts so whatever it was hasn’t happened again.

But if you are a WordPress fan like I am and you want a tumblelog, Gelato looks like it will be perfect for you.

The Most Popular Article on So It’s Come To This: Is…

My site isn’t super popular - I only get between 460 and 490 page views a month; my reports from Google Analytics tell me that.  Most of my readers are from North America - about 30 or so a month from Canada and about 170 or so from the United States.  I have about 100 readers from Europe each month and close to 40 readers from Asia and the Australian/New Zealand region.

I don’t write much on the site.  I write when I’m bored or when I have something important to say.  Occasionally, I’ll come up with some genius and write something intellectual.  And once in a while I write a review of something. I think I touch almost all topic, too.  One, in particular, has turned out to be my most popular topic which gives me 70% or more of my traffic:  my Newton’s Law of Porn article.

It should probably come as no surprise.  Porn is a huge business.  Its considered one of the vices that generate the most tax revenue for states.  Other vices include alcohol and tobacco products and you can see how much money they generate - billions to the companies that sell them and millions (possibly billions) to the states; some places like New York City have a state and a city tax that could be 60% of the pack of cigarette’s cost!

Anyway, for some reason, people like my article on PornoTube; it’s the most popular outbound link!  I think I should get some of their ad reveue (if they make any) for referring so many viewers.  Now that I think about it, I should come up with a porn site for people to contribute videos to.  It would be a crowded market, though, I’m sure.

I’m proud of that article - its a law of society that, I think, is almost as the universal truths of physics and chemistry. But I wish I could come up with other articles that got that kind of attention without the easy porn angle to attract visitors.  Don’t get me wrong, I like the visits and I like people reading my article… I just wish I could write some other cool post that got similar views on a topic other than one of the popular vices in the world.