Logo Page Web Française
Accueil Association BSD Linux Dev Reseau Infologisme Mac OSX
tl tr
Subject Setup Date 2013-10-06
Title Webmin - Server and System Administration Section BSD Linux
Article

Foreword

Webmin is one « Web Application » very succeeded, what allows to administer one or several Servers in local or remote. For the neophyte Web application, is a software written with a scripting language which do not compile an achievable file. It has many advantages and also some inconveniences. But mostly, it is only our vision or interpretation of the things that penalizes us. Webmin knows how to configure the Unix Servers of the market, which I you the reminder, are for the greater part free.

In this specific example under FreeBSD, Linux and Unix we need it for Apache, Bind, MySQL, ProFTPD, Samba, Squid, Webalizer, etc.

Prerequisites

Server version required:

Operating System : Arch Linux, Fedora or FreeBSD or another Unix
Language : Perl
Server Administration : Webmin



FreeBSD Install – Perl CPAN Modules

Components or Packages necessary for Perl.

portupgrade -N p5-Authen-Libwrap press Enter
portupgrade -N p5-IO-Tty press Enter
portupgrade -N p5-Libwww press Enter
portupgrade -N p5-Net-SSLeay press Enter
portupgrade -N p5-perl-ldap press Enter
portupgrade -N p5-String-Multibyte press Enter

portupgrade -N gzip press Enter

Do not forget the command fetch in the Console mode with FreeBSD, going in the directory :

cd /usr/local

fetch http://prdownloads.sourceforge.net/webadmin/webmin-1.660.tar.gz


Linux Install – Perl CPAN Modules

Rubric ahead

Installation

Open one session in « root » Super-user

Download on the site www.webmin.com the package webmin-1.660.tar.gz

The most common folder for installation from tarballs .gz is the directory /usr/local

If you're using GNU Tar, you can do this all on one command line:

# tar zxvf webmin-1.660.tar.gz

If you have one ancient version of Tar, you must unzip the file first and then untar it:

# gunzip webmin-1.660.tar.gz
# tar -xvf webmin-1.660.tar
# cd webmin-1.660
# ./setup.sh

Localization see article Webmin - Configure and launch or start

Installation – Detail

Download on the site www.webmin.com the package webmin-1.660.tar.gz.

Copy the webmin-1.660.tar.gz file in the directory /usr/local/ if this folder does not exist, it is necessary to create it.

Open Terminal.

Seize cd /usr/local/ press Enter

Seize gunzip Web then press Tab key, you have just discovered completion.

You will have this gunzip webmin-1.660.tar.gz press Enter

Seize tar -xvf Web then press Tab key.

You will have this tar -xvf webmin-1.660.tar press Enter

Seize cd Web then press Tab key.

You will have this cd webmin-1.660 press Enter

Seize ./setup.sh press Enter

Installation – Answer the questionnaire

Config file directory [/etc/webmin]: press Enter

Log file directory [/var/webmin]: press Enter

Full path to perl (default /usr/bin/perl): press Enter

Web server port (default 10000): press Enter

Remark : The user name by default is admin take root and type its password.

Login name (default admin): Seize the Super-user name and press Enter

Remark : During the seizure of the password we do not see the seizure, this is normal Ok!

Login password: Seize the password and press Enter
Password again: Seize the password and press Enter

Remark : For enter y the Package perl-Net-SSLeay must be installed for use Webmin with SSL encryption.

Use SSL (y/n): Seize n press Enter

Seize y for launch automatically Webmin to the starting up of the Server.

Start Webmin at boot time (y/n): Seize y press Enter

Installation – Terminal detail

[root@localhost ~]# cd /usr/local/
[root@product local]# gunzip webmin-1.660.tar.gz
[root@product local]# tar -xvf webmin-1.660.tar
[root@product local]# cd webmin-1.660
[root@product webmin-1.660]# ./setup.sh

***********************************************************************
*            Welcome to the Webmin setup script, version 1.500        *
***********************************************************************
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.

Installing Webmin in /usr/local/webmin-1.660 ...

***********************************************************************
Webmin uses separate directories for configuration files and log files.
Unless you want to run multiple versions of Webmin at the same time
you can just accept the defaults.

Config file directory [/etc/webmin]:
Log file directory [/var/webmin]:

***********************************************************************
Webmin is written entirely in Perl. Please enter the full path to the
Perl 5 interpreter on your system.

Full path to perl (default /usr/bin/perl):

Testing Perl ...
Perl seems to be installed ok

***********************************************************************
Operating system name:    FreeBSD
Operating system version: 8.4

***********************************************************************
Webmin uses its own password protected web server to provide access
to the administration programs. The setup script needs to know :
- What port to run the web server on. There must not be another
  web server already using this port.
- The login name required to access the web server.
- The password required to access the web server.
- If the webserver should use SSL (if your system supports it).
- Whether to start webmin at boot time.

Web server port (default 10000):
Login name (default admin): root
Login password:
Password again:
Use SSL (y/n): n
Start Webmin at boot time (y/n): y
***********************************************************************
Creating web server config files..
..done

Creating access control file..
..done

Inserting path to perl into scripts..
..done

Creating start and stop scripts..
..done

Copying config files..
..done

Configuring Webmin to start at boot time..
Created init script /etc/rc.d/init.d/webmin
..done

Creating uninstall script /etc/webmin/uninstall.sh ..
..done

Changing ownership and permissions ..
..done

Running postinstall scripts ..
..done

Attempting to start Webmin mini web server..
Starting Webmin server in /usr/local/webmin-1.660
..done

***********************************************************************
Webmin has been installed and started successfully. Use your web
browser to go to

    http://product.domain.com:10000/

and login with the name and password you entered previously.

[root@product webmin-1.660]#


Remark : See the article on the localization: Webmin - Configure and launch or start


Related article about the subject

Webmin - Configure and launch or start
Configure Oracle VM VirtualBox for FreeBSD-8.4
FreeBSD - Install and Configure version 7.4-RELEASE
FreeBSD - Install and Configure version 8.4-RELEASE
FreeBSD - Install and Configure version 9.2-RELEASE
Webmin - Server Administration Mac OSX

Author
Eric Douzet
Début de page
bl br
C-extra.com v. 1.2.0 © 2000-2014, all rights reserved  -  Updated April 12, 2014 Infologism.com