摘要:
1. 使用yum 安装rabbitmq-server$sudo yum install rabbitmq-server2. 在/etc/hosts/添加计算机名到127.0.0.1的影射。例如 127.0.0.1 xxx-computer3. 启动程序。sudo rabbitmq-server如果想要后台启动则添加参数 -detached 阅读全文
摘要:
今天安装PIL花了我好多的时间。刚开始,我手动下载PIL原码,编译安装。启动我的django项目,报下面的错误,完全不懂是么意思。CommandError: One or more models did not validate:user.userprofile: "photo": To use ImageFields, you need to install the Python Imaging Library. Get it at http://www.pythonware.com/products/pil/ .手动测试了一下:The _imaging extensio 阅读全文