Nova Resource:Nginx/Documentation

From Wikitech

Nginx

Description

A project for building and testing our modifications to nginx.

Purpose

See description.

Anticipated traffic level

10-100 hits per day

Anticipated time span

indefinite

Project status

currently running

Willing to take contributors or not

willing

Subject area narrow or broad

broadProjects used in production

Building and installing nginx

Source package is located at /mnt on nginx-dev1.

  1. Make changes, use quilt to apply them as patches
  2. Update the changelog
  3. From the nginx directory, run:
    dpkg-buildpackage -rfakeroot -S
  4. Note and .dsc file created, and run:
    pbuilder build ../<nginx-dsc-file-created>.dsc
  5. The package is written to /var/cache/pbuilder/result/<nginx-version>.deb
  6. Install the package locally:
    dpkg -i /var/cache/pbuilder/result/<nginx-version>.deb
  7. Test