[root@localhost /]# cd /usr/local/nginx/sbin/
[root@localhost sbin]# ./nginx
ngx_http_fastdfs_set pid=10802
[root@localhost sbin]# nginx: [emerg] open() "/var/run/nginx/nginx.pid" failed (2: No such file or directory)
^C
[root@localhost sbin]# cd /var/run/
[root@localhost run]# mkdir nginx
[root@localhost run]# cd nginx/
[root@localhost nginx]# touch nginx.pid
[root@localhost nginx]# cd /usr/local/nginx/sbin/
[root@localhost sbin]# ./nginx
ngx_http_fastdfs_set pid=12488