Skip to content

A bash script to install FFMpeg, ImageMagick, Php5.5 OpenResty Nginx with SPDY, ngx_pagespeed, RTMP support and extra modules.

Notifications You must be signed in to change notification settings

nomadturk/openresty-install

Repository files navigation

openresty-install

short info

This script intends to install OpenResty OR Nginx with RTMP support, SPDY HTTP2, FFMep and OpenMagick. It tries to install all the necessary dependencies and thus compiles most from source files. During compiling, I've tried to make it as close to the nginx installation from the repos. Be advised. It takes a long while. Therefore it runs with screen command.

more info

A bash script to install
FFMpeg (from Source with libx246, fdk-aac, libvpx, opus, librtmp, lame support)
ImageMagick (from Source)
OpenResty/Nginx (from Source, with SPDY HTTP2, ngx_pagespeed, RTMP support and many extra modules)
MariaDB 5.5 from it's official repository
Php5.5 from DotDeb repository.
Nginx default configuration template,
php-fpm fixes (cgi.fix_pathinfo, change user to www-data)
h5bp for Nginx. Webmin Virtualmin with NginX modules and themes - Disabled by default To enable it before running bash start.sh command, edit the file manually



So far I've tested it on:
ESXi VM's
Proxmox VM's
Online.net Server Debian Installation
Kimsufi Debian 7.5 Installation
Linode Debian
Vultr Debian Servers
Miranis Openstacks Debian
RunAbove.com Servers
DigitalOcean Debian Droplets (Eventhough DO gave me a lot off dropping connections from different locations whilst all my other ssh connections were flawless, all the test were success)

You need a FRESH Debian 7 or 8 installation for this to run the way it is intended. It might still run but it's not tested...
It also does run with Ubuntu (D'uh!) But in some cases some manual tweaking might be required.

You can run it with:

wget --no-check-certificate http://bit.ly/openresty -O start.sh
bash start.sh

known issues and things to do

There's a logging process embedded in the script but I've somehow broken it. Will fix it when I have time.
If by any reason the installation stops, it restarts from scratch. I need to implement a way to continue from where it left to save time and sanity.
Currently the script doesn't ask if you want to install MariaDB. A multiple-choice way to install is needed.

Feel free to open an issue or create a PR if you can.
I'm trying to keep it up-to-date but I can't test it with every change so your input will be appreciated.

About

A bash script to install FFMpeg, ImageMagick, Php5.5 OpenResty Nginx with SPDY, ngx_pagespeed, RTMP support and extra modules.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages