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

相关文章:

  • 2021-07-18
  • 2021-11-16
  • 2022-02-10
  • 2021-10-25
  • 2022-12-23
  • 2021-12-22
  • 2021-10-05
  • 2021-06-23
猜你喜欢
  • 2021-12-22
  • 2021-11-09
  • 2021-09-18
  • 2021-11-23
  • 2021-07-10
  • 2021-10-23
  • 2021-12-22
相关资源
相似解决方案