« Previous day (Mar 23, 2005) | Main | Next day (Mar 25, 2005) »

20050324 Thursday March 24, 2005

Webmin on Solaris

Many of you may not realize this, but webmin is built in to Solaris 10 (under /usr/sfw). To get it up and running, run the following as root:

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



Now point your browser to https://yourserver:10000 and get an secure connection to your server from which you can do some administration. I'm on an internal alias @ Sun where someone notified us that webmin 1.190 is available, with Service Management Facility Support!. Awesome (totally). I wish I could give credit to whoever sent out the notification, but I'm not VPN'd in and I cleaned out my inbox (Compact Folders in Thunderbird). Damn. I can neither confirm nor deny if it was a non-blogging heathen either.

Here is the conversation I had with my server/webadmin:


# svcadm disable webmin
# ./setup.sh
***********************************************************************
*            Welcome to the Webmin setup script, version 1.190        *
***********************************************************************
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.
 
Installing Webmin in /tmp/webmin-1.190 ...
 
***********************************************************************
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
 
 
Checking for third-party modules ..
The following third party modules were found in your old Webmin
installation in /usr/sfw/lib/webmin :
  sunjds       Sun JDS Theme
Copy to new Webmin installation (y/n): y
..done
 
Inserting path to perl into scripts..
..done
 
Creating start and stop scripts..
..done
 
Updating config files..
..done
 
Creating uninstall script /etc/webmin/uninstall.sh ..
..done
 
Changing ownership and permissions ..
..done
 
Running postinstall scripts ..
..done
 
Attempting to start Webmin mini web server..
Starting Webmin server in /tmp/webmin-1.190
..done
 
***********************************************************************
Webmin has been installed and started successfully. Use your web
browser to go to
 
  https://host: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.
 
The directory from the previous version of Webmin
   /usr/sfw/lib/webmin
Can now be safely deleted to free up disk space, assuming
that all third-party modules have been copied to the new
version.
 

Ummm ... me-thinks I better revisit the install of webmin with setup.sh /usr/local/bin instead of ./setup.sh from ... /tmp! :) I think installing this version is entering the realm of unsupportability, but you can't blame me for wanting to see the SMF screen, can you? If you happen to want to delete the webmin in in /usr/sfw, keep in mind these bits are layed down as a part of Solaris packages, so delete them using pkgrm.

Regardless, attached is a screen snapshot of the SMF webmin page ...

Update: Hey, my bad on the size of the image ... almost 900K! When I get a chance, I'll gimp or photoshop it down a notch ...

(2005-03-24 06:59:45.0) Permalink Comments [5]