Webmin is a great tool to use for managing your headless FreeBSD Server.
devsvn# portmaster /usr/ports/sysutils/webmin ===>>> Port directory: /usr/ports/sysutils/webmin ===>>> Gathering distinfo list for installed ports ===>>> Launching 'make checksum' for sysutils/webmin in background ===>>> Gathering dependency list for sysutils/webmin from ports ===>>> Initial dependency check complete for sysutils/webmin ===>>> Starting build for sysutils/webmin <<<=== ===>>> All dependencies are up to date ===> Cleaning for webmin-1.520 ===> Vulnerability check disabled, database not found ===> License check disabled, port has not defined LICENSE ===> Extracting for webmin-1.520 => MD5 Checksum OK for webmin-1.520.tar.gz. => SHA256 Checksum OK for webmin-1.520.tar.gz. ===> webmin-1.520 depends on file: /usr/local/bin/perl5.10.1 - found ===> Patching for webmin-1.520 ===> webmin-1.520 depends on file: /usr/local/bin/perl5.10.1 - found ===> Applying FreeBSD patches for webmin-1.520 ===> webmin-1.520 depends on file: /usr/local/bin/perl5.10.1 - found ===> Configuring for webmin-1.520 ===> Building for webmin-1.520 ===> Installing for webmin-1.520 ===> Generating temporary packing list ===> Checking if sysutils/webmin already installed @comment Insert PLIST.lib-webmin here *********************************************************************** * Welcome to the Webmin setup script, version 1.520 * *********************************************************************** 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]: *********************************************************************** 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 *********************************************************************** cat: /etc/redhat-release: No such file or directory Operating system name: FreeBSD Operating system version: 8.1 *********************************************************************** 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): Login password: Password again: Use SSL (y/n): y *********************************************************************** Creating web server config files.. ..done Creating access control file.. ..done Creating start and stop scripts.. ..done Copying config files.. ..done Changing ownership and permissions .. ..done Running postinstall scripts .. syslog-ng: not found ..done Enabling background status collection .. ..done After installing Webmin for the first time you should perform the following steps as root: * Configure Webmin by running /usr/local/lib/webmin/setup.sh * Add webmin_enable="YES" to your /etc/rc.conf * Start Webmin for the first time by running /usr/local/etc/rc.d/webmin start The parameters requested by setup.sh may then be changed from within Webmin itself. ===> Installing rc.d startup script(s) ===> Registering installation for webmin-1.520 ===> Cleaning for webmin-1.520 ===>>> pkg-message for webmin-1.520 After installing Webmin for the first time you should perform the following steps as root: * Configure Webmin by running /usr/local/lib/webmin/setup.sh * Add webmin_enable="YES" to your /etc/rc.conf * Start Webmin for the first time by running /usr/local/etc/rc.d/webmin start The parameters requested by setup.sh may then be changed from within Webmin itself. ===>>> Done displaying pkg-message files ===>>> Installation of sysutils/webmin (webmin-1.520) complete devsvn#
Now Add webmin_enable=”YES” to your /etc/rc.conf
Start the webmin server:
devsvn# /usr/local/etc/rc.d/webmin start Starting webmin. Pre-loaded WebminCore devsvn#