Download E-books Linux System Administration Recipes: A Problem-Solution Approach PDF

By David Berube, Nick Plante

The task of Linux platforms administrator is interrupt-driven and calls for consistent studying in byte-wise chunks. This publication provides strategies to fashionable problems—even a few you may no longer have heard of—such as scripting LDAP, making Mac consumers play great with Linux servers, and backup, safety, and restoration scripts. writer Juliet Kemp takes a extensive method of scripting utilizing Perl and bash, and all scripts paintings on Debian or pink Hat lineage distributions. Plus, she dispenses knowledge approximately time administration, facing determined colleagues, and the way to prevent reinventing the wheel!
• the best way to love LDAP scripting and NFS tuning
• Make Perl serve you: don't be enslaved via Perl
• discover ways to swap, craft, and think empowered through recipes that adjust your existence
<h3>What you’ll learn</h3> • Centralize your community utilizing LDAP and NFS
• communicate the language of other dossier structures
• understand whilst to exploit Perl or while to stay to sed and awk
• deal with safety issues with Perl, bash, and intelligence
• how one can hint errant process calls and misbehaving colleagues
<h3>Who this e-book is for</h3>
process directors wanting speedy succor and information whilst interruptions hinder the sleek working of a community.
<h3>Table of Contents</h3><ol> • Saving your self attempt
• Centralizing Your community: Kerberos, LDAP, and NFS
• tracking and Updating
• Taking Backups and handling information
• operating with Filesystems
• Securing Your platforms
• operating with Apache
• utilizing the Command Line larger
• operating with textual content in records
• issues getting in, issues Going Out
• monitoring Down insects
• handling Time and folks
</ol>

Show description

Read Online or Download Linux System Administration Recipes: A Problem-Solution Approach PDF

Similar Linux books

RHCSA/RHCE Red Hat Linux Certification Study Guide, Seventh Edition (Exams EX200 & EX300)

According to purple Hat firm Linux 7, the hot variation of this bestselling examine advisor covers the up-to-date purple Hat qualified process Administrator (RHCSA) and purple Hat qualified Engineer (RHCE) checks. RHCSA/RHCE crimson Hat Linux Certification learn advisor, seventh variation is totally revised to hide the lately published pink Hat firm Linux 7 and the corresponding RHCSA and RHCE certification tests.

Linux (Hacking Exposed)

Tighten holes and hold safeguard in your Linux procedure! From one of many authors of the foreign best-seller, Hacking uncovered: community defense secrets and techniques & options, comes essential defense instruction manual for someone operating Linux. This state of the art volu

Advanced Linux Networking

With more and more networks and mission-critical purposes operating on Linux, process, and community directors has to be capable of do greater than organize a server and depend upon its default configuration. this article is designed that can assist you in achieving a better point of competence. It specializes in robust options and contours of Linux networking and gives you with the information you want to increase server potency, improve safety, and adapt to new necessities.

Guide to Assembly Language Programming in Linux

Introduces Linux innovations to programmers who're acquainted with different working structures comparable to home windows XP presents finished insurance of the Pentium meeting language

Additional resources for Linux System Administration Recipes: A Problem-Solution Approach

Show sample text content

Com CHAPTER five ■ operating WITH FILESYSTEMS ■ word this technique will paintings provided that the whole measurement of your moment partition is larger than ((2 × house used on 2d partition) + wanted enlargement of the 1st partition). right here, 105GB > (2 × 40GB) + 5GB, so we’re high-quality to head forward. See the outline of the method and determine 5-1 for a proof of this math, or if you happen to don’t have this a lot spare area, another choice is defined later during this recipe. What you’re going to do is as follows (it is a bit complex, however it does paintings! ): 1. Divide the second one partition (/dev/hda2) into sections (/dev/hda2 and /dev/hda3), each of that's large enough to carry all of the information presently in that partition (here, 40GB). 2. flow the information into the second one of these walls (/dev/hda3). three. Delete the now-smaller /dev/hda2 to generate a few unfastened area into which /dev/hda1 can extend. four. extend /dev/hda1 as required. five. Create a brand new /dev/hda2 within the loose house that’s left over. (This new /dev/hda2 has to be a minimum of as enormous because the information that’s now in /dev/hda3). 6. circulate the knowledge from /dev/hda3 again into the re-created /dev/hda2. 7. Delete /dev/hda3. eight. extend /dev/hda2 into the loose area that /dev/hda3 occupied. successfully you’ve moved the beginning aspect of /dev/hda2 alongside a bit to permit more space for /dev/hda1; yet since you can’t circulate the beginning element of a partition, it’s essential to do that advanced shufflingaround method (see determine 5-1). determine 5-1. a demonstration of what you’re doing on your hard disk during this method 124 obtain at WoweBook. Com CHAPTER five ■ operating WITH FILESYSTEMS okay, then, here’s the best way to really cross approximately this. Boot from a rescue disk or LiveCD if you happen to can be resizing your / partition in any respect, as during this instance. If you’re simply resizing different walls, then you definately can boot from / as common and unmount the other walls after bootup. umount /dev/hda2 Use fdisk -l to discover the beginning and finish of the walls: > fdisk -l gadget /dev/hda1 /dev/hda2 Boot . commence 1 1289 finish 1288 8924 Blocks identification process 10345828 eighty three Linux 61336138 eighty three Linux utilizing parted, minimize /dev/hda2 to 50GB, leaving 55GB spare on the finish. parted takes the scale in megabytes, and fdisk supplies the scale in 1KB blocks, so that you have to translate from the 1KB block measurement that fdisk has given you to the megabytes that parted wishes. you should use the calculator bc to do that (multiply the variety of 1KB blocks by means of 1,024 to get the whole bytes, after which divide by means of 2^20 to get megabytes). > echo "10345828*1024/(2^20)" | bc 10103 > parted resize /dev/hda2 10104 61303 ■ observe That first bc line offers the megabyte dimension of the 1st partition (10103MB); upload one to get the beginning of the subsequent partition, after which upload 50GB (51200MB) to that to get the top. Create a 3rd partition in that 55GB utilizing fdisk and mke2fs: > fdisk fdisk> n fdisk> three fdisk> eighty three fdisk> w > mke2fs -j /dev/hda3 > mkdir /mnt/newpart > mount -t ext3 /dev/hda3 /mnt/newpart replica the knowledge from /dev/hda2 to the recent partition: > cp -rf /local/* /mnt/newpart one hundred twenty five obtain at WoweBook.

Rated 4.94 of 5 – based on 46 votes