Installing movable type and wordpress on leopard

24 01 2008

어제 (오늘 새벽) 에는 저널링을 시작한다고 해서 애플포럼 을 읽던 도중 누가 자긴 localhost에 mt를 깔고 그냥 쓴다는 소리에 나도 혹 해서 깔기를 결심…

mt 까는데 엄청 오래걸렸다

mysql 은 시작을 안하지, perl은 DBD::mysql을 못깔지 그외 등등…

그래도 어떻게 깔긴 깔았다.까는 방법 (다 구글신의 힘이다만 내가 작성한것임):

enable php5 on built in apache2 by editing the httpd.conf

install mysql 5.0

read this to get the launchd working for mysql

mysql.lock is moved. run this:

sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock

DBD::mysql has bad location settings. run this:

cd /usr/local/mysql/lib

sudo mkdir mysql

cd mysql

sudo ln -s ../*

sudo perl -MCPAN –e

in CPAN:

install DBI

install DBD::mysql

install CGI::Cookieedit

/etc/apache2/users/{username}.conf to:

<directory “/Users/{username}/Sites”>

Options Indexes MultiViews FollowSymLinks ExecCGI

AllowOverride

AllOrder allow,deny

Allow from all

AddHandler cgi-script .cgi

</directory>

start apache (built in version)

그래도 mt깔고나니 wp는 깔기 쉽더라…

그러나, 정작 깔고나니 컴터 리소스가 아깝다는 생각에 바로 중지. 쩝.

대신 Journler 깔았다.

이젠 리눅스에 wp나 깔아볼까?