Open minhtamwebmaster opened 9 years ago
install by sources.
i have install by sources nginx download but no success. Not found director rtmp
On Sat, Nov 7, 2015 at 8:56 AM, 曹超 notifications@github.com wrote:
install by sources.
— Reply to this email directly or view it on GitHub https://github.com/arut/nginx-rtmp-module/issues/720#issuecomment-154597287 .
let me see your configure command and error output.
Here
[root@ongmap ~]# cd /usr/build [root@ongmap build]# ls nginx-1.9.6 nginx-1.9.6.zip nginx-rtmp-module [root@ongmap build]# cd nginx-1.9.6 [root@ongmap nginx-1.9.6]# /configure --add-module=/usr/build/nginx-rtmp-module --with-http_ssl_module -bash: /configure: No such file or directory [root@ongmap nginx-1.9.6]# make make: *\ No targets specified and no makefile found. Stop. [root@ongmap nginx-1.9.6]# make install
On Sat, Nov 7, 2015 at 9:33 AM, 曹超 notifications@github.com wrote:
let me see your configure command and error output.
— Reply to this email directly or view it on GitHub https://github.com/arut/nginx-rtmp-module/issues/720#issuecomment-154601005 .
./configure , not /configure
@minhtamwebmaster the tips have been giving the reason of failure
nginx: [emerg] unknown directive "rtmp" in /etc/nginx/nginx.conf:35 nginx: configuration file /etc/nginx/nginx.conf test failed
nginx.conf
user nginx; worker_processes 1;
error_log /var/log/nginx/error.log warn; pid /var/run/nginx.pid;
events { worker_connections 1024; }
http { include /etc/nginx/mime.types; default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
index index.php index.html index.htm;
sendfile on;
#tcp_nopush on;
keepalive_timeout 65;
#gzip on;
include /etc/nginx/domains/*.conf;
}
rtmp { server { listen 1935; ping 30s; notify_method get;
application live {
live on;
}
}
}
i use nginx version 1.9.6 error and i use nginx 1.9.2 not error
i use centos. I install nginx earlier by the command yum install nginx. So how to add modules RTMP-nginx