Webmin Administrator's Cookbook

Over 100 recipes to leverage the features of Webmin and master the art of administering your web or database servers.

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.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$18.90
RRP $26.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$18.90
$44.99
$29.99p/m after trial
RRP $26.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Code Files
Preview in Mapt

Book Details

ISBN 139781849515849
Paperback376 pages

Book Description

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.

Table of Contents

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

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

Authors

Table of Contents

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

Book Details

ISBN 139781849515849
Paperback376 pages
Read More

Read More Reviews

Recommended for You

CentOS 6 Linux Server Cookbook Book Cover
CentOS 6 Linux Server Cookbook
$ 29.99
$ 21.00
Linux Shell Scripting Cookbook, Second Edition Book Cover
Linux Shell Scripting Cookbook, Second Edition
$ 26.99
$ 5.40
Network Analysis using Wireshark Cookbook Book Cover
Network Analysis using Wireshark Cookbook
$ 29.99
$ 6.00
WordPress 4.x Complete Book Cover
WordPress 4.x Complete
$ 39.99
$ 28.00
Git: Version Control for Everyone Book Cover
Git: Version Control for Everyone
$ 23.99
$ 16.80
Python Network Programming Cookbook Book Cover
Python Network Programming Cookbook
$ 26.99
$ 18.90