468x60 Ads

Tuesday, September 11, 2012

Pin It

Widgets

Install Webmin in solaris 10




What is Webmin…?

Webmin is a web-based interface for system administration for Unix, and it will help administrators to handle so many applications that are running on Unix systems and the system (OS) very easily(eg: mysql, logs, DHCP servers, apache server, setup user accounts, DNS, file sharing and many more).

Default webmin is built in to Solaris 10 under /usr/sfw/webmin  directory.
What you want to do is setup webmin and enables webmin service.
Login as root:#su

Enter a port for the web server. 10000 is the default port

# /usr/sfw/lib/webmin/setup.sh

Or

# /usr/sfw/bin/webminsetup

Login name (default root):
root
Web server port (default 10000):
10000

Use SSL?  [y,n,?,q] ?
        To respond in the affirmative, enter y, yes, Y, or YES. To respond in
        the negative, enter n, no, N, or NO.

Use SSL?  [y,n,?,q] y
***********************************************************************
*            Welcome to the Webmin setup script, version 1.170        *
***********************************************************************
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.

Installing Webmin in /usr/sfw/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.

Config file directory [/etc/webmin]: Found existing Webmin configuration in /etc/webmin


Creating start and stop scripts..
..done

Updating config files..
..done

Changing ownership and permissions ..
..done

Running postinstall scripts ..
..done

Attempting to start Webmin mini web server..
..done

***********************************************************************
Webmin has been installed and started successfully. Use your web
browser to go to

  https://MEN-TM:10000/

and login with the name and password you entered previously.

Because Webmin uses SSL for encryption only, the certificate
it uses is not signed by one of the recognized CAs such as
Verisign. When you first connect to the Webmin server, your
browser will ask you if you want to accept the certificate
presented, as it does not recognize the CA. Say yes.S

Then enable the webmin service

# svcadm enablewebmin


First download relevant webmin package (webmin-1.590.pkg.gz) from http://www.webmin.com/download.html

If your server having internet access:
#
#wgethttp://prdownloads.sourceforge.net/webadmin/webmin-1.590.pkg.gz

Login as root
#su

Untar the webmin package

gunzip webmin-1.590.pkg.gz
pkgadd -dwebmin-1.590.pkg WSwebmin

go to
 #cd /usr/sfw/lib/webmin


Run the setup script
 #./setup.sh

Enter a port for the web server. 10000 is the default port.

The installation will be made to /opt/webmin , you should now be able to login to Webmin at the
URL http://localhost:10000/With the administration username root  and your current root password.


Sample DHCP server configure in Webmin:





0 comments:

Post a Comment