歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux技術 >> Linux使用eclipse編譯,調試Nginx模塊

Linux使用eclipse編譯,調試Nginx模塊

日期:2017/3/3 12:26:45   编辑:Linux技術

1、在ubuntu上啟動eclipse後導入nginx工程文件

2、導入成功,修改工程設置 ,把all清空

3、設置調試運行的參數

4、修改nginx.conf

增加一行 daemon off 後台模式關掉

#user nobody;

worker_processes 1;

daemon off#error_log logs/error.log;

#error_log logs/error.log notice;

#error_log logs/error.log info;

#pid logs/nginx.pid;

至此,end,可以開始使用eclipse調試Nginx了!

Copyright © Linux教程網 All Rights Reserved