please take a look at this.
:: install webmin on ports
[ root ]# cd /usr/ports/sysutils/webmin[ root ]# make config ; make install clean
:: configure webmin
[ root ]# vi /etc/rc.conf
----------
webmin_enable="YES"
---------------
[ root ]# /usr/local/lib/webmin/setup.sh
************************************************************************ Welcome to the Webmin setup script, version 1.480 ************************************************************************Webmin is a web-based interface that allows Unix-like operatingsystems 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 timeyou can just accept the defaults.Log file directory [/var/log/webmin]: ( enter )***********************************************************************Webmin is written entirely in Perl. Please enter the full path to thePerl 5 interpreter on your system.Full path to perl (default /usr/bin/perl): ( enter )Testing Perl ...Perl seems to be installed ok***********************************************************************Operating system name: FreeBSDOperating system version: 7.1***********************************************************************Webmin uses its own password protected web server to provide accessto the administration programs. The setup script needs to know :- What port to run the web server on. There must not be anotherweb 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): ( enter )Login name (default admin): ( enter )Login password: ( yourpassword )Password again: ( yourpassword )Use SSL (y/n): y***********************************************************************Creating web server config files....doneCreating access control file....doneCreating start and stop scripts....doneCopying config files....doneChanging ownership and permissions ....doneRunning postinstall scripts ....done
:: run webmin service
[ root ]# /usr/local/etc/rc.d/webmin rcvar# webminwebmin_enable=YES[ root ]# /usr/local/etc/rc.d/webmin startStarting webmin.Pre-loaded WebminCore
:: testink
open your web browser and goto url https://yourdomain.ltd:10000 or https://yourip:10000
:: links



0 komentar:
Post a Comment