tDialyインストール

ユーザーディレクトリの設定変更
(ユーザーディレクトリにインストールする)

 $ cd /Users/yasu0519/Sites/
 $ w3m http://www.tdiary.org/download/tdiary-full-1.4.5.tar.gz
 $ tar xzvf tdiary-full-1.4.5.tar.gz
 $ mv tdiary-full-1.4.5 tdiary
 $ rm tdiary-full-1.4.5.tar.gz
 $ vi /private/etc/httpd/users/yasu0519.conf

AllowOverride Allに変更


    Options Indexes MultiViews
    AllowOverride All    
    Order allow,deny
    Allow from all

".htaccess"と"tdiary.conf"をつくり、ID/Passwordを設定する

 $ cd ~/Sites/tdiary
 $ cp dot.htaccess .htaccess
 $ cp tdiary.conf.sample tdiary.conf
 $ htpasswd -bc /Users/yasu0519/.pw USERID PASSWORD

".htaccess"を編集する

 $ vi .htaccess


        AuthName      tDiary
        AuthType      Basic
        AuthUserFile  /Users/yasu0519/.pw                
        Require user

tdiary用のデータディレクトリをつくる

 $ mkdir /Users/yasu0519/Documents/tdiary

"tdiary.conf"を編集する

 $ vi tdiary.conf

@data_path = '/Users/yasu0519/Documents/tdiary'