Code Monkey home page Code Monkey logo

nginx-lua-centos7's Introduction

nginx-lua-centos7

Build nginx with lua for CentOS7 or RHEL7

Do not run this as root!

  1. Initialize RPM build environment

    mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}

    echo "%_topdir %(echo $HOME)/rpmbuild" > ~/.rpmmacros

    sudo yum install gcc rpm rpm-devel rpm-build-libs rpmdevtools

  2. Install nginx source RPM

    rpm --install http://nginx.org/packages/rhel/7/SRPMS/nginx-1.6.3-1.el7.ngx.src.rpm

  3. Download additional sources

    spectool -g -R nginx-lua.spec

  4. Install stuff for building

    yum -y install gcc openssl-devel zlib-devel pcre-devel lua

  5. Install lua-devel, which is not present in standard repos including EPEL for some reason

    sudo yum -y install ftp://rpmfind.net/linux/centos/7/os/x86_64/Packages/lua-devel-5.1.4-14.el7.x86_64.rpm

Tested on RHEL 7.0 (Maipo) x86_64

nginx-lua-centos7's People

Contributors

kika avatar dholth avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.