码迷,mamicode.com
首页 > 系统相关 > 详细

Mac配置一些开发环境(随时补充)

时间:2016-06-28 18:11:39      阅读:194      评论:0      收藏:0      [点我收藏+]

标签:

Mac安装mysql并启动

  1. brew install mysql
  2. mysql.server start
  3. /usr/local/Cellar/mysql/5.6.10/support-files/mysql.server start
  4. mysql.server stop
  5. /usr/local/Cellar/mysql/5.6.10/support-files/mysql.server stop

PS: 两种方式很明显server这种更简单,另外一种实际上可以使用alias简化一下~

 

Mac install and start redis

  1. brew install redis(可以使用reids-server测试是否安装成功)
  2. brew services restart redis
  3. brew services start redis
  4. brew services stop redis

参考链接

http://my.oschina.net/jackieyeah/blog/524583

 

Mac安装py-redis

  1. git clone https://github.com/andymccurdy/redis-py
  2. python setup.py install

 

Error while installing uWSGI on mac

  1. sudo CC=gcc pip install uwsgi
  2. gcc already installed, just export CC=gcc will be ok.

PS:两种方式都可以,意思也一样,参考见stackoverflow

Mac配置一些开发环境(随时补充)

标签:

原文地址:http://www.cnblogs.com/wswang/p/5624357.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!