Installing myPhoto on Linux Server

myPhoto is a PhpLanguage program which generations web picture galleries based on the contents of Apple iPhoto library. It's particularly nice because it preserves most of the MetaData you can enter in iPhoto (albums, titles, keywords and comments).

It was designed to run on an AppleOsx computer, but since it's just PHP it seems that you can configure it to run on a Linux (or presumably any PHP enabled) web server. However the installation process is a little more manual.

Installing myPhoto

Because myPhoto ships only as an OSX installer, you need to download it onto a Mac, extract the PHP files and copy them to your linux server.

  1. Download the myPhoto installer package.

  2. In Finder right click on the myPhotoInstaller package and choose "Show Contents".
  3. Browse to the myPhoto directory inside the Contents/Resources directory.
  4. Copy the myPhoto directory to my server.
    apple# rsync -e ssh -avz myPhoto username@server.domain.com:/var/www/ 
    
  5. Rsync my ~/Pictures/iPhoto Library to the myPhoto directory on the server
    apple# rsync -e ssh -avz ~/Pictures/iPhoto\ Library/ username@server.domain.com:/var/www/myPhoto/ 
    
  6. Fix the permissions so that myPhoto can read and write in the myPhoto/cache directory.
    linux# chown -R www-data /var/www/myPhoto/cache 
    

You should now be able to browse to your web server and see the pictures online that were in your iPhoto Library.

Problems

Currently I have this mostly working, however there are a few problems I'm trying to sort out:

It's possible this is an issue with iPhoto 4.0.1, that I've configured something incorrectly (I don't think so), or possibly failed to copy across something from the installer package that myPhoto requires.


CategorySoftware

MyphotoAndIphotoOnLinux (last edited 2004-04-13 21:34:15 by AdamShand)