install webmin on freebsd 7.1


:: whatis
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 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]: ( enter )

***********************************************************************
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): ( enter )

Testing Perl ...
Perl seems to be installed ok

***********************************************************************
Operating system name: FreeBSD
Operating system version: 7.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): ( enter )
Login name (default admin): ( enter )
Login password: ( yourpassword )
Password again: ( yourpassword )
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 ..
..done

:: run webmin service
[ root ]# /usr/local/etc/rc.d/webmin rcvar
# webmin
webmin_enable=YES
[ root ]# /usr/local/etc/rc.d/webmin start
Starting 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

:: Cheap Web Hosting :: ~ only from Rp. 900/mo; 250Mb/mo of Bandwidth ~ :: Web Hosting Murah Meriah :: ~ mulai dari Rp. 900/bln; Bandwidth 250Mb/bln ~