Tag Archives | Linux

Learn something new every day…

Ed Lawson did a great presentation on CUPS, the Common UNIX Printing System, last night at CentraLUG. Christopher Schmidt did a great job of taking meeting notes when he wasn’t showing us how he programs his cell phone in Python via Bluetooth from his PowerBook. Really. Cool.

The Python SIG also held a session in the hour before the main meeting, and we’ve tentatively agreed on the 3rd Wednesday of the month as the time for the SIG to get together. Location still TBD – we may use the NHTI in Concord, but are also looking at Manchester as a more central location.

Thursday night the Peterborough LUG, also known as MonadLUG, will be holding its first session in a while, coming back from a period of somnolence thanks to their new coordinator, Guy Pardoe. Looking forward to the meeting!

DLSLUG tonight: Hacking the Linksys WRT54G with Sveasoft firmware

I’ll be presenting "Hacking the LinkSys WRT54G with Sveasoft firmware" tonight to the Dartmouth-Lake Sunapee Linux User Group, a reprise of my November presentation to the Central NH Linux User Group, both chapters of the Greater New Hampshire Linux User Group

The presentation was edited with the Taco HTML Editor,
http://www.tacosw.com on the Mac and with
SciTE, http://www.scintilla.org/; on Windows and Linux. Interoperability is Good.

The templates for the document and instructions on their use are from the Simple Standards-based Slide Show System, S5 developed by Eric Meyer and available at http://www.meyerweb.com/eric/tools/s5/ under a Creative Commons license. Thanks, Eric!

HWP: Tiny Guide to OpenOffice.org

Hentzenwerke Publishing ships Tiny Guide to OpenOffice.org. This sounds like a great little book. Looking forward to checking it out. I’ve been using OpenOffice.org for a couple of years now, on Windows, Linux and OS X, and I’m really pleased with it. I just installed the NeoOffice/J version, a native UI version for the Mac, and I’m enjoying it a lot more than the X11 version I had been using.

Via the RSS feed at Hentzenwerke Moving From Windows to Linux

OpenFox.org gets closed

Paul McNett has run OpenFox.org as a Wiki for people wanting to run FoxPro on platforms other than Windows. Unfortunately, according to a note on the home page, Paul has had to take down the site due to spammers. He does, however, point to other links that contain great information on this, including WineHQ and his own web site.

With the recent VFP9 EULA (I still haven’t seen it online), someone asked if that meant that VFP is dead on Linux. Frankly, I’ve always thought of it as more of a parlor trick than a viable platform for development. I mean, if the vendor really doesn’t want to run on the many other operating systems out there, that is their choice, even if they are cutting off their nose to spite their face. The other answer is one that Paul points out in the white paper on his site: you don’t need to run VFP 9 or 8 or even 7 to get most of the benefits of VFP. If you are running (or at least distributing) VFP 6 level applications, the EULA had no noxious requirements about the operating system. As always, you should consult a lawyer about this, but it looks good to me…

Webmin releases version 1.180

A new version released today. Webmin is a great tool for administering a Linux, OS X or Windows (with Cygwin) machine remotely via a web browser. Based in Perl, it includes modules for many of the popular tools on the platforms: Apache, IPTables, Samba, MySQL, PostGreSQL. It’s a very handy way to familiarize yourself with the administrative options available with those tools, and often offers a simpler and easy to use interface than the tool itself does.

Building your Linux apps from source, part 2

When you build apps from source, you get to configure, tune and install them just the way you want. But with great power comes great responsibility, right? Now that you have taken control, you are responsible for maintaining the applications as well. No distribution package manager is going to automatically try to update files you created yourself — you have to do it. For that reason, stick with the package manager’s version when you can. Make sure to sign up for the product’s mailing lists or announcements as well as the general security mailings lists so you’ll know when an update is needed.

Leave adequate time to do the install and configure, especially if it is a complex product or you’re not familiar with all of the steps. I mean, how hard can “./configure;make;make install” be, right? Figure two weeks for your first attempt, and maybe an hour or two after that. Okay, two weeks may be a little high, but it never hurts to score some points by coming in under your estimate, right? Start with a few little and non-critical items and build up your debugging and troubleshooting skills. Keep resources like your local Linux User Group and product’s mailing lists and Google handy.

Configure doesn’t always tell you if it doesn’t recognize the parameters you pass. I spent days trying to add the mysqli module to PHP version 4.3.10 before I finally realized that I could issue a ./configure –help and have it tell me there was no such option. Doh.

Patience, grasshopper.

Building your Linux apps from source

The idea of building applications from source is foreign to Windows and commercial software users, but it is really not as scary as it sounds. Recently, I was called upon to install and configure Apache, MySQl and PHP on a client’s RedHat 9 installation. They were keeping their Redhat 9 machine up to date using the yum legacy program, but the legacy repositories are not always up on the latest editions. After all, volunteers maintain these, too.

As the client’s requirements included a need for transactions, the InnoDb database engine was a good choice. PHP supports a new MySQL interface in PHP 5.0.3 which takes full advantage of the new features in MySQL 4.1.x, so I chose to build Apache, MySQL and PHP from source. A little Googling came across several useful sites, where other developers had posted the commands they used to do this. Two I found especially useful:

  • http://dan.drydog.com/apache2php.html
  • http://hulan.info/blog/item/compile-from-source-apache-2-0-52-with-ssl-php-5-0-2-and-mysql-4-1-6-on-linux

Building from source involves a few steps:

  1. Download the source, typically from the main project web site or a trusted mirror. A good place to store all the files is /usr/local/src.
  2. Unpack the files into their own directories, typically with tar -zxvf for a tar.gz (“tarball”).
  3. Hop into that directory and take a quick read through INSTALL, README, LICENSE and CONFIGURE files to see if there are any gotchas.
  4. Build the script that does the compile (a “makefile”) with ./configure. If you followed the links above, you can see ./configure may have many options. Adding –help after ./configure will list them, and a little research can tell you the ones you want. If you get errors during this step, it’s back to the forums, Google or the instructions to determin if there’s more you need to do.
  5. Now that you’ve created the makefile, you invoke it with the command ‘make.’
  6. Install your application with ‘make install.’

It still sounds like a chore, but the end result is a working application that you have tuned to your system and needs, up to date with the latest source you could obtain, and installed where you want.

Cringely: Stay away from Microsoft anti-malware

Cringely writes in his weekly I, Cringely that Microsoft getting into the anti-malware business is a bad idea, both from their motivations and history:

Microsoft has always hated firms that sell products that enhance their operating systems. They hate sharing revenue with others. Microsoft has to be envious and annoyed by the fact Symantec and others get more recurring revenue from Windows than Microsoft does.

Time will tell.

I don’t think Microsoft will be offering a version for OS X or Linux.

End of the year prognostications

Jon Udell cites 2004 as the Year of the Enterprise Wiki.

Alan Zeichick thinks “The enterprise software acronym of the year must be SOA (service-oriented architecture).”

Mary Jo Foley points out that Friday Is D-Day for NT 4.0 Server. Now really. NT 4.0 is no longer going to be supported by Microsoft. How will we be able to tell? Most businesses are served by consultants who will continue to support it as long as the client pays Since it’s closed software, bugs won’t get fixed, and the platform needs to be abandoned. But which platform do you migrate to? The one from the vendor that just stranded you? MJF points to a Steven J. Vaughan-Nichols that suggests (what else?) Linux is a good alternative.

Whatever comes next, it’s always proven to be a fun business. Hope you’re enjoying it as much as I am.

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.