New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Install Webmin


Post Reply New Thread Subscribe

 
Thread Tools
gatorparrots
Guest
 
Posts: n/a

How to install Webmin on Mac OS X 10.1.x or 10.2

From the README:
Webmin is a web-based interface for system administration for Unix.
Using any browser that supports tables and forms, you can setup user
accounts, Apache, internet services, DNS, file sharing and so on.

Webmin consists of a simple web server, and a number of CGI programs
which directly update system files like /etc/inetd.conf and /etc/passwd.
The web server and all CGI programs are written in Perl version 5, and use
only the standard perl modules.

For more information, see http://www.webmin.com/


Before you install, it would be good to install the Perl SSLeay library:
First, cd to your downloads or source repository. Then:

cd /src
curl -O http://www.bacus.pt/Net_SSLeay/Net_SSLeay.....pm-1.12.tar.gz
tar xzf Net_SSLeay.pm-1.12.tar.gz
mv Net_SSLeay.pm-1.12 netssl
cd netssl
perl Makefile.PL -t
sudo make install


Great, now that SSL functionality is available, let's go get Webmin. First, cd to your downloads or source repository. Then:

curl -O http://telia.dl.sourceforge.net/sourceforg...in-1.030.tar.gz
tar -xzf webmin-1.030.tar.gz
You may or may not want it to live in /usr/local/bin; it's up to your particular configuration move it wherever you want the executable to live.
sudo mv webmin-1.030 /usr/local/bin/webmin-1.030
cd /usr/local/bin/webmin-1.030
sudo ./setup.sh
This will run the installation script. The good news is that it is OS X savvy, so you don't have to provide any intervention. Along the way it will ask for locations and settings; the defaults are fine:
Config file directory [/etc/webmin]:
Log file directory [/var/webmin]:
Full path to perl (default /usr/bin/perl):
(Feel free to change the server port to whatever you want)
Web server port (default 10000):
Login name (default admin):
Login password:
Password again:
Start Webmin at boot time (y/n):

Test it out by firing up your favorite web browser (lynx or otherwise) and navigate to: http://localhost:10000
(or substitute your alternate port, naturally)

If you have a firewall installed, you will have open the port you assigned above (the example below assumes ipfw/Brickhouse):
Load your settings immediately
sudo ipfw add 3014 allow tcp from any to any 10000 in via en0
sudo ipfw add 3014 allow tcp from any 10000 to any out via en0

Then get it to stick. (The hashes make it match Brickhouse entries.)
sudo echo '################################################# ' >> /etc/firewall.conf
sudo echo '## webmin' >> /etc/firewall.conf
sudo echo '################################################# ' >> /etc/firewall.conf
sudo echo 'add 3014 allow tcp from any to any 10000 in via en0' >> /etc/firewall.conf
sudo echo 'add 3014 allow tcp from any 10000 to any out via en0' >> /etc/firewall.conf


Enjoy your newfound web configurability!
QUOTE Thanks

Post Reply New Thread Subscribe


« subcontract of installation package. Anybody interested? | Fixing tcsh in OS X 10.2.x »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
FAQ: Archive and Install MacAddikt OS X - Operating System 36 07-09-2009 09:24 AM
custom OS install nicktimesthree Switcher Hangout 6 01-25-2005 10:22 PM
Broken DVD drive, How do I Install OS X? scottgoddard Apple Notebooks 0 01-24-2005 11:31 PM
OS9 Install Problem in Panther - HELP! Big Beard OS X - Operating System 2 01-07-2004 11:00 PM

All times are GMT -4. The time now is 05:06 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?