小弟 按照這篇文章: http://blog.gtwang.org/iot/raspberry-pi-nginx-rtmp-server-live-streaming/
,一步一步執行,但是執行到:
cd nginx
./configure --prefix=/var/www --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --with-http_ssl_module --without-http_proxy_module --add-module=/home/pi/nginx_src/nginx-rtmp-module
系統卻回應 bash: ./configure : No such file or directory
我實際進入 圖形化界面後,發現: nginx 底下沒有 configure 這個目錄或檔案,但有一個 conf 目錄,和一個 auto 目錄下有一個 叫 configure 的檔案(它是個 script 檔)。
但我把 指令改成:
./conf –prefix=/var/www –sbin-path=/usr/sbin/nginx –confpath=/
etc/nginx/nginx.conf –pid-path=/var/run/nginx.pid –error-logpath=/
var/log/nginx/error.log –http-logpath=/
var/log/nginx/access.log –with-http_ssl_module –withouthttp_
proxy_module –add-module=/home/pi/nginx_src/nginx-rtmp-module
,系統卻回應 bash: ./conf: “Is a directory",
請問,要如何才能解決這個問題呢???
內文搜尋

X