Webmin Administrator's Cookbook


Webmin Administrator's Cookbook
eBook: $26.99
Formats: PDF, PacktLib, ePub and Mobi formats
$22.94
save 15%!
Print + free eBook + free PacktLib access to the book: $71.98    Print cover: $44.99
$44.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Reviews
Support
Sample Chapters
  • 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

Book Details

Language : English
Paperback : 376 pages [ 235mm x 191mm ]
Release Date : March 2014
ISBN : 1849515840
ISBN 13 : 9781849515849
Author(s) : Michał Karzyński
Topics and Technologies : All Books, Networking and Servers, Web Development, Cookbooks, Open Source


Table of Contents

Preface
Chapter 1: Setting Up Your System
Chapter 2: User Management
Chapter 3: Securing Your System
Chapter 4: Controlling Your System
Chapter 5: Monitoring Your System
Chapter 6: Managing Files on Your System
Chapter 7: Backing Up Your System
Chapter 8: Running an Apache Web Server
Chapter 9: Running a MySQL Database Server
Chapter 10: Running a PostgreSQL Database Server
Chapter 11: Running Web Applications
Chapter 12: Setting Up an E-mail Server
Index
  • Chapter 1: Setting Up Your System
    • Introduction
    • 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
    • Introduction
    • 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
    • Introduction
    • 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
    • Introduction
    • 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
    • Introduction
    • 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
    • Introduction
    • 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
    • Introduction
    • 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
    • Introduction
    • 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
    • Introduction
    • 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
    • Introduction
    • 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
    • Introduction
    • 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
    • Introduction
    • 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

Michał Karzyński

Michał Karzyński, with a scientific research background in the areas of molecular biology and bioinformatics, has been running Unix-like operating systems since 2002. He works as a web application developer, programming in dynamic languages such as JavaScript, Python, Perl, and PHP. He specializes in designing programming interfaces between servers and client applications based on the HTTP protocol. He has been using Webmin for over five years to assist in setting up and managing servers. He is currently employed as a project manager at the Gdańsk University of Technology in Poland. His blog can be found at http://michal.karzynski.pl.

Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


Errata

- 1 submitted: last submission 25 Jun 2014

Errata type: Grammar | Page number: 269

The 1st paragraph:

Testing the connection

Try to connect to your database server from the client machine that uses the IP we specified.

Should be:

For testing the connection, try to connect to your database server from the client machine that uses the IP we specified.

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

Webmin Administrator's Cookbook +    Implementing Samba 4 =
50% Off
the second eBook
Price for both: $39.00

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  •  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.

Approach

Written in a cookbook format with practical recipes this book helps you to perform various administrative tasks using Webmin and enables you to perform common jobs more efficiently.

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.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software