2010
07.01

finally installed a webmin on my remote mac mini, been putting it off for a long period of time.

the installation was easy and quick, I was suppose to write 2 paper for my classes’ group projects but end up wandering around and install it. at least i accomplished something!

instruction from http://www.macports.info/Webmin was very helpful. easy and clean perfectly suitable anyone to follow brainlessly (like me as I was trying all I have to write my paper). To make sure this wonderful instruction is not going away perhaps a backup along with some minor update to reflect something a bit more current.

A few Pre-requisite here:
1. Have Apple Developer Tools installed, basically all you need is the compiler. Download and install it. It also comes with your OSX disk so check it out as well can save you time and bandwidth.

2. Download DarwinPorts, macports, anything similar in that nature should be fine.
a) MacPorts: http://www.macports.org/
b) DarwinPorts, the one I am using right now:  http://darwinports.com/download/
Install either one of them & update. Installation wizard is a GUI pretty straight forward.

Fire up terminal or SSH and punch in (or even copy & paste):

sudo port -d selfupdate
(then type in your password)

port upgrade outdated

Wait until everything is updated and done then proceed to install Perl and install a component make sure webmin support SSL. Nowadays everything gotta be encrypted to make sure password and other important information transmitted in a more secure fashion!

sudo port install perl5.8

sudo port install p5-net-ssleay

Now we need the webmin files, ALWAYS create a new folder for expanding files :)
mkdir ~/Documents/webmin-installation/
curl -O http://voxel.dl.sourceforge.net/project/webadmin/webmin/1.510/webmin-1.510.tar.gz

gnutar zxf webmin-1.510.tar.gz

cd webmin-1.510
sudo ./setup.sh /opt/local/webmin

Here is the original MacPorts.info Webmin Tutorial, just ignore the version number:


This instruction starts a shell script which installs Webmin using a number of default responses. We
want to change many of those default responses so that Webmin is installed in the
MacPorts opt directory. The following is a transcript of the installation shell script, with
the required responses:

***********************************************************************
* Welcome to the Webmin setup script, version 1.370 *
***********************************************************************
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.

Installing Webmin from /webmin-1.370 to /opt/local/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]: /opt/local/etc/webmin

Log file directory [/var/webmin]: /opt/local/var/webmin

***********************************************************************
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): /opt/local/bin/perl

Testing Perl …
Perl seems to be installed ok

***********************************************************************
Operating system name: Mac OS X

Operating system version: 10.4

***********************************************************************
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):

Login name (default admin):

Login password:

Password again:

Use SSL (y/n): y

Start Webmin at boot time (y/n): y

***********************************************************************
Copying files to /opt/local/webmin ..

..done

Creating web server config files..

..done

Creating access control file..

..done

Inserting path to perl into scripts..

..done

Creating start and stop scripts..

..done

Copying config files..

..done

Configuring Webmin to start at boot time..

..done

Creating uninstall script /opt/local/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 /opt/local/webmin
..done

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

browser to go to

http://localhost: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.


Don’t forget to add port TCP 10000 to firewall ALLOW with description “Webmin” so you can reach your own server :)

Source:

http://www.macports.info/Webmin

http://webmin.com/osx.html

2010
06.18

In a pure unintended rush purchased 2 domains as a proxy, one is already lock and load live site while the other one is sitting…..and waiting.

The live one is loaded with Drupal, install and config easy as lived in 3 minutes alongwith proper and reasonable performance/security/access set.

Other than that also updated 2 blogs into WordPress 3.0, looks nice and clean! Great job WP dev ;)

2010
05.23

STOP class!

Got the STOP class done. Interesting people, interesting stories. People here for whatever reasons but Bulter county cops seriously working hard, more than half of the class got tickets from them….oh yea!
Ironically the instructor is a Bulter county cop, hmmm…conflict of interest?

It was a fun class, 50-yr old ish kind of instructor with a bit of humor…enough to liven the material. Picked on me as I am a few having unique offense to be here for a class (while lots of people are profoundly uncreative to get a “speeding”). Went over defensive driving stuff and ended the class with a required exit exam.

As I sat in the 2nd row – only “1st” and “2nd” row available as we don’t have enough people to fill the room apparently – I was one of the last people getting the exam questions but I was the first finished it off…

This guy topped it off with “Shawn, you failed the test…..(momentarily pause…as I panicked and thinking “Oh fucking shit”)….you got a minus zero! (another pause as I wasn’t really interested in listening)…you got a hundred, just turn in the purple form [feedback form].”
Seriously can’t ask too much to have a relaxed place reviewing all the driving skills, good and easy-going instructor, and killed the exam with 100% on first shot….well, I’m defensive driver after all! LOL

Now driving smart with a lovely hybrid….. ;)