Edward Branley: March 2008 Archives
I'm working on the infrastructure for the NOLA Bloggers Bazaar project. I fired up windfola, my 4U, 4-processor (750mhz) Compaq Proliant. It had Debian "Etch" on it, but I decided to experiment a bit.
I installed FreeBSD 7.0, and it went very smoothly. Using the "ports collection" with FreeBSD is an interesting and enjoyable way to build a server. While FreeBSD has packages like the popular Linux distributions do, the "ports" are a different principle. Instead of downloading and installing pre-compiled binaries, you go into a tree structure (/usr/ports), choose what you're looking to install, and run a pre-configured Makefile.
This procedure makes old-school *NIX people more comfortable, since you're compiling specifically for the particular machine. I successfully got Apache2 and php5 up and running with no problem. Still, since I already have a FreeBSD server (shadowfax), I opted to go back to Linux for windfola, in the form of Ubuntu.
I downloaded the "server" distribution of Ubuntu 7.10 (Gutsy Gibbon), burned it and booted it up. Unlike the "desktop" CDs, this is not a "live" boot. It kicked directly into a character-based install. After getting started and configuring the hard drives (I essentially used the same partition configuration that was there for FreeBSD, with ext3 file system), the install asked what server packages I wanted to install. One of the choices was LAMP.
Yup, it said LAMP with a box to tick an X next to it.
Linux
Apache
MySQL
Perl/PHP/Python
LAMP
ORA promotion of LAMP has made them a lot of money publishing books in the last few years, and it's pretty much a no-brainer for most Linux/FreeBSD shops that they'll go down this road. My first LAMP configuration was on shadowfax, and that was a drawn-out process. I fetched all the necessary tarballs, made a pot of tea, and did a lot of web surfing while all that stuff compiled. This time, I ticked a check box and all four appeared on the server. VERY nice!
Of course, the package installs are never perfect, so there's tweaking to be done. I'm using advice from a HowtoForge article entitled The Perfect Server - Ubuntu Gutsy Gibbon (Ubuntu 7.10) So far, so good.
I installed FreeBSD 7.0, and it went very smoothly. Using the "ports collection" with FreeBSD is an interesting and enjoyable way to build a server. While FreeBSD has packages like the popular Linux distributions do, the "ports" are a different principle. Instead of downloading and installing pre-compiled binaries, you go into a tree structure (/usr/ports), choose what you're looking to install, and run a pre-configured Makefile.
This procedure makes old-school *NIX people more comfortable, since you're compiling specifically for the particular machine. I successfully got Apache2 and php5 up and running with no problem. Still, since I already have a FreeBSD server (shadowfax), I opted to go back to Linux for windfola, in the form of Ubuntu.
I downloaded the "server" distribution of Ubuntu 7.10 (Gutsy Gibbon), burned it and booted it up. Unlike the "desktop" CDs, this is not a "live" boot. It kicked directly into a character-based install. After getting started and configuring the hard drives (I essentially used the same partition configuration that was there for FreeBSD, with ext3 file system), the install asked what server packages I wanted to install. One of the choices was LAMP.
Yup, it said LAMP with a box to tick an X next to it.
Linux
Apache
MySQL
Perl/PHP/Python
LAMP
ORA promotion of LAMP has made them a lot of money publishing books in the last few years, and it's pretty much a no-brainer for most Linux/FreeBSD shops that they'll go down this road. My first LAMP configuration was on shadowfax, and that was a drawn-out process. I fetched all the necessary tarballs, made a pot of tea, and did a lot of web surfing while all that stuff compiled. This time, I ticked a check box and all four appeared on the server. VERY nice!
Of course, the package installs are never perfect, so there's tweaking to be done. I'm using advice from a HowtoForge article entitled The Perfect Server - Ubuntu Gutsy Gibbon (Ubuntu 7.10) So far, so good.
I'm tempted to play with Ubuntu 8.04 Beta (Hardy Heron). After all, I don't have the tablet functions working on GG at the moment, so I don't think there's anything I'll lose in terms of functionality.
HH installs Firefox 3, though, and that might cause problems with some of my add-ons.
Maybe I'll burn the CD and bring it with me on the next trip.
HH installs Firefox 3, though, and that might cause problems with some of my add-ons.
Maybe I'll burn the CD and bring it with me on the next trip.
and installed Ubuntu on Firefoot anyway, but this is pretty cool:
Of course, if they made SuSe work with the tablet pc's twist screen out of the box, I might even forsake Ubuntu.
HP has agreed to pre-install Novell's Linux distribution on some of its notebook and desktop range in India. However, the computer maker said it currently has no plans to extend that deal to EMEA.
SuSE Linux Enterprise Desktop 10-loaded HP computers will begin shipping to India in the second quarter of this year.
The deal marks HP as the latest big name vendor to provide systems pre-installed with the Linux distribution to the consumer market.
Of course, if they made SuSe work with the tablet pc's twist screen out of the box, I might even forsake Ubuntu.
I go back-and-forth on the whole "browser-based" thing. When I was working in Windows, I was a happy camper in terms of blogging. I used the Semagic client to post to LiveJournal and a freeware program called W.bloggar to post to my Movable Type blogs. Switching to Ubuntu, I gave ScribeFire a try, had some issues with it, and switched to LogJam for LJ and BloGTK+ for the blogs.
The issues I originally encountered with ScribeFire centered around discovery of blogs and categories. At the time, my server was running MT 3.2, and the categories were just not coming up. I lost patience with SF and started in with BloGTK+. That application worked just fine, but only allowed me to select a single catgory per post. If I wanted multiple categories, I would have to go back to the server and edit the post. For LiveJournal, ScribeFire was particularly problematic, because I'm a member of over 100 LJ communities, and post in about 20 of those. My LJ activity is at a level where I really need a LJ-specific client.
When I upgraded MT on shadowfax to 4.1, I wondered if SF would behave any better. I had a brand-new install of Firefox 2.0.12 on this computer (stybba), so now was the best time to give it a shot. I don't know if it was improvements in MT that made the difference or if I messed up something in FireFox, but it's looking good so far.

There are two things I like most about ScribeFire, multiple category selection, and the ability to use different accounts. I post to Linux-Blog.com under my name, but I post to the political and cooking blogs as YatPundit. When I set up both accounts, SF allowed me to select the blogs I want to list, so I picked the ones for each account, making one complete list. With a standalone client, I would have to log out of one account and back in to the other one. The multiple categories is something simple but useful.

ScribeFire also has a split-window feature, so you can put up a page in the top of the browser window and the editor below. I usually slide the editor to fill the window, but the split effect is useful when doing a copy/paste from a source page.

The RTF editor is also a help. I've always been comfortable with using source HTML in a client, but the latest MT presented a challenge with that. If I post in source, I have to use paragraph tags. If I do that, though, the cross-post feature sent extra spaces between paragraphs over to LiveJournal. I'd still have to go back in a LJ client and fix it. By using the RTF editor, everything works smoothly.
ScribeFire is a current plugin up to FireFox 3.04 beta. I recommend it.
The issues I originally encountered with ScribeFire centered around discovery of blogs and categories. At the time, my server was running MT 3.2, and the categories were just not coming up. I lost patience with SF and started in with BloGTK+. That application worked just fine, but only allowed me to select a single catgory per post. If I wanted multiple categories, I would have to go back to the server and edit the post. For LiveJournal, ScribeFire was particularly problematic, because I'm a member of over 100 LJ communities, and post in about 20 of those. My LJ activity is at a level where I really need a LJ-specific client.
When I upgraded MT on shadowfax to 4.1, I wondered if SF would behave any better. I had a brand-new install of Firefox 2.0.12 on this computer (stybba), so now was the best time to give it a shot. I don't know if it was improvements in MT that made the difference or if I messed up something in FireFox, but it's looking good so far.

There are two things I like most about ScribeFire, multiple category selection, and the ability to use different accounts. I post to Linux-Blog.com under my name, but I post to the political and cooking blogs as YatPundit. When I set up both accounts, SF allowed me to select the blogs I want to list, so I picked the ones for each account, making one complete list. With a standalone client, I would have to log out of one account and back in to the other one. The multiple categories is something simple but useful.

ScribeFire also has a split-window feature, so you can put up a page in the top of the browser window and the editor below. I usually slide the editor to fill the window, but the split effect is useful when doing a copy/paste from a source page.

The RTF editor is also a help. I've always been comfortable with using source HTML in a client, but the latest MT presented a challenge with that. If I post in source, I have to use paragraph tags. If I do that, though, the cross-post feature sent extra spaces between paragraphs over to LiveJournal. I'd still have to go back in a LJ client and fix it. By using the RTF editor, everything works smoothly.
ScribeFire is a current plugin up to FireFox 3.04 beta. I recommend it.
Still fooling around with this, but no joy as of now. The install CD booted up, but the default install would not recognize the keyboard, so I didn't get very far. Tried a "safe" mode install next. That got past the keyboard issue. I went through the install wizard and it created the file system, installed the OS (supposedly), and got to the point where it was asking for CD2. My CD2 isn't being seen by the system, so it let me cancel that and just start PC-BSD from there. I let it reboot. The bootloader came up, I chose the PC-BSD partition, but then it went into an auto-boot cycle.
I'll come back to it after I experiment with the 64-bit version of Ubuntu 7.10, to see if the Flash workarounds are sufficient to justify installing that OS on the new tablet.
I'll come back to it after I experiment with the 64-bit version of Ubuntu 7.10, to see if the Flash workarounds are sufficient to justify installing that OS on the new tablet.
In a previous post, I describe my trials and tribulations with the Ubuntu 7.10 distribution (Gutsy Gibbon) and my older tablet PC, Stybba. The consensus of the feedback was to drop back to the 6.06 release (Dapper Drake). Since Gutsy Gibbon had failed so miserably, and the PC-BSD distribution as well, I took the advice and dropped back a bit.
<lj-cut text="lots of geekishness behind the cut">
Dapper Drake booted up smoothly, installed with no problems, and I'm currently making this entry via the Scribefire plugin for Firefox. The 6.06 distribution came bundled with Firefox 1.5, so I immediately upgraded to 2.0.12, using these instructions from the Ubuntu community site.
So far, so good. The performance issues I had with GG are gone; Stybba is responding fine. Things got sluggish last night when I had about seven tabs open, including one for Daily Kos and another for iGoogle. dKos was extremely active because it was election night, so that combined with iGoogle's regular updating slowed things down a bit. I backed off on the content open and things went back to normal.
I've also revisited Scribefire as a blogging environment, but that'll be the subject of a separate entry.
While Stybba functions nicely as a basic PC under DD, I still haven't gotten the tablet functions to work properly yet. Using insight from here and here, I installed wacom-tools and the rest of the suggested packages and reconfigured X11 for the tablet screen and stylus.
When I re-booted the system, my first problem was that I didn't properly close one of the configuration sections in xorg.conf, so the entire desktop blew up. I fixed that from the command line, rebooted, and still no tablet functionality. Here are the mods I made to xorg.conf:
/etc/X11/xorg.conf
Simply pasting this in blew up X11, I'm assuming because the last Section doesn't have an EndSection. I added that from a command-line edit, and things came back fine.
I also added a line to "Startup Programs" on the desktop per the blog:
I assumed that the period at the end of the line was for punctuation and not part of the add, so I didn't put it.
Still, no tablet goodness yet. If anyone's got suggestions, I'd appreciate the input.
<lj-cut text="lots of geekishness behind the cut">
Dapper Drake booted up smoothly, installed with no problems, and I'm currently making this entry via the Scribefire plugin for Firefox. The 6.06 distribution came bundled with Firefox 1.5, so I immediately upgraded to 2.0.12, using these instructions from the Ubuntu community site.
So far, so good. The performance issues I had with GG are gone; Stybba is responding fine. Things got sluggish last night when I had about seven tabs open, including one for Daily Kos and another for iGoogle. dKos was extremely active because it was election night, so that combined with iGoogle's regular updating slowed things down a bit. I backed off on the content open and things went back to normal.
I've also revisited Scribefire as a blogging environment, but that'll be the subject of a separate entry.
While Stybba functions nicely as a basic PC under DD, I still haven't gotten the tablet functions to work properly yet. Using insight from here and here, I installed wacom-tools and the rest of the suggested packages and reconfigured X11 for the tablet screen and stylus.
When I re-booted the system, my first problem was that I didn't properly close one of the configuration sections in xorg.conf, so the entire desktop blew up. I fixed that from the command line, rebooted, and still no tablet functionality. Here are the mods I made to xorg.conf:
/etc/X11/xorg.conf
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/ttyS4"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/ttyS4"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/ttyS4"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4"
Simply pasting this in blew up X11, I'm assuming because the last Section doesn't have an EndSection. I added that from a command-line edit, and things came back fine.
I also added a line to "Startup Programs" on the desktop per the blog:
8.Now on the top panel click on System> Preferences> Sessions> Startup Programs
Click "Add" to paste the following string /usr/X11R6/bin/./xinput set-button-map stylus 1 3 2 4.
I assumed that the period at the end of the line was for punctuation and not part of the add, so I didn't put it.
Still, no tablet goodness yet. If anyone's got suggestions, I'd appreciate the input.
