Archive for December, 2011

Install Webmin Application on FreeBSD

Posted in FreeBSD on December 10, 2011 by kiranopatil

Install Webmin Application on FreeBSD

Webmin is a web-based interactive tool used for remote administration work for UNIX & Linux systems. It is very useful tool for administrators.

To Install Webmin, First you need to update the ports

#portsnap fetch update

Execute Webmin command

# cd /usr/ports/sysutils/webmin

# make install clean

Configure Webmin the service

# vi /etc/rc.conf

Add following line

webmin_enable=”YES”

Save and close the file.You need to run the Script to setup various configure files

# cd /usr/local/lib/webmin/

# ./setup.sh

Output

***********************************************************************

*            Welcome to the Webmin setup script, version 1.570        *

***********************************************************************

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]: (Default press Enter Button)

***********************************************************************

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): (Default press Enter Button)

Testing Perl …

Perl seems to be installed ok

***********************************************************************

Operating system name:    FreeBSD

Operating system version: 8.0

***********************************************************************

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): (Default press Enter Button)

Login name (default admin): (Default press Enter Button)

Login password: (Type the password )

Password again: (Type the password )

Use SSL (y/n):  (Type if you want SSL press y or n)

***********************************************************************

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 ..

PID file /var/log/webmin/miniserv.pid does not exist

: Permission denied

syslog-ng: not found

: Permission denied

..done

Enabling background status collection ..

PID file /var/log/webmin/miniserv.pid does not exist

..done

To start the Webmin service.

# /usr/local/etc.rc.d/webmin start

Run any browser, type the server name or IP with respective of  :10000.

https://serverip:10000

Login page.

 

Advertisements