开启阿里云服务器中mysql、redis、fastdfs、nginx等服务

tracker:/usr/bin/fdfs_trackerd /etc/fdfs/tracker.conf
storage:/usr/bin/fdfs_storaged /etc/fdfs/storage.conf
nginx: /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
redis: redis-server
mysql: service mysql start

redis-broker:虚拟环境(dailyfresh) 到celery_task的上层目录中
命令为:celery -A celery_tasks.tasks worker -l info

source activate dailyfresh

fdfs_upload_file /etc/fdfs/client.conf 图片路径

你可能感兴趣的:(学习记录)