Results 1 to 1 of 1
Thread: Install Webmin
-
12-23-2002, 04:27 PM #1gatorparrotsGuest
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!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Manually install Update/Firmware? Downloads great, Install fails
By kitesurfer72 in forum Other Hardware and PeripheralsReplies: 1Last Post: 03-17-2010, 01:45 PM -
Unable to Install iLife09 on Clean Install Snow Leopard
By vinodlive in forum macOS - Operating SystemReplies: 5Last Post: 11-10-2009, 05:37 PM -
Erase and Install, but also install iLife 06' off original iMac discs
By g725s in forum macOS - Operating SystemReplies: 2Last Post: 08-30-2009, 11:33 AM -
Can't Install Add'l Bundled software, want to install garageband
By kikinlily in forum macOS - Apps and GamesReplies: 0Last Post: 08-29-2009, 01:24 AM -
Win XP won't recognize (purchased) OS X install disk for driver install
By dgmaccoon in forum macOS - Operating SystemReplies: 1Last Post: 12-13-2008, 02:33 PM