注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

WA!Peter

广州天河, 香港火炭,深圳罗湖, 北京国贸

 
 
 

日志

 
 

Mac OS X 10.6.x + Resin + MySQL  

2009-10-13 19:35:08|  分类: server |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

Mac OS X 10.6.1  (Snow Leopard 雪豹)  Installation note on:  Resin 3.1.9 and MySQL 5.1.39

 

Resin 3.1.9: http://www.caucho.com/download/

- Download the resin-3.1.9.zip

Unzip the whole thing into /usr/local/resin-3.1.9  (directory : resin-3.1.9 will be created)

(personally i prefer rename the directory from resin-3.1.9 to resin, so /usr/local/resin is there)

edit:  /usr/local/resin/bin/http.sh,   add at the beginning:

export JAVA_HOME=/usr

This is because the JAVA_HOME is not set by default in Mac,  and java runtime is in /usr/bin/java

Run it:  /usr/local/resin/bin/httpd.sh

you will find some errors, but it is no harm

-------------------------------------------------------------------------------------------------

MySQL 5.1.9 : http://dev.mysql.com/downloads/mysql/5.1.html

download the mysql-5.1.39-osx10.5-x86.dmg

Run it and execute the .pkg file, it will install by default to /usr/local/mysql

after installation:

cd /usr/local/mysql

chown -R mysql . 

chgrp -R mysql .

note: there is a "." after the mysql and " " space

note2:  Mac already has a user mysql in /etc/passwd, you may check it out

run it:

/usr/local/mysql/bin/mysqld_safe --user=mysql &

 

 

  评论这张
 
阅读(1825)| 评论(0)
推荐 转载

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017