Archive | LAMP

Linux Apache MySQL Python Perl PostgreSQL

MonadLUG notes, 13-Sept-2007, Charlie Farinella on digitizing analog vinyl albums

Ten people attended the September meeting of the Monadnock Area Linux User Group, MonadLUG, one of the LUGs of the Greater New Hampshire Linux User Group, held as usual on the second Thursday of the month at the SAU 1 Administration offices on Hancock Road in Peterborough.

Charlie started off the meeting with a round of introductions, and we welcomed several new members and shared our interests and backgrounds. We covered a bit of news about upcoming events; I mentioned that we try to keep all upcoming meetings on gnhlug.org and plugged upcoming meetings by other LUGs as well as the Manchester Tech North conference, the GBC/ACM meeting with Guy Steele, and the SWaNH infoeXchange conference.

Charlie covered upcoming MonadLUG meetings, a record number of them:

  • October 11,. Ben Scott, DNS
  • November 8, Ted Roche, Cascading Style Sheets
  • December 13, Tim Wessels, Revolution OS
  • January 10, Ray Côté, something tbd
  • February 14, Tim Wessels, SuSE Linux Enterprise 10

On to the main presentation, Charlie talked about his project of digitizing his collection (he estimates 800) of vinyl records. (For those not familiar with Charlie’s background, he spent 30 years as a piano technician, and some of his favorite recordings include pianos that he had tuned.) Charlie was not focused on high-fidelity, high-fiddling recordings; rather, just burning CDs he could listen to in the car, so quick, efficient, simple and good quality was the focus. Charlie talked about how he hooked up a consumer-grade turntable and stereo receiver to the computer’s sound card line in (you need to go through the receiver because phono output needs pre-amplification and the signal has a specific profile). Folks in the audience offered that pre-amps were available as standalone units inexpensively on eBay.

Once the sound arrived at the sound card, it needed to be digitized. Charlie talked about how it worked on his Slackware machine, but he could never figure out how to un-mute the sound inputs in Ubuntu. Several folks offered sympathy and similar stories of getting tangled up in the various sound systems (OSS, ALSA) and not getting incoming sound to work well. This is a topic where a local expert could make a very popular meeting, I expect!

Having failed to get the sound mixers and Audacity to record directly, Charlie used the rec command line (from the sox package) to record instead. Charlie provided a handout (which I hope to post to the LUG wiki here) with the commands he used and some additional notes.

Once the sound was captured as a WAV file, he brought the sound into Audacity and used the filters and trimming facilities to amplify the sound to the full dynamic range, remove (or at least reduce) clicking, get rid of background noise, and split the recording into separate tracks. Charlie would save these separately and burn them all to an audio CD to play on the home or car stereo.

It was great to see someone actually use Audacity and understand what many of the buttons and options are used for. I was inspired to try to digitize some of my old fogey music.

Thanks to Charlie for organizing the meeting and doing the presentation.This is one I would encourage the other LUGs to consider asking Charlie to repeat.

MerriLUG, 20-Sept-2007: OpenOffice.org Styles

Jim Kuzdrall, announcement coordinator for MerriLUG, gets to announce himself as the featured speaker this month at MerriLUG:

  1. Who : Jim Kuzdrall, Intrel Service Company
  2. What : Introduction to OO styles and some handy simplifications
  3. Where: Martha’s Exchange
  4. Day : Thur 20 Sep **Next Week**
  5. Time : 6:00 PM for grub, 7:30 PM for discussion

Overwhelmed by formatting choices in OpenOffice Writer? Continually fiddling with formatting that never comes up quite right for your present document? Help is on the way! A diagrammatic overview of the OO style system is the first step. Why are they needed? Where do they reside? How do they interact? Should the defaults be changed? How do templates come in? What are the “Gotchas”? Next, a different approach to style management deftly cuts the styles and templates down to an easy-to-use few. Once you create your small set of custom styles and templates you will rarely revisit formatting details again. (Yes, the scheme evolved from roff macros.)

Driving directions here.

Seacoast LUG Notes, 10-Sept-2007, Ben Scott on RAID and LVM

Twelve people attended last night’s session of the Seacoast Linux User Group, a chapter of the Greater New Hampshire Linux User Group, held as usual on the second Monday of the month at the UNH Durham campus, Morse Hall room 301.

Ben Scott had presented “RAID and LVM” and he had lots of information, and attendees had lots of questions, comments and war stories. There was plenty of participation, and Ben was still going strong when I had to
excuse myself at 10 PM. Ben had some good tables in HTML and diagrams in SVG to show the concepts, and used the network to log into his home machine and the GNHLUG web server Liberty to demonstrate the command line and GUI tools used to manage and maintain LVM and RAID. Side discussions included disaster recovery, pros and cons to reliability, redundancy and downtime, and the use of SMART interfaces on hard disk
drives. I’m sure everyone learned something. I certainly did.

Thanks to Ben for the presentation and Rob for hosting the meeting.

Seacoast LUG 10-Sept-2007: Ben Scott on RAID and LVM

  • What : RAID and LVM storage management
  • Date : Mon 10 Sep 2007 (TONIGHT)
  • Time : 7 PM to 9 PM
  • Where: Room 301, Morse Hall, UNH, Durham, NH

For the September 2007 SLUG/Seacoast/UNH/Durham meeting, Ben Scott
will be speaking on storage management using RAID and LVM.

=== About the presentation ===

RAID (Redundant Array of Independent Disks) and LVM (Logical Volume
Manager) let you do more with your disks than create partitions and
filesystems. With RAID, you can combine disks to make larger
filesystems, and/or add redundancy to help protect against disk
failure. LVM takes that a step further, by letting you create
arbitrary Logical Volumes (to hold filesystems), which can be easily
reallocated, resized, moved, and copied (snapshots).

Ben will be talking about some of the concepts, review the tools and
techniques available, and (hopefully) doing a live demonstration of
some of the things you can do. The specifics will be flexible, in
response to attendee demand.

=== About the speaker ===

Ben is a local Linux user, enthusiast, and advocate. He handles the
care and feeding of the GNHLUG Internet server, and is a GNHLUG
Bored^W Board Member.

=== About SLUG ===

SLUG is the Seacoast Linux User Group, and is a chapter of GNHLUG,
the Greater NH Linux User Group. Rob Anderson is the SLUG
coordinator. SLUG meets the second Monday of every month, same time,
same place. You can find out more about SLUG and GNHLUG at the
http://slug.gnhlug.org/ and http://www.gnhlug.org/ websites.

Meetings take place starting at 7:00 PM. Meetings are open to all.
The meeting proper ends around 9ish, but it’s not uncommon to find
hangers-on there until 10 or later. They take place in Room 301 (the
third floor conference room), of Morse Hall, at the University of New
Hampshire, in Durham.

Schedules Direct supplies TV/cable schedules for MythTV users

“Schedules Direct is a non-profit organization that provides raw U.S./Canadian tv listing data to Free and Open Source Applications. Those applications then use the data to provide things like PVR functionality, search tools, and private channel grids.” Recently, the Tribune Media Services company Zap2It decided to discontinue their free service that had  provided TV/cable schedules to home hobbiests. Schedules Direct was formed by advocates for the various home-brewed PVRs to step in and supply the content. After negotiations with a number of vendors, they ended up back with TMS as their supplier. In a matter of weeks, the Schedules Direct crew managed to set up the infrastructure to provide a 10-day trial membership, a paid subscription service ($15/3 months initially, with a goal of $20/year or less once they establish the viability of the service) and a working infrastructure. Users of MythTV need to upgrade to the most recent (v 0.20.2 or later) version and change their configuration to use the new service. I switched over the weekend, confirmed I could read the new schedules, and paid up for the first three months. What a great example of the community coming together to supply their own needs.

GNHLUG has had several MythTV meetings, and I anticipate more in the future. Jarod Wilson presented a very popular session at the Merrimack Valley Linux User Group last year, and that lead to an effort by Jarod and maddog and others to run a series of MythTV installfests at NHTI.

DLSLUG Notes, 6-Sept-2007: ATTACK of the Nifties!!!

Bill McGonigle hosted the September meeting the Dartmouth – Lake Sunapee Linux User Group, held as usual on the first Thursday of the month, but at a different location: the Dartmouth Regional Technology Center. Seven members attended.

The night was announced as “Nifties:” short presentations that hope to elicit from the audience just that reaction. Everyone present had something to show off:

I showed the S5 (Simple Standards-Based Slide Show System) developed by Eric Meyer of CSS fame. S5 used standards-compliant CSS, JavaScript and XHTML to generate a slide show with keyboard shortcuts, drop-down slide lists, handout and slideshow formats, additional notes and more. Free as in speech, free as in beer. Nifty!

Bill McGonigle showed off pfSense, following up on a blog entry he had written. pfSense is a spin-off of monowall, the xBSD-based firewall program. Bill talked about how to configure it off a read-only CR, with a small (512 Mb) USB fob holding the configuration file, running diskless on an older computer. The web interface was pretty slick, rich and intuitive, and exposed a huge number of options. Nifty!

Adam showed off some work he had been doing with WebSphere Community Edition (aka Apache Geronimo) and a commercial add-on that provided VT-400 terminal emulation via Java and a browser, to access some legacy machines he needs to maintain. Nifty!

I mentioned that TheOpenCD September 2007 edition was out and available via BitTorrent. We talked about some of the neat software on the disk. PDFCreator seemed most popular, but OpenOffice and WinSCP got good mentions, too. Nifty.

We did NOT mention the OpenEducationCD, a spin-off project, but that got mention at last week’s GNHLUG Board of Director’s meeting.

We talked quite a bit about the OLPC project and I showed off one of the videos available on the RedHat site to great acclaim. Not just “Nifty!” but “I want to work there!!!” There are more videos here, here and here.

Many interesting side discussions, too. Sorry if you missed it; it was a fun night.

Electronic Surplus Services in Manchester, NH

I needed a couple of high-current-carrying lugs and cables for a set of batteries within a UPS (the previous owner had replaced four batteries with two and discarded the excess cabling), and fellow tinkerers on the GNHLUG mailing list suggest I check out the Electronic Surplus Services Store. I hadn’t visited their facilities since it was down in the mill buildings on the river — they’ve moved up to Candia Road now — and they had the parts I needed, as well as lots of cool toys to think about tinkering with.

Jim Louderback: Passing the Torch

I’ve been disappointed for years that “PC” Magazine didn’t recognize that Windows was just one option of what to run on a “PC.” In his farewell column as Editor-in-Chief of PC Magazine, Jim Louderback give Microsoft a kick in the, uh, pants:

“I could go on and on about the lack of drivers, the bizarre wake-up rituals, the strange and nonreproducible system quirks, and more. But I won’t bore you with the details. The upshot is that even after nine months, Vista just ain’t cutting it. I definitely gave Microsoft too much of a free pass on this operating system: I expected it to get the kinks worked out more quickly. Boy, was I fooled! If Microsoft can’t get Vista working, I might just do the unthinkable: I might move to Linux.”

Ubuntu kernel panics after partition re-assignments solved!

Last weekend I upgraded my T40 from the 30 Gb drive it came with to an 80 Gb drive, as I was running out of space and needed to run WinXP under VMWare on my Fedora Core 6 installation. I used partimage to make snapshots of the existing NTFS partition, the WinXP the machine came with, and three ext3 partitions, the FC6 and an Ubuntu boot and root partitions.

I have to grudgingly admit the NTFS was the easiest to move and resize, using nothing but Linux tools. How weird is that? Using Knoppix to capture and rewrite the master boot record, WinXP booted, complained about the size, run CHDSK, fixed itself, and rebooted. Ext3 is a little tougher: it’s a simple but obscure set of commands to drop the journal from the filesystem, turning it into an ext2 system, resizing, and then applying a new journal to the result.

A little fiddling with the grub.conf added the proper menu items, pointing to the new partitions (several had to get renamed to support more partitions, extended partitions, and all that), and Fedora Core 6 came right up. I wasn’t so lucky with Ubuntu.

Ubuntu threw a kernel panic when starting up, and it took a bit of detective work to figure out that the mkinitramfs-tools were the problem. These tools figure out where the swap partition is, and determine if there’s an image there to restore from. The problem was that the old swap partition (/dev/hda4) was now the container holding all of the extended paritions and would throw an error when there was an attempt to read the partition. In the file /etc/mkinitramfs/initramfs.conf or the subsidiary file /etc/mkinitramfs/conf.d/restore.conf, you’ll find a line RESTORE=/dev/xxxx. Change that to the location of your new swap file and presto! You’re back in business!

Powered by WordPress. Designed by Woo Themes

This work by Ted Roche is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States.