|
Source: developerWorks : Linux : Technical library Learn how to check the integrity of your Linux filesystems, monitor free space, and fix simple problems. Use the material in this article to study for the Linux Professional Institute (LPI) 101 exam for Linux system administrator certification--or just to check your filesystems and keep them in good working order, especially after a system crash or power loss.
Source: developerWorks : Linux : Technical library Learn how to download and install Rational Application Developer for WebSphere, DB2 Express-C, and a few other third party packages to get the solution stack up and running. This 4-part demo series shows you how to implement the solution stack (Rational Application Developer, WebSphere Application Server, and DB2 Express-C) on Ubuntu Linux, and how to integrate them in a Java application.
Source: developerWorks : Linux : Technical library Learn how to configure and setup Rational Application Developer, create a WebSphere profile, create a database in DB2 Express-C, and perform a test run on the solution stack. This 4-part demo series shows you how to implement the solution stack (Rational Appli-ation Developer, WebSphere Application Server, and DB2 Express-C) on Ubuntu Linux, and how to integrate them in a Java application.
Source: developerWorks : Linux : Technical library Part 4 of this demo series shows you how to import the Java servlet application files into the Rational Application Developer workspace, edit a few classes, and deploy the application on a WebSphere Application Server. Finally, you get to see the solution stack work in a real life scenario. This 4-part demo series shows you how to implement the solution stack (Rational Application Developer, WebSphere Application Server, and DB2 Express-C) on Ubuntu Linux, and how to integrate them in a Java application.
Source: developerWorks : Linux : Technical library In this third article in a three-part series on the RPM Package Manager, discover the ins and outs of software dependencies, and learn how to control and customize your software packaging. (This series replaces an earlier series on RPM written by Dan Poirier.)
 
Source: developerWorks : Linux : Technical library Linux systems are often installed on multiple partitions, each of which has a fixed size. As your needs change, though, it is often necessary to resize partitions to suit your changing needs. Several tools exist to do this in Linux, but there are a number of potential pitfalls and restrictions that can make the task more difficult than it might seem at first. This article guides you through the task of resizing Linux partitions, beginning with basic preparations and moving on to common resizing scenarios using graphical user interface (GUI) tools.
Source: developerWorks : Linux : Technical library As the kernel and user space exist in different virtual address spaces, there are special considerations for moving data between them. Explore the ideas behind virtual address spaces and the kernel APIs for data movement to and from user space, and learn some of the other mapping techniques used to map memory.
Source: developerWorks : Linux : Technical library The 2.6.33 Linux kernel has introduced a useful new service called the Distributed Replicated Block Device (DRBD). This service mirrors an entire block device to another networked host during run time, permitting the development of high-availability clusters for block data. Explore the ideas behind the DRBD and its implementation in the Linux kernel.
Source: developerWorks : Linux : Technical library In this article, the second in a series on migrating a Linux application to the Amazon cloud, learn how to make your application more robust by employing a load balancer and persistent disk. You'll use multiple servers and learn how to safely back up your data.
Source: developerWorks : Linux : Technical library Ksplice applies kernel patches on-the-fly - no reboot required - in a fraction of a second. Here's a hands-on guide to performing painless system updates.
Source: developerWorks : Linux : Technical library Learn how to download and install a Ubuntu image and then go through some basic shell commands to help you navigate through the UNIX environment. This is part 1 of a 4 part demo series to show you how to implement a solution stack (Rational Application Developer, WebSphere Application Server, and DB2 Express-C) on Ubuntu Linux, as well as how to integrate them in a Java application.
Source: developerWorks : Linux : Technical library The GNU Image Manipulation Program (GIMP) is a robust application for editing and manipulating digital images. Because it's open source software, any developer is allowed to modify and extend it with even more features. In this article, you will learn how to get started with the GIMP code, how to build the project from the Git repositories, and how to find your way around the code tree. And you will build an example application that creates a whole new painting tool for the program.
Source: developerWorks : Linux : Technical library With configuration, installation, and the use of Hadoop in single- and multinode architectures under your belt, you can now turn to the task of developing applications within the Hadoop infrastructure. This final article in the series explores the Hadoop APIs and data flow and demonstrates their use with a simple mapper and reducer application.
Source: developerWorks : Linux : Technical library Cloud computing and Infrastructure as a Service (IaaS) are well documented, but what's often not discussed is how to get a running application into a cloud environment. In this series, discover how to move an application into the cloud and take advantage of the features this setup has to offer. In Part 1, see a straight migration from one physical server to a cloud server.
Source: developerWorks : Linux : Technical library Learn how to create partitions on a disk drive and how to format them for use on a Linux system as swap or data space. You can use the material in this article to study for the LPI 101 exam for Linux system administrator certification, or just to learn about partitions and Linux filesystems for your own use.
Source: developerWorks : Linux : Technical library Learn the correct location for files under the Filesystem Hierarchy Standard (FHS) on a Linux system and learn how to find important files and commands. You can use the material in this article to study for the LPI 101 exam for Linux system administrator certification, or just to explore file organization and management.
Source: developerWorks : Linux : Technical library The first article in this series showed how to use Hadoop in a single-node cluster. This article continues with a more advanced setup that uses multiple nodes for parallel processing. It demonstrates the various node types required for multinode clusters and explores MapReduce functionality in a parallel environment. This article also digs into the management aspects of Hadoop -- both command line and Web based.
Source: developerWorks : Linux : Technical library The days of cowboy coding are long gone at most organizations, replaced by a renewed interest in generating quality software. Continuous integration (CI) testing is a vital component in the practice of agile programming techniques that lead to high-quality software. Learn the theory and practice of CI testing by exploring Buildbot, an open source CI system written in Python.
Source: developerWorks : Linux : Technical library Learn how to create and manage hard and symbolic links to files on your Linux system. You can use the material in this article to study for the LPI 101 exam for Linux system administrator certification, or just to explore the differences between hard and soft, or symbolic, links and the best ways to link to files, as opposed to copying files.
Source: developerWorks : Linux : Technical library This article -- the first in a series on Hadoop -- explores the Hadoop framework, including its fundamental elements, such as the Hadoop file system (HDFS), and node types that are commonly used. Learn how to install and configure a single-node Hadoop cluster, and delve into the MapReduce application. Finally, discover ways to monitor and manage Hadoop using its core Web interfaces.
Source: developerWorks : Linux : Technical library Starting in December 2009, hard disk manufacturers began introducing disks that use 4096-byte sectors rather than the more common 512-byte sectors. Although this change is masked by firmware that breaks the 4096-byte physical sectors into 512-byte logical sectors for the benefit of the operating system, the use of larger physical sectors has implications for disk layout and system performance. This article examines these implications, including benchmark tests illustrating the likely real-world effects on some common Linux file systems. As disks with 4096-byte sectors become more common throughout 2010 and beyond, strategies for coping with these new disks will become increasingly important.
Source: developerWorks : Linux : Technical library So you've got to cut costs, but you're not a manager. You're a software developer, or a power user, or just someone who needs to keep the bottom line healthy enough to support your salary. These are ideal situations for introducing open source software solutions into your environment. That might sound like you'll spend the next three weeks learning to program or write makefiles, but it's just not so. Read on and see how open source is a flexible, usable approach to efficiency in your work environment.
Source: developerWorks : Linux : Technical library The tools used to boot Linux are changing. Specifically, the Grand Unified Bootloader (GRUB) is now officially in maintenance mode only, and GRUB's developers have abandoned the original GRUB in favor of an entirely rewritten package, known as GRUB 2. Discover GRUB 2's new capabilities and how to use it.
Source: developerWorks : Linux : Technical library Learn how to choose and configure a boot manager for your Linux system. You can use the material in this article to study for the LPI 101 exam for Linux system administrator certification, or just to learn for fun.
Source: developerWorks : Linux : Technical library Linux as a hypervisor includes a number of innovations, and one of the more interesting changes in the 2.6.32 kernel is Kernel Shared Memory (KSM). KSM allows the hypervisor to increase the number of concurrent virtual machines by consolidating identical memory pages. Explore the ideas behind KSM (such as storage de-duplication), its implementation, and how you manage it.
Source: developerWorks : Linux : Technical library Use inotify when you need efficient, fine-grained, asynchronous monitoring of Linux file system events. Use it for user-space monitoring for security, performance, or other purposes.
Source: developerWorks : Linux : Technical library The Linux kernel includes a variety of APIs intended to help developers build simpler and more efficient driver and kernel applications. Two of the more common APIs that can be used for work deferral are the list management and timer APIs. Discover these APIs, and learn how to develop kernel applications with timers and lists.
Source: developerWorks : Linux : Technical library Learn how to determine which shared libraries your Linux executable programs depend on and how to load them. You can use the material in this article to study for the LPI 101 exam for Linux system administrator certification, or just to learn for fun.
Source: developerWorks : Linux : Technical library For high-frequency threaded operations, the Linux kernel provides tasklets and work queues. Tasklets and work queues implement deferrable functionality and replace the older bottom-half mechanism for drivers. This article explores the use of tasklets and work queues in the kernel and shows you how to build deferrable functions with these APIs.
Source: developerWorks : Linux : Technical library Learn how to design a partition layout for disks on a Linux system. You can use the material in this article to study for the LPI 101 exam for Linux system administrator certification, or just to learn for fun.
Source: developerWorks : Linux : Technical library The Linux system call interface permits user-space applications to invoke functionality in the kernel, but what about invoking user-space applications from the kernel? Explore the usermode-helper API, and learn how to invoke user-space applications and manipulate their output.
Source: developerWorks : Linux : Technical library Learn how to use the vi editor, found on almost every UNIX and Linux system. You can use the material in this article to study for the LPI 101 exam for Linux system administrator certification, or just to learn for fun.
Source: developerWorks : Linux : Technical library A dictionary is a container data structure that offers different optimizations and trade-offs from a list. In particular, in a dictionary the order of the elements stored is irrelevant and the identity of each element is explicit. In this fourth article in a series introducing Vimscript, Damian Conway introduces you to dictionaries, including an overview of their basic syntax and many functions. He concludes with several examples that illustrate the use of dictionaries for more efficient data processing and cleaner code.
Source: developerWorks : Linux : Technical library Linux system calls -- we use them every day. But do you know how a system call is performed from user-space to the kernel? Explore the Linux system call interface (SCI), learn how to add new system calls (and alternatives for doing so), and discover utilities related to the SCI. [This article has been updated to reflect coding changes for kernels 2.6.18 and later. -Ed.]
Source: developerWorks : Linux : Technical library Learn about process management on Linux: how to shuffle processes between foreground and background, find out what's running, kill processes, and keep processes running after you've left for the day. You can use the material in this article to study for the LPI 101 exam for Linux system administrator certification, or just to learn for fun.
Source: developerWorks : Linux : Technical library The Linux kernel supports a variety of virtualization schemes, and that's likely to grow as virtualization advances and new schemes are discovered (for example, lguest). But with all these virtualization schemes running on top of Linux, how do they exploit the underlying kernel for I/O virtualization? The answer is virtio, which provides an efficient abstraction for hypervisors and a common set of I/O virtualization drivers. Discover virtio, and learn why Linux will soon be the hypervisor of choice.
Source: developerWorks : Linux : Technical library Vimscript provides excellent support for operating on collections of data, a cornerstone of programming. In this third article in the series, learn how to use Vimscript's built-in lists to ease everyday operations such as reformatting lists, filtering sequences of filenames, and sorting sets of line numbers. You'll also walk through examples that demonstrate the power of lists to extend and enhance two common uses of Vim: creating a user-defined function to align assignment operators, and improving the built-in text completions mechanism.
Source: developerWorks : Linux : Technical library Hardware management using the Common Information Model standard often means that the management application must be capable of listening to and handling the indications that occur at the hardware level. To test the indication listener component of the management application when the planned system hardware is not available during development, you will need dummy indications. This article explains how to generate dummy indications on OpenPegasus CIMOM (Common Information Model Object Manager) using a provider shipped with the OpenPegasus source code.
Source: developerWorks : Linux : Technical library Learn how Perl programmers can use three of the CPAN S3 modules -- Net::Amazon::S3, Amazon::S3, and SOAP::Amazon::S3 -- to list, create, and delete "buckets" (S3 data storage); to list, create, retrieve, and delete items in a bucket; and to get an item's metadata.
Source: developerWorks : Linux : Technical library In three relatively simple steps, you can create a virtual server on the Linux KVM hypervisor host using full virtualization. The Kernel-based Virtual Machine (KVM) is free, open source virtualization software for Linux that is based on hardware virtualization extensions (Intel VT-X and AMD-V) and a modified version of QEMU.
Source: developerWorks : Linux : Technical library In this first article in a three-part series on the RPM Package Manager, learn how to use RPM not just to install software and attendant files but to package almost anything, from system scripts to source code to documentation. (This series replaces an earlier series on RPM written by Dan Poirier.)
Source: developerWorks : Linux : Technical library In this second article in a three-part series on the RPM Package Manager, learn how how to use RPM to upgrade and uninstall software on your Linux system. (This series replaces an earlier series on RPM written by Dan Poirier.)
Source: developerWorks : Linux : Technical library The libvirt library is a Linux API over the virtualization capabilities of Linux that supports a variety of hypervisors, including Xen and KVM, as well as QEMU and some virtualization products for other operating systems. This article explores libvirt, its use, and its architecture.
Source: developerWorks : Linux : Technical library The task scheduler is a key part of any operating system, and Linux continues to evolve and innovate in this area. In kernel 2.6.23, the Completely Fair Scheduler (CFS) was introduced. This scheduler, instead of relying on run queues, uses a red-black tree implementation for task management. Explore the ideas behind CFS, its implementation, and advantages over the prior O(1) scheduler.
Source: developerWorks : Linux : Technical library Learn how to access the features of the Twitter API using the CPAN Net::Twitter module. You'll also see some solid business uses for Twitter, including automated posting and analyzing Twitter search results.
Source: developerWorks : Linux : Technical library Not only has virtualization advanced the state of the art in maximizing server efficiency, it has also opened the door to new technologies that were not possible before. One of these technologies is the virtual appliance, which fundamentally changes the way software is delivered, configured, and managed. But the power behind virtual appliances lies in the ability to freely share them among different hypervisors. Learn the ideas and benefits behind virtual appliances, and discover a standard solution for virtual appliance interoperability called the Open Virtualization Format.
Source: developerWorks : Linux : Technical library If you think streams and pipes make a Linux expert sound like a plumber, here's your chance to learn about them and how to redirect and split them. You even learn how to turn a stream into command arguments. You can use this material in this article to study for the LPI 101 exam for Linux system administrator certification, or just to learn for fun.
Source: developerWorks : Linux : Technical library Discover the most common errors in UNIX and Linux -- and how to avoid them.
Source: developerWorks : Linux : Technical library Learn how to install, upgrade and manage packages on your Linux system. This article focuses on the Red Hat Package Manager (RPM) developed by Red Hat, as well as the Yellowdog Updater Modified (YUM) originally developed to manage Red Hat Linux systems at Duke University's Physics department. You can use the material in this article to study for the LPI 101 exam for Linux system administrator certification, or just to explore the best ways to add new software and keep your system current.
Source: developerWorks : Linux : Technical library One of Linux's strengths is its cross-platform nature: you can run it on x86, x86-64, SPARC, PowerPC, and many other central processing units (CPUs). This wealth of hardware choices poses a challenge for software developers, though. Ensuring that software compiles, and runs correctly, on all platforms can be difficult. The use of the QEMU package can help ease this burden. QEMU is a machine emulator that supports a wide range of CPUs, so you can run PowerPC software on an x86 computer, x86-64 software on an SPARC computer, or what have you. This facility is particularly useful for programmers who need to test software's endianness compatibility or check other CPU-specific features. QEMU also enables you to run different operating systems entirely, so that you can test a program's ability to compile and run under FreeBSD, Solaris, or even Microsoft Windows without shutting down Linux.
Source: developerWorks : Linux : Technical library Learn how to use regular expressions, and then use them to find things in files on your filesystem. You can use the material in this article to study for the LPI 101 exam for Linux system administrator certification, or just to learn for fun.
Source: developerWorks : Linux : Technical library Learn how to set and change process priorities so that applications get as much processing time as they need. You can use this material in this article to study for the LPI 101 exam for Linux system administrator certification, or just to learn for fun.
Source: developerWorks : Linux : Technical library Git offers Linux developers a number of advantages over Subversion for software version control, so developers working collaboratively owe it to themselves get familiar with the basic concepts behind it. In this installment, Ted dissects branching and merging in both Git and Subversion, introduces "git bisect" for bisecting changes, and shows how to resolve merge conflicts.
Source: developerWorks : Linux : Technical library For collecting data from Web pages, the mechanize library automates scraping and interaction with Web sites. Mechanize lets you fill in forms and set and save cookies, and it offers miscellaneous other tools to make a Python script look like a genuine Web browser to an interactive Web site. A frequently used companion tool called Beautiful Soup helps a Python program makes sense of the messy "almost-HTML" that Web sites tend to contain.
Source: developerWorks : Linux : Technical library Flickr isn't just for photo sharing and social networking; it's a legitimate business tool. Learn how Perl programmers can use the CPAN Chart modules to create charts and graphs, and the Flickr::Upload module to upload the charts to Flickr.
Source: developerWorks : Linux : Technical library Processors have evolved to improve performance for virtualized environments, but what about I/O aspects? Discover one such I/O performance enhancement called device (or PCI) passthrough. This innovation improves performance of PCI devices using hardware support from Intel (VT-d) or AMD (IOMMU).
Source: developerWorks : Linux : Technical library This three-part series is your starting point for tuning your system for power efficiency. In Part 3, the author compares the performance of the five in-kernel governors in both tuned and untuned states to show you how to optimize a Linux-based System x server.
Source: developerWorks : Linux : Technical library Many companies like IBM, Google, VMWare, and Amazon have provided products and strategies for Cloud computing. This article shows you how to use Apache Hadoop to build a MapReduce framework to make a Hadoop Cluster and how to create a sample MapReduce application which runs on Hadoop. You will also learn how to set up a time/disk-consuming task on the cloud.
Source: developerWorks : Linux : Technical library You've probably heard that everything in Linux is a file, so start on the right path with a solid grounding in file and directory management -- finding, listing, moving, copying, and archiving. You can use this material in this article to study for the LPI 101 exam for Linux system administrator certification, or just to learn for fun.
Source: developerWorks : Linux : Technical library Electricity is invisible. To understand how people use it, you need to make it visible. This tutorial will show you how easy it is to build a Web-based energy monitoring system yourself, using a Current Cost real-time energy monitor and AMEE, a neutral Web-based API for energy data, combined with some XML, Ruby, Rails, and Ajax.
Source: developerWorks : Linux : Technical library This three-part series is your starting point for tuning your system for power efficiency. In Part 2, follow a step-by-step guide on the general settings of the Linux CPUfreq subsystem and get more details on the five in-kernel governors -- performance, powersave, userspace, ondemand, and conservative -- and their settings.
Source: developerWorks : Linux : Technical library Booting servers from storage area networks with multiple paths can provide significant benefits for the complex, modern data center environment -- benefits such as improving availability and increasing your reach when it comes to easier management and maintenance and in providing reliability. To boot your Linux system from a SAN device, you'll need to set up a SAN boot operating system to your storage with multipath driver support; that's where this article comes in. The author will walk you through setting up a SAN-boot Linux system on the IBM System Storage DS8000 with the multipath function supported by the Device-Mapper MultiPath (DMMP) feature. [Editor's note: The article is updated per the author's comment below.]
Source: developerWorks : Linux : Technical library Outdated computer hardware may be too old to rely on, but it represents a value to your organization -- whether in an office or at home. Discover how you can realize that value by repurposing older machines with Linux.
 
Source: developerWorks : Linux : Technical library Once a faraway problem, an important barrier in disk storage is fast becoming a reality: the venerable master boot record (MBR) partitioning scheme can't fully handle disks larger than 2TB. With 1TB-hard disks now common and 2TB-disks becoming available, forward-looking individuals are thinking about alternatives to the MBR partitioning scheme. The heir apparent is the GUID Partition Table (GPT). Learn how to make sure your Linux system is fully prepared for the future of disk storage.
|