Book Image

Webmin Administrator's Cookbook

By : Michal Karzynski
Book Image

Webmin Administrator's Cookbook

By: Michal Karzynski

Overview of this book

Table of Contents (19 chapters)
Webmin Administrator's Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Downloading files from the server


You will often run into a situation where you need to view the contents of a file or download a file from your server. Webmin's Upload and Download module makes these tasks very easy.

In this recipe, we'll inspect your system's hostname database file to check if you defined any local hostname entries that override domain names resolved by DNS. This file is stored in /etc/hosts on most systems.

How to do it...

Follow these steps to download a file from the server:

  1. Navigate to Others | Upload and Download.

  2. Select the Download from server tab.

  3. Click the ellipsis () button in the File to download line.

  4. Select the file hosts located in the /etc directory in the file browser.

  5. Answer Yes to the question Show in browser if possible?.

  6. Click Download.

The hosts file will be displayed in your browser. If you would prefer to download your file to disk, simply answer No in step 5.

How it works...

Webmin accesses the file you select from your system disk. If the file contains text...