weibo project.
$ cd /path/to/project
-
Nginx
& sudo cp /path/to/nginx/conf cp /path/to/nginx/backup_conf
$ sudo cp conf/nginx.conf /path/to/nginx/conf -
FastCGI script
$ chmod +x weibo.fcgi
-
Run
$ ./weibo.fcgi
$ chmod 666 /tmp/weibo-fcgi.sock
Use Supervisor to manage FastCGI processes in future.