Free Sample
+ Collection
Code Files

Webmin Administrator's Cookbook

Michał Karzyński

Over 100 recipes to leverage the features of Webmin and master the art of administering your web or database servers.
RRP $26.99
RRP $44.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849515849
Paperback376 pages

About This Book

  • Configure an Apache web server, MySQL or PostgreSQL database and a Postfix mail server with the help of Webmin
  • Install and get to know Webmin - the friendly web-based administrator's toolbox
  • Learn how to host web applications and databases
  • Manage your servers with the help of detailed step-by-step recipes

Who This Book Is For

This book is perfect for System administrators who want to learn more advanced concepts of Webmin and how it can help to set up a server for development, testing or deployment.

Table of Contents

Chapter 1: Setting Up Your System
Installing Webmin on a Debian-based system
Installing Webmin on an RPM-based system
Installing Webmin on another system
Connecting to Webmin
Installing additional Webmin modules
Monitoring what Webmin is doing
Controlling which system services are started at boot
Inspecting the installed software packages
Installing software packages
Updating the installed packages to the latest versions
Enabling Webmin to send an e-mail
Getting an e-mail when new versions of packages become available
Reading the documentation of the installed software
Chapter 2: User Management
Creating a Webmin user
Creating a Webmin group with access to specific modules and options
Allowing users to log in to Webmin with the system credentials
Creating Webmin users based on system accounts
Controlling who is currently using Webmin
Creating a system user account
Modifying a user's UID and other information
Temporarily disabling a user account
Creating and editing a system group
Changing a user's password
Exporting users and importing them into another system
Installing Usermin
Chapter 3: Securing Your System
Setting up a Linux firewall
Allowing access to a service through the firewall
Verifying your firewall by port scanning
Turning off unnecessary services
Verifying the strength of passwords
Disabling root login over SSH
Restricting Webmin access to a specific IP
Connecting to Webmin securely over an SSH tunnel
Closing inactive Webmin sessions automatically
Chapter 4: Controlling Your System
Executing a command on the server
Executing a command as another user
Setting a command to be executed in the future
Scheduling a command to run regularly with cron
Creating a panel for the commands that you execute often
Creating a panel with the database commands that you execute often
Running a terminal emulator in the browser
Chapter 5: Monitoring Your System
Viewing and searching through system logfiles
Saving Syslog messages to a file
Adding other logfiles to Webmin
Configuring logfile rotation
Listing recent logins
Receiving an e-mail when a service stops running
Automatically restarting a service that goes down
Monitoring a remote server
Chapter 6: Managing Files on Your System
Downloading files from the server
Uploading files to the server
Managing files and directories on the server
Changing file ownership and permissions
Setting up network-shared folders for Windows
Mounting a Windows-shared folder
Setting up an NFS-shared volume
Mounting a remote NFS volume
Giving users access to your server via SFTP
Giving users access to your server via FTP
Chapter 7: Backing Up Your System
Backing up configuration files
Restoring configuration files from backup
Automatically backing up configuration files
Creating a backup of a selected directory
Creating a backup of an entire mount point
Backing up to a remote host
Setting up automatic backups
Backing up databases
Chapter 8: Running an Apache Web Server
Installing Apache on your system
Restarting Apache
Enabling Apache modules
Creating a static HTML site
Creating a virtual host
Setting options for directories, files, and locations
Creating a password-protected website
Displaying a listing of files in a directory
Redirecting incoming requests
Setting up encrypted websites with SSL
Logging incoming requests and errors
Analyzing logfiles using Webalizer
Chapter 9: Running a MySQL Database Server
Installing the MySQL database server
Allowing access to MySQL over the network
Accessing your MySQL server over an SSH tunnel
Creating a new database
Creating users and granting permissions to databases
Creating a backup of your database
Executing custom SQL commands
Restoring database from the backup
Editing the structure of your database
Editing records in a database
Checking who is using your database server
Installing phpMyAdmin
Chapter 10: Running a PostgreSQL Database Server
Installing the PostgreSQL database server
Locating the PostgreSQL server configuration files
Allowing access to PostgreSQL over the network
Accessing the PostgreSQL server over an SSH tunnel
Creating a new database
Creating users and granting permissions
Creating a backup of your database
Executing custom SQL commands
Restoring a database from backup
Editing the structure of your database
Editing records in a database
Installing phpPgAdmin
Chapter 11: Running Web Applications
Generating dynamic pages using CGI
Installing PHP
Changing PHP configuration settings
Displaying PHP errors while debugging
Logging in PHP
Installing WordPress on your server
Installing Drupal on your server
Installing a Django-based application using mod_wsgi
Chapter 12: Setting Up an E-mail Server
Setting up your server to send and receive e-mails
Setting up secure IMAP access to mailboxes
Setting up a secure SMTP relay for users
Controlling the mail queue
Reading and writing e-mails on the server
Configuring e-mail aliases
Filtering incoming mail using Procmail and SpamAssassin
Debugging e-mail-related problems

What You Will Learn

  •  Learn how to install, configure, and use Webmin
  •  Set up file sharing over FTP, SFTP, NFS, and CIFS (Windows Networking)
  •  Monitor the state of your server and analyze system logs
  •  Get started with popular technologies such as WordPress, Drupal, and Django
  •  Learn to manage files and folders on your system
  •  Run an Apache web server
  •  Set up web applications written in PHP and Python

In Detail

Running your own dedicated server has become simpler and less expensive. These days, administering a development server or hosting sites and web applications has become part of the job for many developers. Webmin is an easy-to-use web-based tool which makes getting started with new administrative tasks and performing common jobs more simple and efficient.

Webmin Administrator's Cookbook offers practical, step-by-step recipes covering a range of topics related to setting up and administering a server. The book will show you how Webmin can help you configure an Apache web server, MySQL server, or PostgreSQL database server, as well as how to set up web applications running in PHP or Python.

The book starts by showing you how to set up Webmin on your server and provides you with clear, practical tutorials on configuring various services needed to run a full-fledged web server.

The book provides a handy reference for performing various administrative tasks using Webmin. Whether you want to lock down your server to put it on the Internet or open up more convenient access for use on an internal network, you'll learn how Webmin can help you do it.The book provides recipes for running Apache, MySQL, and PostgreSQL and for getting started with PHP, WordPress, Drupal, Python, and Django.Webmin Administrator's Cookbook will enable you to step more confidently into the world of server administration and prove to be a valuable add-on to your arsenal.


Read More