sudo apt-get install libpcre3-dev zlib1g-dev libgd2-xpm-dev libssl-dev
./configure \
--prefix=/usr/local/stow/nginx \
--conf-path=/etc/nginx/nginx.conf \
--sbin-path=/usr/sbin \
// Font Smoothie copyright 2013,14 Torben Haase <http://pixelsvsbytes.com> | |
// Source-URL <https://gist.github.com/letorbi/5177771> | |
// | |
// Font Smoothie is free software: you can redistribute it and/or modify it under | |
// the terms of the GNU Lesser General Public License as published by the Free | |
// Software Foundation, either version 3 of the License, or (at your option) any | |
// later version. | |
// | |
// Font Smoothie is distributed in the hope that it will be useful, but WITHOUT | |
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
#=============================================================================== | |
# RemoteTCP.py, v0.1, released 01.26.08. | |
# Installation notes, usage and commentary: | |
# http://lamberta.posterous.com/remotetcp-for-robofab-and-fontlab | |
# | |
# Copyright (c) William Lamberta, <www.lamberta.org> | |
# Released under the BSD License, | |
# see www.opensource.org/licenses/bsd-license.php for details. | |
# Includes code from RoboFab <www.robofab.org>, | |
# Copyright (c) The RoboFab Developers, Just van Rossum, Tal Leming, Erik van Bloklandwhich. |
from robofab.tools.remoteTCP import FontLabServer | |
myServer = FontLabServer() | |
myServer.run() |
timer_resolution 100ms; | |
worker_priority -5; | |
events { | |
use epoll; | |
worker_connections 2048; | |
} | |
server { | |
ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2; |
# Install dependencies | |
# | |
# * checkinstall: package the .deb | |
# * libpcre3, libpcre3-dev: required for HTTP rewrite module | |
# * zlib1g zlib1g-dbg zlib1g-dev: required for HTTP gzip module | |
apt-get install git checkinstall libpcre3 libpcre3-dev zlib1g zlib1g-dbg zlib1g-dev && \ | |
mkdir -p ~/sources/ && \ | |
# Compile against OpenSSL to enable NPN |
#!/bin/bash | |
./configure --prefix=/usr \ | |
--user=nobody \ | |
--group=nogroup \ | |
--conf-path=/etc/nginx/nginx.conf \ | |
--error-log-path=/var/log/nginx/error.log \ | |
--http-client-body-temp-path=/var/lib/nginx/body \ | |
--http-log-path=/var/log/nginx/access.log \ | |
--http-proxy-temp-path=/var/lib/nginx/proxy \ |
# Install dependencies | |
# | |
# * checkinstall: package the .deb | |
# * libpcre3, libpcre3-dev: required for HTTP rewrite module | |
# * zlib1g zlib1g-dbg zlib1g-dev: required for HTTP gzip module | |
apt-get install checkinstall libpcre3 libpcre3-dev zlib1g zlib1g-dbg zlib1g-dev && \ | |
OLD_DIR=`pwd` && \ | |
WDIR=~/sources/ && \ | |
OPENSSL_VER=1.0.1h && \ |
cd ~/git/nginx | |
rm -rf nginx-1* | |
rm -rf openssl-1* | |
wget https://www.openssl.org/source/openssl-1.0.1k.tar.gz | |
wget http://nginx.org/download/nginx-1.7.10.tar.gz | |
tar xzvf openssl* && rm -rf openssl-1.0.1k.tar.gz | |
tar -xzvf nginx-1*.tar.gz | |
rm -rf nginx-1*.tar.gz | |
cd echo-nginx-module && git pull && cd ../ | |
cd headers-more-nginx-module && git pull && cd ../ |
#!/usr/bin/env bash | |
# names of latest versions of each package | |
export NGINX_VERSION=1.7.10 | |
export VERSION_PCRE=pcre-8.36 | |
export VERSION_LIBRESSL=libressl-2.1.3 | |
export VERSION_NGINX=nginx-$NGINX_VERSION | |
# URLs to the source directories | |
export SOURCE_LIBRESSL=ftp://ftp.openbsd.org/pub/OpenBSD/LibreSSL/ |