Welcome to apple.newbox.org Tuesday, December 05 2023 @ 02:33 PM EST  
Links |  Past Polls |  Advanced Search |   
Topics
Home
Applications (8/0)
Classic (0/0)
Hardware (12/0)
Miscellaneous (6/0)
Networking/Serving (3/0)
Mac OS X (13/0)
Terminal/CLI (3/0)
iPhone (3/0)
General News (3/0)
GeekLog (1/0)

User Functions
Username:

Password:

Don't have an account yet? Sign up as a New User

What's New
STORIES
No new stories

LINKS last 2 wks
No recent new links


Older Stories
Saturday 06-Mar
  • iPad thoughts (0)

  • Friday 19-Feb
  • A Couple Small Time Machine Notes (0)

  • Saturday 26-Sep
  • Details about iPhone backups and restore (0)

  • Monday 29-Jun
  • Camera updates in iPhone OS 3.0 (0)

  • Saturday 30-May
  • Mac mini disassembly notes (0)

  • Friday 15-May
  • Notes about Windows 7 on a 10.4 Mac with Virtual Box (0)

  • Monday 02-Mar
  • Safari 4 (Beta) notes (0)

  • Saturday 17-Jan
  • Random software notes (0)

  • Wednesday 17-Dec
  • Quicksilver vs. Spotlight (0)
  • 10.5's Dock still sucks (0)


  • Setting up Geeklog on Mac OS X    
    Wednesday, March 02 2005 @ 04:02 PM EST
    Contributed by: Admin

    Networking/ServingHere's my guide to setting up Geeklog (1.3.11) on Mac OS X (non-Server, OS X 10.3.7). It's a bit thin but it hits all the high points. Consider this an OS X-specific 'cheat-sheet' addition to the mostly excellent included documentation.

    Getting Started

    Download and install PHP

    Install MySQL

    unpack geeklog-1.3.11.tar.gz

    You will see the following files:

    -rw-r--r--   1 admin  staff    198 31 Dec 11:03 INSTALL
    drwxr-xr-x   3 admin  staff    102 31 Dec 11:03 backups
    -rw-r--r--   1 admin  staff  35242 31 Dec 11:03 config.php
    drwxr-xr-x   3 admin  staff    102 31 Dec 11:03 data
    -rwxr-xr-x   1 admin  staff    509 31 Dec 11:03 emailgeeklogstories
    drwxr-xr-x  40 admin  staff   1360 31 Dec 11:03 language
    drwxr-xr-x   4 admin  staff    136 31 Dec 11:03 logs
    drwxr-xr-x   6 admin  staff    204 31 Dec 11:03 plugins
    drwxr-xr-x  27 admin  staff    918 31 Dec 11:03 public_html
    -rw-r--r--   1 admin  staff   4018 31 Dec 11:03 readme
    drwxr-xr-x   4 admin  staff    136 31 Dec 11:03 sql
    drwxr-xr-x  15 admin  staff    510 31 Dec 11:03 system
    

    Move the contents of 'public_html' into ~/Sites/ or /Library/WebServer/Documents/. (The rest of these notes assume you're serving from your home directory.)

    Move rest into new directory like ~/geeklog-admin/

    Part 1: Database Setup

    Using phpMyAdmin, create a new empty database called 'geeklog'

    Part 2: filesystem setup

    - cd ~/geeklog-admin/
    chmod -R 777 logs
    chmod -R 777 data
    cp config.php config.php.orig
    edit config.php as needed: paths, etc.

    - cd ~/Sites/
    chmod 777 backend/geeklog.rdf
    chmod 777 images/userphotos/
    chmod 777 images/articles/

    Part 3: docroot files

    cd ~/Sites/
    Edit lib-common.php--skip down to around line 70 and specify the path to config.php.

    Part 4: web-based setup

    Visit yoursite.com/admin/install/install.php

    Oops! If you're doing this in OS X 10.3, the site probably isn't working. You probably just saw a message saying "An SQL error has occured. Please see error.log for details."
    As per http://lists.geeklog.net/pipermail/geeklog-users/2004-February/000810.html,
    change line ~488 in ~/geeklog-admin/config-php around to
    $_CONF['hidenewcomments'] = 1;

    Part 5: Final steps

    Filesystem: delete ~/Sites/admin/install/
    Accounts: set new passwords for admin & moderator
    - change password and email with 'account information' link
    - log in and log out to make sure new info sticks

    Part 6: Cleanup

    Log in as admin
    delete submissions (2) and stories (1) and links (1) and polls (1)
    Blocks: season to taste

    Customizing:
    Download themes and unzip into ~/tmp/
    My favorite theme--the one you're looking at now--is called 'clean.' I have slightly customized it. How? I'm glad you asked...
    (Note that, UNIX-wise, they may not be the cleanest commands ever, but they work.)
    mkdir ~/Sites/layout/your-theme-name
    cp -r tmp/layout/clean/* ~/Sites/layout/your-theme-name/
    Change theme name (around line 200 of config.php) to your-theme-name

    New logo: ~/Sites/layout/apple/theme-images/clean-sitelogo.gif

    New topic icons: 48x48, copy to ~/Sites/images/topics/ or icons/

      [ Views: 2911 ]  


    Setting up Geeklog on Mac OS X | 0 comments | Create New Account
    The following comments are owned by whomever posted them. This site is not responsible for what they say.
    What's Related

    Story Options
  • Mail Story to a Friend
  • Printable Story Format


  • Created this page in 0.30 seconds


     Copyright © 2023 apple.newbox.org
     All trademarks and copyrights on this page are owned by their respective owners.

    Powered By