Spiderwick Chronicles
Total Page:16
File Type:pdf, Size:1020Kb
VIRTUALBOX | OPENVPN | DNS | KVM | QEMU | CODECS | FACEBOOK LINUX JOURNAL ™ REVIEWED Mini VIRTUALIZATION Zonbu PC + SCARY DNS Since 1994: The Original Magazine of the Linux Community FEBRUARY 2008 | ISSUE 166 PROBLEMS CODECS AND VirtualBox | OpenVPN | DNS | KVM | QEMU | Video Codecs | Zonbu Facebook | OpenVPN DNS KVM QEMU Video VirtualBox FREE FORMATS MAKING LINUX SMALL THE SPIDERWICK CHRONICLES FEBRUARY Powered By Linux UU www.linuxjournal.com 2008 VirtualBox How-To $5.99US $5.99CAN 02 ISSUE UU Virtualize Servers Painlessly 166 UU Distributed Hosting with OpenVPN 0 09281 03102 4 MULTIPLY ENERGY EFFICIENCY AND MAXIMIZE COOLING. THE WORLD’S FIRST QUAD-CORE PROCESSOR FOR MAINSTREAM SERVERS. THE NEW QUAD-CORE INTEL® XEON® PROCESSOR 5300 SERIES DELIVERS UP TO 50% MORE PERFORMANCE1 THAN PREVIOUS INTEL XEON PROCESSORS IN THE SAME POWER ENVELOPE. BASED ON THE ULTRA-EFFICIENT INTEL® CORE™ MICROARCHITECTURE, IT’S THE ULTIMATE SOLUTION FOR MANAGING RUNAWAY COOLING EXPENSES. LEARN WHY GREAT BUSINESS COMPUTING STARTS WITH INTEL INSIDE. VISIT INTEL.COM/XEON. ACMA PERFORMA SERVERS s 2OBUSTPERFORMANCEWITH Call 1-866-526-1139 THE1UAD #ORE)NTEL®8EON® or visit www.ACMA.com PROCESSOR s 3UPERIORSTORAGECAPACITY s !DVANCED2!)$TECHNOLOGY FORMAXIMUMDATAPROTECTION s 2EDUNDANTCAPABILITYTO MINIMIZESYSTEMDOWNTIME ACMA’s storage servers with powerful and redundant hardware are engineered to fulfill your most stringent demands for business and enterprise storage applications. Intel is not responsible for and has not verified any statements or computer system product specific claims contained herein. 1. Performance measured using SPECjbb2005*, SPECjbb2005*/SysWatt, comparing a Quad-Core Intel® Xeon® processor E5345-based platform to a Dual-Core Intel® Xeon® processor 5160-based platform. © 2007 Intel Corporation. All rights reserved. Intel, the Intel logo, Intel. Leap ahead., the Intel. Leap ahead. logo, Xeon, and Xeon Inside are trademarks of Intel Corporation in the U.S. and other countries. *Other names and brands may be claimed as the property of others. Manage Any Data Center. Anytime. Anywhere. Avocent builds hardware and software to access, manage and control any IT asset in your data center, online or offl ine, keeping it, and your business, “always on”. VisitVisit us on our Remote Control Tour. For locations near Avocent, the Avocent logo and The Power of Being There, are registered yyou,ou, go to www.avocent.com/remotecontrol. trademarks of Avocent Corporation. ©2008 Avocent Corporation. Avocent_RemoteAd_issNov.indd 1 12/4/07 2:15:28 PM FEBRUARY 2008 CONTENTS Issue 166 FEATURES VIRTUALIZATION 40 VIRTUALBOX: BITS AND BYTES MASQUERADING 52 BUILDING A MULTISOURCED INFRASTRUCTURE AS MACHINES USING OPENVPN Reconfiguring your existing system to do something new is Explore distributed hosting options with OpenVPN. painful. Using VirtualBox is not. Dmitriy Samovskiy Jon Watson 48 VIRTUALIZE A SERVER WITH MINIMAL DOWNTIME ON THE COVER If you are ready to take the plunge into virtualization, you • Scary DNS Problems, p. 58 are ready for this tried-and-true procedure to convert your • Codecs and Free Formats, p. 93 existing physical machines into virtual clones. • Making Linux Small, p. 76 Kyle Rankin • The Spiderwick Chronicles Powered by Linux, p. 64 • VirtualBox How-To, p. 40 • Virtualize Servers Painlessly, p. 48 • Distributed Hosting with OpenVPN, p. 52a ALL SPIDERWICK IMAGES © PARAMOUNT PICTURES. 2 | february 2008 www.linuxjournal.com ILLUSTRATION ©ISTOCKPHOTO.COM/JANFILIP FEBRUARY 2008 CONTENTS Issue 166 COLUMNS INDEPTH 16 REUVEN M. LERNER’S 58 DIGGING UP DIRT IN THE AT THE FORGE DNS HIERARCHY, PART II Integrating with Facebook Data The techniques presented in this second article on diagnosing the 22 MARCEL GAGNÉ’S DNS use simple tools to audit COOKING WITH LINUX access to local DNS servers from the It’s a Virtual World customer (and bad guy) perspective. Ron Aitchison 64 THE SPIDERWICK CHRONICLES 64 LINUX POWERS THE SPIDERWICK CHRONICLES Read about the Linux-based production pipeline in this new Next Month movie from Paramount. Robin Rowe DESKTOP 72 VIRTUALIZATION 2.0: WHERE THE SIDEWALK ENDS Next month, Doc Searls inter- What happens when you put views Dave Liu, the 21-year- hypervisors on different subnets? old CEO of Good OS LLC. The 26 DAVE TAYLOR’S How about when the underlying company’s main product is WORK THE SHELL physical machine fails? The answers gOS, an Ubuntu-based distro Solve: a Command-Line may surprise you, and not in a tweaked to run Web apps as Calculator Redux good way. if they were desktop ones. Kevin Epstein And, Jes Hall provides an 30 KYLE RANKIN’S indepth preview of the new KDE 4. Additionally, we’ll HACK AND / SYSTEM MINIMIZATION 76 cover accessibility issues on A Little Spring Cleaning Reducing the size of a Linux platform, the desktop with articles on for those new to the process, can Orca and Accerciser. 96 DOC SEARLS’ be a mysterious task. This article takes the mystery out of making a EOF As always, there’s much Linux platform small. Life in the Vast Lane more. We’ll have reviews of Gene Sally the new ASUS Eee PC, the REVIEW Google Android SDK and 80 VIRTUALIZATION WITH KVM IBM’s Lotus Symphony. Plus, 36 ZONBU Introducing KVM, an open-source look for an updated multi- James Gray hypervisor. track video editor round-up Irfan Habib from Dan Sawyer. 84 THE BEST OF BOTH WORLDS How to use QEMU to run Linux inside Windows. USPS LINUX JOURNAL (ISSN 1075-3583) (USPS 12854) is published monthly by Belltown Media, Inc., 2211 Dashamir Hoxha Norfolk, Ste 514, Houston, TX 77098 USA. Periodicals postage paid at Houston, Texas and at additional mailing 93 VIDEO CODECS AND THE offices. Cover price is $5.99 US. Sub scrip tion rate is IN EVERY ISSUE $25/year in the United States, $32 in Canada and Mexico, FREE WORLD $62 elsewhere. POSTMASTER: Please send address 8 LETTERS Learn about codecs, how to changes to Linux Journal, PO Box 980985, Houston, TX 12 UPFRONT transcode, and why free formats 77098. Subscriptions start with the next issue. Canada deserve promotion. Post: Publications Mail Agreement #41549519. Canada 34 NEW PRODUCTS Returns to be sent to Bleuchip International, P.O. Box 81 ADVERTISERS INDEX Seth Kenlon 25542, London, ON N6C 6B2 4 | february 2008 www.linuxjournal.com Executive Editor Jill Franklin [email protected] Senior Editor Doc Searls [email protected] Art Director Garrick Antikajian [email protected] Products Editor James Gray GO SOLID. [email protected] Editor Emeritus Don Marti INCREASE RELIABILITY. [email protected] Technical Editor Michael Baxter [email protected] Senior Columnist Reuven Lerner [email protected] Chef Français Marcel Gagné [email protected] Security Editor Mick Bauer [email protected] Contributing Editors David A. Bandel • Ibrahim Haddad • Robert Love • Zack Brown • Dave Phillips Marco Fioretti • Ludovic Marcotte • Paul Barry • Paul McKenney • Dave Taylor Proofreader Geri Gale Publisher Carlie Fairchild [email protected] General Manager Rebecca Cassity [email protected] Director of Sales Laura Whiteman solid state systems [email protected] Regional Sales Manager Joseph Krack fully x86 compatible [email protected] Regional Sales Manager Kathleen Boyle fanless, quiet operation [email protected] Circulation Director Mark Irgang [email protected] System Administrator Mitch Frazier [email protected] Webmaster Katherine Druckman [email protected] Accountant Candy Beauchamp [email protected] Linux Journal is published by, and is a registered trade name of, Belltown Media, Inc. PO Box 980985, Houston, TX 77098 USA Reader Advisory Panel Brad Abram Baillio • Nick Baronian • Hari Boukis • Caleb S. Cullen • Steve Case Kalyana Krishna Chadalavada • Keir Davis • Adam M. Dutko • Michael Eager • Nick Faltys • Ken Firestone Direct-Plug Dennis Franklin Frey • Victor Gregorio • Kristian Erik • Hermansen • Philip Jacob • Jay Kruizenga David A. Lane • Steve Marquez • Dave McAllister • Craig Oda • Rob Orsini • Jeffrey D. Parent IDE Flash Modules Wayne D. Powel • Shawn Powers • Mike Roberts • Draciron Smith • Chris D. Stark • Patrick Swartz Editorial Advisory Board Intel, VIA & AMD CPUs Daniel Frye, Director, IBM Linux Technology Center Jon “maddog” Hall, President, Linux International Lawrence Lessig, Professor of Law, Stanford University Ransom Love, Director of Strategic Relationships, Family and Church History Department, (IÀFLHQF\5DWHG Church of Jesus Christ of Latter-day Saints Sam Ockman PicoPSU Power Supplies Bruce Perens Bdale Garbee, Linux CTO, HP Danese Cooper, Open Source Diva, Intel Corporation Advertising E-MAIL: [email protected] DISCOVER MINI-ITX. URL: www.linuxjournal.com/advertising PHONE: +1 713-344-1956 ext. 2 Subscriptions E-MAIL: [email protected] URL: www.linuxjournal.com/subscribe PHONE: +1 713-589-3503 FAX: +1 713-589-2677 TOLL-FREE: 1-888-66-LINUX MAIL: PO Box 980985, Houston, TX 77098 USA Please allow 4–6 weeks for processing address changes and orders PRINTED IN USA LINUX is a registered trademark of Linus Torvalds. www.logicsupply.com lj024:lj018.qxd 12/5/2007 6:00 PM Page 1 The Straight Talk People SM SINCE 1991 ABERDEEN QUAD-CORE. SAY NO MORE! ABERDEEN STIRLING 144 ABERDEEN STIRLING 128 ABERDEEN STIRLING 228 Four Quad-Cores 1U 3TB Quad Quad-Core HPC Server 1U 4TB Dual Quad-Core Server 2U 8TB Dual Quad-Core Server • Up to four Quad-Core Intel® Xeon® MP processors • Up to two Quad-Core Intel Xeon processors • Up to two Quad-Core Intel Xeon processors • Intel 7300 chipset with 64-Bit Support