Ubuntu: March 2008 Archives

Ubuntu for the Bazaar

| | Comments (0)
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.

Ubuntu 8.04 Beta

| | Comments (0)
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.

Update on Stybba

| | Comments (0)
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

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&gt; Preferences&gt; Sessions&gt; 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.
Since I decided to buy a new computer, I spent the evening working on my other two notebooks. Arod, my Acer C310, is going to my son, and Stybba, my Acer C101, will be a free agent when Firefoot, the new HP Tablet PC, arrives later this week. Since Stybba is no longer "production" but "development," I experimented last night with putting Linux on it.



The last time I put Linux on Stybba was Debian's "Woody" release. Since I had such success with Ubuntu on Arod, I decided to give it a try on the older, smaller, Stybba.

Stybba is a 800mhz, 256mb RAM, 12.1" tablet system running WinXP (Tablet Edition). I still had the 5GB partition I used for Debian as well as a 512MB partition for swap. I downloaded the ISO file for Ubuntu 7.10 (Gutsy Gibbon), burned it to a CD, and fired it up.

The system booted to the initial install screen OK. I chose to do a regular install, and it began to load. At this point, the graphics went south, with the default Gnome desktop becoming fuzzy and unreadable. Thinking that the install procedure might correct itself, I double-clicked the "Install" icon and let the process go forward. No luck, it was a fuzzy mess. By the time I got to the world map to set the timezone, I gave up and power-cycled the system.

I tried the "safe graphics" mode next. No luck, this produced identical results.

Well, doesn't that just suck. OK, this isn't a do-or-die project, so maybe Ubuntu GG just isn't going to cut it on this little guy. I then gave xubuntu a try, again with the 7.10 distribution. xubuntu is a variant of the regular Ubuntu distribution, but designed to install Xfce4 as the desktop. The theory is that Xfce4 is a lighter weight than current Gnome or KDE, so it should work better on older hardware.

xubuntu fired up OK, and the install was crystal clear, if a bit slow. A normal ubuntu install completed, re-booted, and the Gnome login came up. The screen was once again a mess, same symptoms as the regular ubuntu install. The login dialog was visible, though, if not readable, so I logged in anyway. The Gnome login screen vanished and the Xfce4 desktop came up just fine. Response was very sluggish, though. I let it do the security updates, re-booted, then added Thunderbird. The packages installed OK, but performance still dragging.

I fired up Thunderbird from the Apps menu. The program came up and I set up an account. Pulled in 85 messages and the thing just stopped. No mouse movement, no disk access, nothing. Hard reset, tried again, same thing. Third time, I let it sit, hit delete a few times (spam e-mails at the bottom of the list), and went in the back to take a shower. When I came out, the message count had decreased because of the deletions, but it was just ridiculous.

This won't do. I figure it must be GG that's running the system into the dirt, rather than the desktop.

If anyone's got ideas, I'm open for suggestions. I'm going to try FreeBSD for shits and grins anyway, since this is essentially a development box at the moment.


About this Archive

This page is a archive of entries in the Ubuntu category from March 2008.

Ubuntu: February 2008 is the previous archive.

Ubuntu: May 2008 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Ubuntu: March 2008: Monthly Archives

Powered by Movable Type 4.1