Mac安装mysql并启动
- brew install mysql
- mysql.server start
- /usr/local/Cellar/mysql/5.6.10/support-files/mysql.server start
- mysql.server stop
- /usr/local/Cellar/mysql/5.6.10/support-files/mysql.server stop
PS: 两种方式很明显server这种更简单,另外一种实际上可以使用alias简化一下~
Mac install and start redis
- brew install redis(可以使用reids-server测试是否安装成功)
- brew services restart redis
- brew services start redis
- brew services stop redis
http://my.oschina.net/jackieyeah/blog/524583
Mac安装py-redis
- git clone https://github.com/andymccurdy/redis-py
- python setup.py install
Error while installing uWSGI on mac
- sudo CC=gcc pip install uwsgi
- gcc already installed, just export CC=gcc will be ok.
PS:两种方式都可以,意思也一样,参考见stackoverflow
时间: 2024-10-31 08:04:10