# RootPrompt.org   Nothing but Unix.[Home] [Features] [Programming] [Mac OS X] [Search]

SimpleXML processing with PHP
The SimpleXML extension, which is bundled with PHP version 5, enables PHP pages to query, search, modify, and republish XML in a PHP-friendly syntax. It's a useful addition to the PHP programmer's toolkit and can be a reliable and robust means of processing XML from within PHP.

( Permalink: SimpleXML processing with PHP      Submitted by Anonymous Wed Oct 11, 2006 )

High Availability Linux Apache cluster
Nice overview of HA clusters.
"Failover clusters are used to ensure high availability of system services and applications even through crashes, hardware failures, and environmental mishaps. In this article, I'll show you how to implement a rock-solid two-node high availability Apache cluster with the heartbeat application from The High-Availability Linux Project. I tested the cluster on Fedora Core 5, CentOS 4.3, and Ubuntu 6.06.1 LTS server distributions."
Linux.com | Keep your Web site online with a High Availability Linux Apache cluster

( Permalink: High Availability Linux Apache cluster      Submitted by Noel Tue Oct 10, 2006 )

Seven Linux distros fight over one old ThinkPad
How do the seven distributions stack up? Check this out.
"Next, I set about collecting as many suitable 1-CD Linux distros as possible. These included copies of the latest Xandros and Linspire that had been provided to me for evaluation, plus free web-downloads of the latest Freespire, Kubuntu, Mandriva One, PCLinuxOS, and SimplyMEPIS distros."
Seven Linux distros fight over one old ThinkPad

( Permalink: Seven Linux distros fight over one old ThinkPad      Submitted by Noel Tue Oct 10, 2006 )

Surviving A Slashdotting With a Celeron 466
Well written article.
"Once I knew for sure I was getting Slashdotted, I actually decided to get-up from the computer and go do something else while I thought about how I could prepare for a load like that rather than freaking out and breaking things. My server at the time was a temporary server built out of spare parts (I host my site at home) which was over 6 years old, so I had no idea what I'd be able to do with it."
Surviving A Slashdotting With a Celeron 466: My Slashdot Experience : devnulled: a blog by brandon harper

( Permalink: Surviving A Slashdotting With a Celeron 466      Submitted by Noel Tue Oct 10, 2006 )

GNU Project Debugger: More fun with GDB
Learn about the GNU Project Debugger (GDB) macro capability that allows you to personalize and customize GDB to have just the tools you need. The previous article, "Fun with strace and GDB," covered the basics of using these tools to explore your system and attach to programs that are already running to see what they were doing.

( Permalink: GNU Project Debugger: More fun with GDB      Submitted by Anonymous Tue Oct 10, 2006 )

How To Look Like A UNIX Guru
Nice introduction/overview of basic Linux command line tools.
"If you want to be a serious server developer, you will need to have a certain facility with a number of UNIX tools; about 15. You will start to see similarities among them, particularly regular expressions, and soon you will feel very comfortable. Combining the simple commands, you can build very powerful tools very quickly--much faster than you could build the equivalent functionality in C or Java, for example."
How To Look Like A UNIX Guru

( Permalink: How To Look Like A UNIX Guru      Submitted by Noel Tue Oct 10, 2006 )

Keep Mac from waking when the lid is opened
No overheating here but I have pulled a fully charged Powerbook from my laptop bag and had only 25 percent charge left due to this problem. So cool, I am going to give this a try.
"This tip solves a problem that I've experienced myself and many of my clients have complained about - laptops waking from sleep while in their cases because the latch won't keep the lid closed. This can cause overheating, which can lead to a variety of other problems, like hard drive failures, etc. "
Terminal Tip: Keep your Mac portable from waking when the lid is opened - The Unofficial Apple Weblog (TUAW)

( Permalink: Keep Mac from waking when the lid is opened      Submitted by Noel Tue Oct 10, 2006 )

MySQL Master Master Replication
This tutorial describes how to set up MySQL master-master replication. We need to replicate MySQL servers to achieve high-availability (HA). In my case I need two masters that are synchronized with each other so that if one of them drops down, other could take over and no data is lost. Similarly when the first one goes up again, it will still be used as slave for the live one.

( Permalink: MySQL Master Master Replication      Submitted by Falko Timme Mon Oct 9, 2006 )

Using R to Datamine Apache Logs
One of the nice things about Apache is it's amazing ability to be configured. The logging sub-system is a lot more configurable than most people realise or make use of.
This article will give a brief overview of extending the log format to include logging of the time taken to serve a request, and then extracting some insights into the overall speed of the website for most users.

The key difference is this is not using external measuring tools and utilities, this is measuring what real users really get!

( Permalink: Using R to Datamine Apache Logs      Submitted by Steve McInerney Mon Oct 9, 2006 )

Implement Flash Video Streaming
No idea what the license from Macromedia says about any of this.
"It will be really short post about using set of free tools to implement fully functional flash video streaming server. So, what we are going to get at the end of our setup? We are going to get some type of completely free streaming support that is available with Macromedia's non-free Flash Communication Server (Flash Media Server) (FCS)."
Homo-Adminus Blog Using Lighttpd, Mplayer/Mencoder and Flvtool2 to Implement Flash Video Streaming

( Permalink: Implement Flash Video Streaming      Submitted by Noel Mon Oct 9, 2006 )

Cargo Repeatable System Tests for Web Apps
Writing logically repeatable tests is especially tricky when testing Web applications that incorporate a servlet container. Now you can write logically repeatable system tests every time with the introduction of Cargo, an open source framework that automates container management in generic fashion.

( Permalink: Cargo Repeatable System Tests for Web Apps      Submitted by IdaAshley Mon Oct 9, 2006 )

Simplify Data Extraction Using Linux Utilities
Much of Linux system administration involves tediously combing through plain-text configuration files. Fortunately, Linux has a rich array of UNIX-derived data extraction utilities, including head, tail, grep, egrep, fgrep, cut, paste, join, awk, and more. This article uses real-world examples that show how these simple command-line programs can make you a better sysadmin. Also look at each data extraction utility and its options, and learn how to apply them to typical day-to-day work files.

( Permalink: Simplify Data Extraction Using Linux Utilities      Submitted by IdaAshley Mon Oct 9, 2006 )

Backing Up and Cloning OS X
Lots of details about backing up your OS X disk.
"There are two types of filesystem disk formats we need to worry about, HFS+, which is the default OS X filesystem format, and UFS, which is the "normal" unix file system format. All of the standard unix utilities are designed to cope with UFS. They will work on HFS+, but they will break what are called "resource forks" because this is a unique structure to HFS+. "
Backing Up and Cloning OS X

( Permalink: Backing Up and Cloning OS X      Submitted by Noel Mon Oct 9, 2006 )

Install .rpm Files in Debian and Ubuntu
Some time you might find some applications are having only .rpm files but you want a .deb package for your debian,Ubuntu and other debian derived ditributions.If you canít find .deb debian package in any of the debian,ubuntu repositories or elsewhere, you can use the alien package converter to install the .rpm file. Read Full article here

( Permalink: Install .rpm Files in Debian and Ubuntu      Submitted by david Thu Oct 5, 2006 )

MySQL Backup And Recovery With mysql-zrm On Debian
This guide describes how to back up and recover your MySQL databases with mysql-zrm on a Debian Sarge system. mysql-zrm is short for Zmanda Recovery Manager for MySQL, it is a new tool that lets you create full logical or raw backups of your databases (regardless of your storage engine and MySQL configuration), generate reports about the backups, verify the integrity of the backups, and recover your databases. It can also send email notifcations about the backup status, and you can implement multiple backup policies (based on your applications and based on time (e.g. daily, weekly, etc.)).

( Permalink: MySQL Backup And Recovery With mysql-zrm On Debian      Submitted by Falko Timme Thu Oct 5, 2006 )

Featured Articles:
Unix and Linux Podcasting Guide

Expect and SSH

The Linux Enterprise Cluster

Book Review: Podcasting: Do-It-Yourself Guide

Remote Backups With Rsync

Weakness and Security

Essential CVS

Spring Into Technical Writing

Other News:
Biodiesel Resources

Older News

PHP 4 migration to PHP 5 object-oriented features
(Tue Oct 3, 2006)

Porting Enterprise Apps from UNIX to Linux
(Tue Oct 3, 2006)

How to mount your Windows partition
(Wed Sep 27, 2006)

Securing NFS - Tunneling NFS over SSH
(Wed Sep 27, 2006)

See changes word by word with dwdiff
(Wed Sep 27, 2006)

Handle Your Errors Using Flex and Bison
(Wed Sep 27, 2006)

Taking OpenPower for a Spin: 64-bit Linux
(Wed Sep 27, 2006)

Kubuntu 6.06 LTS Installation Walkthrough
(Tue Sep 26, 2006)

Build Cross-Platform GUIs Using wxWidgets
(Tue Sep 26, 2006)

CLI Magic: Enhance your YouTube viewing pleasure
(Tue Sep 26, 2006)

PHP configuration patterns
(Tue Sep 26, 2006)

Backup MySQL databases, web server files to FTP
(Tue Sep 26, 2006)

Creating your own Solaris Packages
(Mon Sep 25, 2006)

How To Set Up A DHCP Server For Your LAN
(Mon Sep 25, 2006)

Presenting source code text in the Eclipse CDT
(Mon Sep 25, 2006)

You wont be new to XML after this
(Mon Sep 25, 2006)

Using Spring and Hibernate with WebSphere
(Mon Sep 25, 2006)

NVIDIA 1.0-9XXX Series Preview
(Fri Sep 22, 2006)

Teeny Linux PCs proliferate
(Fri Sep 22, 2006)

Configure Ubuntu for Active Directory Authenticati
(Fri Sep 22, 2006)

Using XML is Only One Step Towards Portability
(Fri Sep 22, 2006)

Double your fun with QuadKonsole
(Thu Sep 21, 2006)

How to Silence a Computer
(Thu Sep 21, 2006)

UNIX productivity tips in an office setting
(Thu Sep 21, 2006)

Make Ruby on Rails Easy With RadRails eclipse IDE
(Thu Sep 21, 2006)

Work smarter with Unix specialized tools and short
(Thu Sep 21, 2006)

Securing Your Server With A Host-based IDS
(Wed Sep 20, 2006)

Booting NetBSD on New Hardware
(Wed Sep 20, 2006)

Debian Network Utilities and tools With Examples
(Wed Sep 20, 2006)

Torvalds talks like a pirate
(Wed Sep 20, 2006)

[Latest News] [Newer News] [Older News]

Our content can be syndicated: Main Page Mac Page
(Validate RSS code)

Copyright 1999-2005 Noel Davis. Noel also runs web sites about sailing and kayaking.
All trademarks are the property of their owners.
All articles are owned by their author