MonkeyBrains.net/~rudy/example Random examples

 WordPress  
Installing WordPress on Mac OSX
Lots of ways to skin a cat, my furry friends. Here are some links to get your started. Your Mac should come with MySQL, Apache, and PHP pre installed. That will make it easy for you to get started. All you have to do is set up the servers (MySQL and Apache) to start at boot time, set up the MySQL table and user for wordpress, install the WordPress software, and -- finally -- configure Wordpress (you only need to edit one file).
  1. Launch MySQL and Apache if they aren't running already. Check by browsing to http://localhost/. Also, try running 'mysqlshow' on the command line (eg in a Terminal window)
  2. Create a 'wordpress' MySQL table and a user that has all privileges for that table. You can use the command line 'mysql_setpermission' script, or install phpMyAdmin.
  3. Download the WordPress software.
  4. unpack it in the proper place.
    cd /Library/WebServer/Documents && gunzip -c /path/to/download/wordpress.tar.gz | tar -xvf -
  5. configure the configure.inc.php file in the newly unpacked wordpress directory
  6. Point your browser to http://localhost/wordpress and follow the directions
  7. Set MySQL to start when you reboot your Mac.
    The Startup Item for MySQL is installed into /Library/StartupItems/MySQLCOM. (Before MySQL 4.1.2, the location was /Library/StartupItems/MySQL, but that collided with the MySQL Startup Item installed by Mac OS X Server.) Startup Item installation adds a variable MYSQLCOM=-YES- to the system configuration file /etc/hostconfig. If you want to disable the automatic startup of MySQL, simply change this variable to MYSQLCOM=-NO-." - mysql.com
  8. Set up Apache to launch when you reboot
    Go to your Preferences and turn on the web-sharing.
Resources on the 'Net:
  1. http://developer.apple.com/internet/opensource/php.html - Apple site on PHP
  2. http://developer.apple.com/internet/opensource/osdb.html - Apple site on MySQL
  3. http://www.entropy.ch/software/macosx/php/ - prebuilt PHP binaries
  4. http://maczealots.com/tutorials/wordpress/ - Installing WordPress on Tiger (10.4) (outdated - May 26/2005)
  5. http://dev.mysql.com/downloads/mysql/5.0.html - Mysql 5.0 for Mac 10.3 PCC
  6. http://fink.sourceforge.net/download/index.php?phpLang=en - Fink package manager
  7. http://wordpress.org/latest.tar.gz - Wordpress Download