Resources for “A Database-Driven Web Application in 18 Lines of Code”
The Maypole Home Page: maypole.perl.org
The CPAN Search Site: search.cpan.org
The MySQL Home Page: www.mysql.com
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Designing Electronics with Linux | May 22, 2013 |
| Dynamic DNS—an Object Lesson in Problem Solving | May 21, 2013 |
| Using Salt Stack and Vagrant for Drupal Development | May 20, 2013 |
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
- New Products
- Linux Systems Administrator
- Senior Perl Developer
- Technical Support Rep
- UX Designer
- Web & UI Developer (JavaScript & j Query)
- Designing Electronics with Linux
- Dynamic DNS—an Object Lesson in Problem Solving
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Using Salt Stack and Vagrant for Drupal Development
- Nice article, thanks for the
8 hours 46 min ago - I once had a better way I
14 hours 32 min ago - Not only you I too assumed
14 hours 49 min ago - another very interesting
16 hours 42 min ago - Reply to comment | Linux Journal
18 hours 35 min ago - Reply to comment | Linux Journal
1 day 1 hour ago - Reply to comment | Linux Journal
1 day 1 hour ago - Favorite (and easily brute-forced) pw's
1 day 3 hours ago - Have you tried Boxen? It's a
1 day 9 hours ago - seo services in india
1 day 14 hours ago
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Featured Jobs
| Linux Systems Administrator | Houston and Austin, Texas | Host Gator |
| Senior Perl Developer | Austin, Texas | Host Gator |
| Technical Support Rep | Houston and Austin, Texas | Host Gator |
| UX Designer | Austin, Texas | Host Gator |
| Web & UI Developer (JavaScript & j Query) | Austin, Texas | Host Gator |
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?




Comments
Problems installing 'libapreq2-2.04_03-dev
I am trying to install & configure using Mandrake Linux 10.1
I have installed the following apps:
Apache 2.0.50 (Mandrake Linux/7.2.101mdk)
mod_perl 1.99_16
Perl v5.8.5
mod_ssl 2.0.50
OpenSSL 0.9.7d
PHP 4.3.8
When I run the command "perl Makefile.PL", everything works well until the end. The last few lines of the out are as follows:
Checking whether to enable maintainer-specific portions of Makefiles... no
./configure: line 1: apsx command not found
./configure: line 1: apsx command not found
./configure: line 1: apsx command not found
./configure: line 1: apsx command not found
./configure: line 1: apsx command not found
build/version_check.pl failed: no version_string found in ''.
configure: error: Bad apache2 version
Can anyone help??
Ragi
contact
ragi
do you think you can contact me
thanks
Code from the article
I followed the directions in the article but i get a 500 error from apache when executing the http://webserver/Club/
below is the dump from /var/log/httpd/error_log
I googled this error and cant figure out whats wrong.
failed to resolve handler `ClubDB': Can't locate Apache/Request.pm in @INC (@INC contains: /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl . /etc/httpd/ /etc/httpd/lib/perl) at /usr/lib/perl5/site_perl/5.8.5/Apache/MVC.pm line 22.\nCompilation failed in require at (eval 5) line 3.\n\t...propagated at /usr/lib/perl5/5.8.5/base.pm line 85.\nBEGIN failed--compilation aborted at /usr/lib/perl5/5.8.5/ClubDB.pm line 5.\nCompilation failed in require at (eval 4) line 3.\n
Article improvements:
1. do:
install Bundle::Maypole
2. The article totally glosses over setting up mod_perl lib directories. It oddly states to drop the ClubDB.pm into /etc/httpd/lib/perl directory, even though it never talks about how to set it up. So, (assuming redhat, here), make sure your /etc/httpd/conf.d/perl.conf reads something like:
PerlSetEnv Perl5LIB /etc/httpd/lib/perl
...Agree, Author has not p
...Agree,
Author has not provided any significant information about server side settings, also I find it article "agressivly redhat friendly".
Small shell for include testing:
$ cat testinc.pl
print "Content-type: text/plain\n\n";
print join "\n", @INC
If debian user try installing "libapache-mod-perl-doc" for more info about CGI/mod_perl stuff portings.
Hope it helps...
/Admir
RedHat/Fedora Friendly
An editorial decision was made to target one specific distribution (see my reply to another comment at the bottom of the actual article for the reasons behind this). As I have only so much time, I went with what I knew which was Fedora/RedHat. I have installed Maypole on RedHat 9 and Fedora 3 - granted, it takes a while to get everything set-up but, once it is, it works well. The Soccer Club example system will work on Maypole if Maypole is installed correctly. If Maypole has trouble installing, it's really just a matter of keeping at it until it does. There's a load of help on the Maypole mailing-list archive.
As there appears to be no link to the actual source code, here it is (from my own web-site) which should save some people some time.
Hope this helps.
--
Paul Barry
Paul Barry