Vous voulez voir cette page en français ? Cliquez ici.


or
Sign in to turn on 1-Click ordering.
More Buying Choices
Have one to sell? Sell yours here
Managing Linux Systems with Webmin: System Administration and Module Development
 
See larger image
 

Managing Linux Systems with Webmin: System Administration and Module Development [Paperback]

Jamie Cameron
4.6 out of 5 stars  See all reviews (7 customer reviews)
List Price: CDN$ 57.99
Price: CDN$ 39.38 & this item ships for FREE with Super Saver Shipping. Details
You Save: CDN$ 18.61 (32%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Temporarily out of stock.
Order now and we'll deliver when available. We'll e-mail you with an estimated delivery date as soon as we have more information. Your account will only be charged when we ship the item.
Ships from and sold by Amazon.ca. Gift-wrap available.

Product Details


Product Description

Book Description

Written by the creator of Webmin, this book explains how to use the most popular Webmin modules to perform common administration tasks on a Linux system such as adding users, configuring Apache, setting up NFS file sharing and managing the Sendmail mail server.Each chapter covers a single server or service, and is broken down into sections that list the steps required to carry out certain tasks using Webmin. The chapters also provide some background on the service being configured and the basic concepts behind it.Cameron also explains how to develop your own Webmin modules and themes, and includes a complete reference for the API that is available to module writers. He dissects each of the standard modules and themes so that programmers thinking of writing their own can see how they work, and what kind of coding style is used.Webmin is a browser-based user interface for performing system administration tasks on Linux and Unix servers.Part of the Bruce Perens' Open Source Series

From the Inside Flap

This chapter explains what Webmin is, why it was written, and what you can expect from this book.

What is Webmin?

Webmin is a program that simplifies the process of managing a Linux or UNIX system. Traditionally, you have needed to manually edit configuration files and run commands to create accounts, set up web servers, or manage email forwarding. Webmin now lets you perform these tasks through an easy-to-use web interface, and automatically updates all of the required configuration files for you. This makes the job of administering your system much easier.

Some of the things that you can do with Webmin include:

Creating, editing, and deleting UNIX login accounts on your system
  • Exporting files and directories to other systems with the NFS protocol
  • Setting up disk quotas to control how much space users can take up with their files
  • Installing, viewing, and removing software packages in RPM and other formats
  • Changing your system's IP address, DNS settings, and routing configuration
  • Setting up a firewall to protect your computer or give hosts on an internal LAN access to the Internet
  • Creating and configuring virtual web sites for the Apache Web server
  • Managing databases, tables, and fields in a MySQL or PostgreSQL database server
Sharing files with Windows systems by configuring Samba

These are just a few of the available functions. Webmin lets you configure almost all of the common services and popular servers on UNIX systems using a simple web interface. It protects you from the syntax errors and other mistakes that are often made when editing configuration files directly, and warns you before potentially dangerous actions.

Because Webmin is accessed though a web browser, you can log in to it from any system that is connected to yours through a network. There is absolutely no difference between running it locally and running it remotely, and it is much easier to use over the network than other graphical configuration programs.

Webmin has what is known as a modular design. This means that each of its functions is contained in a module that can generally be installed or removed independently from the rest of the program. Each module is responsible for managing some service or server, such as UNIX users, the Apache Web server, or software packages.

If you have been manually configuring your system up till now, any existing settings will be recognized by Webmin. It always reads the standard configuration files on your system and updates them directly, instead of using its own separate database. This means that you can freely mix Webmin, manual configuration, and other programs or scripts that work in the same way.

Even though this book is written for Linux users, Webmin can be used on many other flavors of UNIX as well, such as Solaris, FreeBSD, and HP/UX. One of its biggest strengths is its understanding of the differences between all these operating systems and the way it adjusts its user interface and behavior to fit your OS. This means that it can often hide the underlying differences between each UNIX variant and present a similar or identical interface no matter which one you are using.

Webmin on its own is not particularly useful though—it is only a configuration tool, so you must have programs installed for it to configure. For example, the Apache module requires that the actual Apache Web server be installed. Fortunately, all of the services and servers that Webmin manages are either included with most Linux distributions as standard, or can be freely downloaded and installed.

Who Should Use Webmin?

Webmin was written for use by people who have some Linux experience but are not familiar with the intricacies of system administration. Even though it makes the process of creating UNIX users or managing the Squid proxy server easy, you must first have some idea of what a UNIX account is and what Squid does. The average Webmin user is probably someone running it on their Linux system at home or on a company network.

The program assumes that you are familiar with basic TCP/IP networking concepts, such as IP addresses, DNS servers, and hostnames. It also assumes that the user understands the layout of the UNIX filesystem, what users and groups are, and where user files are located. If you use Webmin to manage a server like Apache or Sendmail, you should first have an idea of what they can do and what kind of configuration you want completed.

Webmin itself runs with full UNIX root privileges, which means that it can edit any file and run any command on your system. This means that it is quite possible to delete all of the files on your system or make it un-bootable if you make a mistake when using the program, especially if you are configuring something that you don't understand. Even though Webmin will usually warn you before performing some potentially dangerous action, there is still plenty of scope for causing damage.

Even though it can be used on a system with no connection to the Internet, Webmin does benefit if your Linux system is on a network. It can download new software packages, Perl modules, or even new versions of Webmin for you, if connected. A permanent high-speed connection is best, but even a dial-up connection is good enough for most purposes.

Because Webmin runs with root privileges, you must be able to log in to your system as root to install and start it. This means that it cannot be used on a system on which you have only a normal UNIX account, such as a virtual web server that is shared with other people. You might, however, be able to get your system administrator to install and configure it for you.

If you are already an experienced UNIX system administrator, Webmin may not feel like the tool for you because using it is generally slower than directly editing configuration files and running commands. However, even the experts can benefit from its automatic syntax checking and the actions that it can perform automatically.

It is also possible to give different people different levels of access to Webmin, so that an experienced administrator can use it to safely delegate responsibility to less-skilled subordinates. For example, you might want someone to be only able to manage the BIND DNS server and nothing else, while giving yourself full access to the system and all of Webmin's functions.

How and Why Was it Developed?

Webmin, the program, was designed and created by me, Jamie Cameron—the author of this book. I started it back in 1997 and released the first version (0.1) in October of that year. Since that time, its user interface, features, and appearance have changed dramatically, and almost all of the code has been re-written. The basic concept of a web-based administration tool, however, has been the same since that very first release.

I started writing it when I was the administrator for a system running a DNS server and was spending a lot of time updating the server's configuration files to add new host records requested by users. Giving them the root password was not an option—they did not have the experience to properly edit the zone files and re-start the server. The solution was a simple web interface that would display existing DNS records and allow them to be edited, created, and deleted. Users could then safely be given access to this interface to make the changes that they needed.

DNS management was just the start though. Once I saw the possibilities for simplifying the configuration of a UNIX system though a web interface, I started adding other features to the program and putting them into modules. Next came modules for UNIX users, Samba, mounting filesystems, NFS, and Cron jobs. I thought up the name Webmin, made it available for anyone to download, and announced it on a few mailing lists. The initial feedback was good, so I kept on writing.

Over the years, the program has gone through three different user interfaces, grown to 83 modules, added support for non-English languages, provided advanced access control, included lots more operating systems, and offered many other features. The Linux distribution companies Caldera and MSC.Linux have supported the project financially, and many users have made contributions of code patches, modules, translations, and suggestions. In addition to the standard modules, over 100 have been written by other people and are available to be added to Webmin on your system once you have installed the program.

What is this Book About?

This book explains how to install Webmin, how to use almost all of its modules, and how to write your own. The book focuses on the standard modules that come with the Webmin package, not those written by other people. Not all of the 83 standard modules are covered, however, as some are not very useful to the average administrator.

Although this book is written primarily for Linux users, the program behaves almost identically on other operating systems. Each chapter also lists any differences between Linux and other UNIX variants in their "Other Operating Systems" sections. This means that it is still very useful if you are running Webmin on FreeBSD, Solaris, MacOS X, or some other variety of UNIX.

Each chapter in the book covers the use of Webmin for managing a particular service or server, such as NFS exports, Sendmail, or the ProFTPD FTP server. Most chapters only discuss a single module, but some cover two or three that have similar or related purposes. Each chapter is pretty much self-contained, so there is no need to read through the entire book in sequence if you just want to find out how to configure one server. Chapters, and possibly, however, should be read first as they explain how to install Webmin, how to secure it, and how to limit what other users can do with a module, respectively.

Each chapter is broken up into sections, and most sections explain how to perform a specific task. A section will generally contain an introduction to the task explaining why you might want to do it, followed by a list of steps to follow in the Webmin user interface to carry it out. At the beginning of each chapter are sections that introduce the server being configured and the concepts behind it, and list the underlying configuration files that get modified when you use the module covered in that chapter.

Chapters to cover the development of your own Webmin modules and themes, and therefore have a different style. The average user does not need to read them, but if you have an idea for a module that is not currently available, they provide all the information that you need to implement it.

Who Should Read this Book?

This book should be read by anyone wanting to use Webmin to manage their Linux or UNIX systems. It was written for readers with a basic knowledge of UNIX commands and concepts—people who have installed Linux and have used it for a while.

Each chapter starts with an introduction to the service being configured so that readers have some idea of what the DNS protocol is for or how a firewall works. Even so, a complete novice should not try to set up a server until he understands how it works and what he wants it to do. The best way to learn is to use the service on some other system as a user. For example, if you have used a proxy server before on some other network, then you will have the background knowledge needed to use this book to set up the Squid proxy on your own system.

The development chapters, on the other hand, are written for someone who already understands how to write Perl scripts and CGI programs on a UNIX system. This means that they are more complex than the rest of the book, and assume some knowledge of programming and manual system administration. They can be skipped, however, if you just want to learn how to use Webmin rather than how to extend it.

Acknowledgments

This book could not have been written without the support of Jill Harry and the others at Prentice Hall, Robert Kern for suggesting the idea, my wife Foong Ching for her constant support, and all the members of the Webmin mailing list for their ideas and suggestions over the years.


Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organize and find favorite items.
Your tags: Add your first tag
 

 

Customer Reviews

7 Reviews
5 star:
 (5)
4 star:
 (1)
3 star:
 (1)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.6 out of 5 stars (7 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most helpful customer reviews

5.0 out of 5 stars Book Teaches Linux, Not Just Webmin, May 16 2004
By 
Joe Jaworski (North Carolina) - See all my reviews
This review is from: Managing Linux Systems with Webmin: System Administration and Module Development (Paperback)
Before buying this book, I used Webmin and thought it was pretty easy to use and didn't think I needed a book about it. Was I wrong.

Not only does this book teach you all the things that you can do with Webmin, it is an excellent general Linux tutorial. The author goes into details about each subject (including what command line programs are run or which config files are changed by Webmin) and provides the meaning behind each setting. Along the way, you learn things that you didn't know existed or couldn't figure out how to do. For example, I had no idea I could mount a folder from a Windows machine without using samba or NFS. If you need to set up Raid, LVM, Apache Web server, Samba, the list goes on... this is the book.

If you need to set up Linux in a home or small office with Windows file sharing, internet gateway, web and mail hosting, DHCP server, etc., you should buy this book.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


3.0 out of 5 stars A nice book with some flaws, April 5 2004
By 
A Williams "honestpuck" (Neutral Bay, NSW Australia) - See all my reviews
(REAL NAME)   
This review is from: Managing Linux Systems with Webmin: System Administration and Module Development (Paperback)
Webmin is a pretty neat tool for administering a server using a GUI, particularly remotely. Managing Linux Systems with Webmin, written by Webmin's author Jamie Cameron, is an extensive look at using and extending it, a good guide not without flaws.

The book is structured as 60 chapters, without any division into sections and I have serious arguments with the order of chapters; why are the chapters about configuring Webmin at the end, for example. That said, the book has a fine index and the usual two-level contents make it a fraction easier to find what you want.

I do, however, have a little digression about the 'Bruce Peren's Open Source Series,' of which this book is a member. Frankly, I think they all need, and deserve, a much stronger hand in editing. With this volume it is the bad structure and order; with "Intrusion Detection Systems with Snort" I found myself engrossed by the information and furious at the appalling grammar and sentence construction, particularly in the introductory chapters. The others in the series look significantly better at first glance but could still use better editing.

Once again we have an author or publisher who throws Linux into the title to make sure that it gets found by the greatest mass of likely readers while the tool described is more (not that I criticise the practice, they want to sell books.) Any *nix system can be controlled using Webmin -- including a great deal of Mac OS X not available through 'System Preferences.' Indeed, I'd recommend the tool to all OS X users who want to gain better control and install better tools for the underlying BSD layer in OS X. I use it myself for just this reason. If you run any other *nix system don't be put off by the 'Linux' in the title: very little of this book is Linux specific.

This one is well written -- Cameron has a light, informative style that I look for in a tech book. The book is well laid out, he gives good examples, good explanations and screen shots.

Cameron starts out with three introductory chapters on Webmin, its installation and security before launching into forty three chapters on using various Webmin modules, but with no real pattern to the order of most of the chapters. Why, for example, is the NFS module at chapter 4 while the Samba module is discussed in 43? I could list another half dozen examples without raising a sweat.

There is then a chapter on Usermin, the Webmin system for ordinary users. This is followed by three chapters on the server clustering system, a few on Webmin configuration and logging before the volume ends with chapters on building modules and themes.

Some of the chapters on the modules within Webmin border on merely stating the obvious, others are extremely useful. Overall they constitute a good manual to using the system, Webmin users who have not spent a great deal of time administering servers will find them particularly useful. The chapters on clustering, using Webmin on multiple servers to perform the same task at the once on many machines, are a good guide to administering and using this useful facility. I found the chapters on writing your own module more than adequate, I'm well under way to writing my first one after only a short time with the system and book.

One final complaint. Where in this book does it tell you how to start Webmin? I didn't want Webmin running from boot, so I answered No to that question and Webmin then ran. Nowhere did it tell me how to restart Webmin after I rebooted my computer and having the script 'start' in the directory specified as the config directory is a little less than intuitive.

In conclusion, this is a good book. With a little work on the structure it would be an excellent book, rising from a rating of six to an eight or nine. the lack of structure makes it unduly hard to find what you are after. I would recommend Webmin, as a tool, to almost everyone running a supported server. If you have no need for the section on clustering and writing your own modules you could buy The Book of Webmin for a few dollars less or browse the same book (even download a PDF version free) at Swelltech, which is less comprehensive but much better structured (and tells you how to restart Webmin). If you want a guide to Webmin that includes notes on writing your own module then this will do until something better comes along, or they release a second edition with greater thought to structure and order.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


4.0 out of 5 stars Making system administration easy, Jan 3 2004
This review is from: Managing Linux Systems with Webmin: System Administration and Module Development (Paperback)
Webmin is an open-source web application which puts a graphical user interface on the typically command line oriented tasks involved in administrating a Unix-based server. I personally have been using Webmin for many years already, although I initially acquired most of my administration knowledge by getting my hands dirty at the command line level. If administration is not your main job and you don't have all the administration tool syntax memorized or the time to wade through man pages, having a helpful interface like Webmin is a godsend.

The book's author, Jamie Cameron, is also the main developer of Webmin. When you read the book you realize that he is first and foremost a command line administrative guru. However, he wanted to develop something to help novice admins get important jobs done quickly without getting bogged down in learning syntax.

The book has a useful "Contents at a Glance" page at the start which is handy when you want to quickly look up a common administrative task. Then there is the main "Contents" section which contains all of the chapters' subtopics and titles. The end of the book contains a very thorough index. Although the book has 60 chapters, the author did not bother to explicitly divide them up into sections. On my first glance at the book, it seemed as though the chapters were not very logically ordered, but upon further inspection I realized that they follow the general ordering of the modules within the Webmin application. The one exception is that the chapter on configuring Webmin itself is found close to the end of the book although it is the very first module in the actual application. If I had to split the book up into sections, I would do so as follows: Introduction/Installation, System Modules, Networking Modules, Hardware Modules, Miscellaneous Modules, Server Modules, Usermin, Clusters, Webmin Configuration, Custom Module Development, and The API.

The book starts off with a rather short but efficient introduction, installation guide and security suggestions for Webmin. Maybe a few more ideas should have been included in the "Securing Your Webmin Server" chapter. I'm sure security is a topic which many admins would like to see emphasized because of the general mistrust of granting power to a remotely accessible administration system which might easily allow a hacker or ignorant admin to take down a critical server.

Webmin lets you perform many high-level tasks without ever knowing what files on the server are being affected. For myself, as a programmer who sometimes gets involved with administration work, I have configured sendmail services using Webmin many times and I have just let it work its magic without worrying about the file changes being made. This book, in addition to explaining usage of the application, fills in the details of what is going on behind the scenes.

I believe Webmin is a great tool for junior administrators or hobbyists to learn Unix-based administration as long as a book like this one is used so the processes are thoroughly understood. This book probably won't be of much use to a professional administrator with lots of experience and a repertoire of scripts to handle all daily admin tasks. Although, if you are a pro and have grown weary of tedious command line work, this book will help you quickly get up to speed with the Webmin interface.

I found that the book also introduced me to a few concepts I had only heard about but had not really bothered to delve into more, such as Usermin and Clustering. Usermin is basically a trimmed version of Webmin meant for use by the average user on a system. I can see this being used in cases where an administrator wants to give users enough power to control their own email and website settings without giving them shell access. The author devotes three chapters to clustering and explains its usefulness, management and configuration.

At the end of the book you will find a number of useful chapters on creating your own Webmin modules, including explanations of standard module flow structuring, API function descriptions, and a sample dissection of the default theme structure. This section alone may be reason enough for some to purchase this book.

The writing is fairly clear, although as I mentioned before, some of the unusual chapter ordering and missing section divisions are distracting. All in all, this book is a very thorough explanation of the Webmin administration interfaces as well as an introduction to the lower level work being done by the interface, and a short but informative section for those wanting to create their own modules.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
Want to see more reviews on this item?
 Go to Amazon.com to see all 10 reviews  4.4 out of 5 stars 
 
 
Most recent customer reviews





Only search this product's reviews



Listmania!

Create a Listmania! list

Look for similar items by category


Look for similar items by subject


Feedback


Amazon.ca Privacy Statement Amazon.ca Shipping Information Amazon.ca Returns & Exchanges