安装Nginx >yum install -y nginx
安装vsftpd http://www.cnblogs.com/eason-d/p/9057389.html
2: 创建目录 /usr/local/upload/images/ 用来存放图片
# mkdir /usr/local/upload/images/ -p
# cd /usr/local/upload
# chmod 777 images
3: Nginx配置 vim /etc/nginx/nginx.conf
# /usr/sbin/nginx -t 检查是否更改正确
# /usr/sbing/nginx -s reload 重启
通过 http://IP/images/XX.png 就能访问图片了