Logo Page Web Française
Accueil Association BSD Linux Dev Reseau Infologisme Mac OSX
tl tr
Subject Setup Date 2010-08-30
Title Webmin - Downloading and Installing Section Mac OSX
Article

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. The magic clique where the window smiles upon us, in English « Windows », what is a world of very relative ease. Webmin knows how to configure the biggest server software Unix of the market, which I you the reminder, are for the greater part free.

In our precise case under Mac OSX we need it for Apache, Bind, MySQL, ProFTPD, Samba, Squid, Webalizer, etc.


Remark:

Name of the host for this example: MacBook Pro
The hostname is: macbook-pro.local


Open a session « root » User

Download on the site www.webmin.com the package webmin-1.520.tar.gz, do not uncompress with Stuffit.

On the desk in Finder to choose Go menu then Go to Folder..., in the dialolog box to type /usr/local/ and click on the button Go .

Copy the file webmin-1.520.tar.gz in the file /usr/local/

Open a 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.520.tar.gz press Enter

Seize tar -xvf Web then press Tab key.

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

Seize Cd Web then press Tab key.

You will have this Cd webmin-1.520 press Enter

Seize ./setup.sh press Enter

We have to answer several questions:

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

The user name by defect is admin take root and type its password.

Login name (default admin): Seize 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


What you must to obtain in the window of the Terminal!


MacBook-Pro:~ root$ cd /usr/local/
MacBook-Pro:local root$ gunzip webmin-1.520.tar.gz
MacBook-Pro:local root$ tar -xvf webmin-1.520.tar
MacBook-Pro:local root$ cd webmin-1.520
MacBook-Pro:webmin-1.520 root$ ./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.520 ...

***********************************************************************
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:    Mac OS X / OS X Server
Operating system version: 10.5

***********************************************************************
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.520
..done

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

    http://macbook-pro.local:10000/

and login with the name and password you entered previously.

MacBook-Pro:webmin-1.520 root$



See article on the location of language: Webmin - Configure and launch or start

Author
Eric Douzet
Début de page
bl br
C-extra.com v. 1.2.0 © 2003-2010, all rights reserved  -  Updated September 08, 2010 Infologism.com