Различия
Здесь показаны различия между двумя версиями данной страницы.
Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия | ||
abills:docs:other:ipcam:ru [2016/04/30 18:37] kodr [Установка monit] |
abills:docs:other:ipcam:ru [2016/08/01 17:52] (текущий) anton [Установка yasm x264 ffmpeg fdk-aac] |
||
---|---|---|---|
Строка 4: | Строка 4: | ||
====Установка nginx==== | ====Установка nginx==== | ||
- | | + | Нужно собрать nginx с модулем ''flv'' |
- | apt-get install build-essential | + | <code> |
- | apt-get install libpcre3 libpcre3-dev | + | apt-get install build-essential |
- | cd /usr/src/ | + | apt-get install libpcre3 libpcre3-dev libssl-dev |
- | wget http://nginx.org/download/nginx-1.9.0.tar.gz | + | cd /usr/src/ |
- | tar -xzvf nginx-1.9.0.tar.gz | + | wget http://nginx.org/download/nginx-1.9.0.tar.gz |
- | cd nginx-1.9.0 | + | tar -xzvf nginx-1.9.0.tar.gz |
- | ./configure --prefix=/usr --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 --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_gzip_static_module --with-http_stub_status_module | + | cd nginx-1.9.0 |
- | make | + | ./configure --prefix=/usr --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 --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_gzip_static_module --with-http_stub_status_module |
- | make install | + | make |
+ | make install | ||
+ | </code> | ||
- | nano /etc/nginx/sites-enabled/ipcam | + | # nano /etc/nginx/sites-enabled/ipcam |
server { | server { | ||
Строка 57: | Строка 59: | ||
===Yasm=== | ===Yasm=== | ||
| | ||
- | cd /usr/srs/ | + | cd /usr/srс/ |
wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz | wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz | ||
tar xzvf yasm-1.2.0.tar.gz | tar xzvf yasm-1.2.0.tar.gz |