Howto- Install Webmin in FreeBSD

Question: How to install Webmin in FreeBSD 8.x en 9.x ?

Answer:  Before to begin, you need to install Perl,  do that using the command

# cd /usr/ports/lang/perl5.10 # make;make install;make clean

Install   Webmin

FreeBSD# cd /usr/ports/sysutils/webmin
 FreeBSD# make install clean


Ports system will fetch and build webmin for you. After that’s done. You’ll need to run the webmin script, like shown below:

FreeBSD# /usr/local/lib/webmin/

* Welcome to the Webmin setup script, version 1.5xx *
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/lib/webmin …

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.

Log file directory [/var/log/webmin]: /press Enter here to accept default/

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): /press Enter here to accept default/

Testing Perl …
Perl seems to be installed ok

Operating system name: FreeBSD
Operating system version: 8.x

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): /press Enter here to accept default, or type your own choice/
Login name (default admin): /press Enter here to accept default/
Login password: /set your password here/
Password again: /retype your password here/
Use SSL (y/n): y /type y here to use SSL for the web interface, otherwise, type n here/
Creating web server config files..

Creating access control file..

Creating start and stop scripts..

Copying config files..


Changing ownership and permissions ..

Running postinstall scripts ..

Script is now completed. You start webmin by running the following command:

 FreeBSD# /usr/local/etc/webmin/start

If this command reports no errors, you can point your browser to

Please shareShare on Facebook0Share on Google+0Tweet about this on TwitterShare on LinkedIn4Share on Reddit0Digg thisShare on StumbleUpon0Share on VKBuffer this page