1. install netbeans
2. install zlib
3. install pcre
......
sudo cp /usr/local/lib/libpcre.so.1.0.0 /usr/lib/
ln -s libpcre.so.1.0.0 libpcre.so.1
4. open netbeans:
Tools->Options->Code Assitance->C/C++->C Compile: up '/usr/include' to top
5. config configure
right click configure->属性->参数:--prefix=...... --add-module=...... 环境:CC=/usr/bin/gcc ......
6. add beacon to project
right click project->属性常规->源文件夹:添加->选择 beacon 目录
7. run
定制->运行->运行命令: /work/nginx/sbin/nginx -c /work/nginx/conf/nginx.conf
8. nginx.conf
daemon off;
master_process off;