Archive for category Linux

Goodbye, Movable Type; Hello, WordPress

I’ve been using Movable Type for a few months now. I’ve liked it, but it wasn’t great; it worked well, but I wasn’t blown away. After a while, it moved slow; there was no way to remove a lot of comment spam at once (which I seemed to be particularly prone to), and I had a few bugs, such as having to log in twice each session. Maybe they weren’t all MT’s fault; but I had trouble finding support.

So, when we set up our new Windows Server 2008 machine using a 64-bit edition, I hit a wall: there’s no MySQL support for ActivePerl x64. There isn’t any official support for x86 either; but there are workarounds for that (use external repositories). It also came at a time when I was deciding whether or not I wanted to switch, so it pretty much cinched it up; I decided to try out WordPress. It was a PHP/MySQL system, both of which I had already set up, so I expected (or at least hoped) that it’d be pretty simple to get running.

The first thing I had to do was back up my old MT database. I expected some long, tortourous sequence of MySQL edits or something, but all it came down to was logging in, clicking “Import/Export”, and then export. It spit out a text file, which I saved to my desktop. Next, I unzipped a WordPress download into my blog folder (and set up the requisite site in IIS). I set up a database and a user in MySQL for my blog. I then edited the wp-config-sample.php, filling in the requisite database information and renaming it to wp-config.php, visited the site in my browser, and hit ‘go’. Seconds later, I had a new, live WP blog.

From the admin panel of my blog, I went to tools, hit “import”, selected “Movable Type” from the list, browsed to my file, and uploaded. And that was it. I had totally converted to WordPress in minutes. I was absolutely astounded by the ease. It was already much faster (with the help of WP-Cache), and running well.

Next stop: new design. WP looks like it’ll be much easier to work with, so hopefully we’ll be up soon.

Tags: , ,

Kubuntu 8.10 and Wireless

After using Vista for a while (and after my brief experimentation with Ubuntu 8.04), I decided to go ahead and create another partition for Kubuntu 8.10, with KDE 4.1. I did it with the latest version of Wubi. It installed fast, booted fast, and left me without wireless (as I expected). Problem is, I had moved my office downstairs, leaving the router upstairs; I had to get wireless working somehow.

So, I booted up my laptop and began a search. “Install Ndiswrapper“, was the first bit of advice I got; so, I downloaded this onto a flash drive, plugged it into my new Linux machine (which found the drive and popped it up helpfully), and tried to install it. I followed the instructions left by the developer in the ‘Install’ notes; however, to my dismay, I was unable to due to an error that read “error: too few arguments to function ‘iwe_stream_add_value’ “. Having no clue what it meant, I did a quick Google search, and found out I had to patch the Ndiswrapper with this patch.

I copied the patch file into the directory, then ran

patch -p0 > ndiswrapper_kernel_2.6.27.patch

… and again, I hit a wall; it threw up an error that the patch command is not recognized. So, again, I hit google and found that I needed to now download and run the “Patch” installation file (I already had all the dependencies installed). Now, I ran the patch command, and it worked! I installed Ndiswrapper, then followed the guide here  to get it up and running.

So, this was posted from Firefox in my new linux installation.

Tags: , , , ,

Aggregation

It’s recently occurred to me that it may be a good idea to go ahead and
accumulate both of my blogs, my websites, and those of my colleagues. I
purchased a domain name off of a whim (I found some humor in the domain
name, http://internetvir.us, but not everybody shares my humor, I
guess) and started mocking up a design. And, while I was at it, figured
what the heck, and made it XHTML-strict compliant.

So, sooner or
later, InternetVirus will be running on my Ubuntu box mentioned
earlier. Just gotta figure out the whole nameserver thing, and I should
be good to go.

On the recommendation of a coworker, I’m looking at installing MovableType
for his blogging engine. I might switch as well, haven’t decided yet; I
like the idea of hosting my own engine, though. Blogger’s been good to
me, but it just may be time to switch over. I just need to weigh out
the options and really decide what I want.

Tags:

Ubuntu 8.4 and KDE4

Well, the first thing I should tell you, is that I’m not a Linux guy.
I’ve always been with Microsoft; I develop in asp.net/c# primarily
(although I do venture into PHP often). I prefer the range of tools
with Microsoft, they’re better developed and have that intuitivity (if
that’s a word) that many open-source projects lack.

However, I
do occasionally dabble in Linux. I started with a RedHat 7 dual-boot in
a laptop I had back in 01, and since then I’ve occasionally installed
Ubuntu in dual-boot partitions. However, nothing has impressed me quite
as much as the latest version of Ubuntu, coupled with KDE4.

It’s
great stuff. First off, the interface was great. KDE4 has a lot to say
for itself; it fixes the usability problem. I like to cite the
‘grandpa’ test; if my grandparents can use it, then it’d be ok. And, I
actually think that this might be the ticket; this could be the thing
that brings Linux out of the boxes of computer engineers and into the
hands of the public. I instinctively was able to move about, find
things, install things (how I love the Adept package manager. Windows,
take tips), run things. I was able to set up a media server with my
entire media library without a hitch, following a tutorial. And it
worked exactly how it was supposed to be. This is big for me. I never get Linux to run right.

That
said, if you’re looking to start a media server of your own, check out
Jinzora2. It’s an easy-to-set-up program running PHP and MySQL, and it
will load your music library for you, and even find all the metadata
from cover art to lyrics. Check out the tutorial I followed here and the sequel here
and go for it. So far, my server’s been up about a week without a
hitch. I can finally say ‘Yay Linux’ and embrace the penguin (although
in a fit of irony, I set it up using Putty from my Vista machine.)

Tags: , ,