Showing posts with label Web cache. Show all posts
Showing posts with label Web cache. Show all posts

Saturday, September 17, 2016

FreeBSD: Installing nginx

Command:

# pkg install nginx


Result:

Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
The following 3 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
nginx: 1.10.1_1,2
openssl: 1.0.2_14
pcre: 8.39

Number of packages to be installed: 3

The process will require 18 MiB more space.
4 MiB to be downloaded.

Proceed with this action? [y/N]: y
Fetching nginx-1.10.1_1,2.txz: 100%  359 KiB 367.2kB/s    00:01  
Fetching openssl-1.0.2_14.txz: 100%    3 MiB 729.3kB/s    00:04  
Fetching pcre-8.39.txz: 100%    1 MiB 290.8kB/s    00:04  
Checking integrity... done (0 conflicting)
[1/3] Installing openssl-1.0.2_14...
[1/3] Extracting openssl-1.0.2_14: 100%
[2/3] Installing pcre-8.39...
[2/3] Extracting pcre-8.39: 100%
[3/3] Installing nginx-1.10.1_1,2...
===> Creating groups.
Using existing group 'www'.
===> Creating users
Using existing user 'www'.
[3/3] Extracting nginx-1.10.1_1,2: 100%
Message from openssl-1.0.2_14:
Copy /usr/local/openssl/openssl.cnf.sample to /usr/local/openssl/openssl.cnf
and edit it to fit your needs.
Message from nginx-1.10.1_1,2:
===================================================================
Recent version of the NGINX introduces dynamic modules support.  In
FreeBSD ports tree this feature was enabled by default with the DSO
knob.  Several vendor's and third-party modules have been converted
to dynamic modules.  Unset the DSO knob builds an NGINX without
dynamic modules support.

To load a module at runtime, include the new `load_module'
directive in the main context, specifying the path to the shared
object file for the module, enclosed in quotation marks.  When you
reload the configuration or restart NGINX, the module is loaded in.
It is possible to specify a path relative to the source directory,
or a full path, please see
https://www.nginx.com/blog/dynamic-modules-nginx-1-9-11/ and
http://nginx.org/en/docs/ngx_core_module.html#load_module for
details.

Default path for the NGINX dynamic modules is

/usr/local/libexec/nginx.
===================================================================


Command:

# pkg info


Result:

ca_root_nss-3.26               Root certificate bundle from the Mozilla Project
curl-7.50.1                    Non-interactive tool to get files from FTP, GOPHER, HTTP(S) servers
nginx-1.10.1_1,2               Robust and small WWW server
openssl-1.0.2_14               SSL and crypto library
pcre-8.39                      Perl Compatible Regular Expressions library
pkg-1.8.7_1                    Package manager


Command:

# pkg info nginx


Result:

nginx-1.10.1_1,2
Name           : nginx
Version        : 1.10.1_1,2
Installed on   : Sat Sep 17 17:06:58 2016 JST
Origin         : www/nginx
Architecture   : freebsd:10:x86:64
Prefix         : /usr/local
Categories     : ipv6 www
Licenses       : BSD2CLAUSE
Maintainer     : osa@FreeBSD.org
WWW            : http://nginx.org/
Comment        : Robust and small WWW server
Options        :
AJP            : off
ARRAYVAR       : off
AWS_AUTH       : off
BROTLI         : off
CACHE_PURGE    : off
CLOJURE        : off
CT             : off
DEBUG          : off
DEBUGLOG       : off
DRIZZLE        : off
DSO            : on
DYNAMIC_UPSTREAM: off
ECHO           : off
ENCRYPTSESSION : off
FILE_AIO       : on
FORMINPUT      : off
GOOGLE_PERFTOOLS: off
GRIDFS         : off
HEADERS_MORE   : off
HTTP           : on
HTTPV2         : on
HTTP_ACCEPT_LANGUAGE: off
HTTP_ACCESSKEY : off
HTTP_ADDITION  : on
HTTP_AUTH_DIGEST: off
HTTP_AUTH_KRB5 : off
HTTP_AUTH_LDAP : off
HTTP_AUTH_PAM  : off
HTTP_AUTH_REQ  : on
HTTP_CACHE     : on
HTTP_DAV       : on
HTTP_DAV_EXT   : off
HTTP_EVAL      : off
HTTP_FANCYINDEX: off
HTTP_FLV       : on
HTTP_FOOTER    : off
HTTP_GEOIP     : off
HTTP_GUNZIP_FILTER: on
HTTP_GZIP_STATIC: on
HTTP_IMAGE_FILTER: off
HTTP_JSON_STATUS: off
HTTP_MOGILEFS  : off
HTTP_MP4       : on
HTTP_MP4_H264  : off
HTTP_NOTICE    : off
HTTP_PERL      : off
HTTP_PUSH      : off
HTTP_PUSH_STREAM: off
HTTP_RANDOM_INDEX: on
HTTP_REALIP    : on
HTTP_REDIS     : off
HTTP_RESPONSE  : off
HTTP_REWRITE   : on
HTTP_SECURE_LINK: on
HTTP_SLICE     : on
HTTP_SSL       : on
HTTP_STATUS    : on
HTTP_SUB       : on
HTTP_SUBS_FILTER: off
HTTP_TARANTOOL : off
HTTP_UPLOAD    : off
HTTP_UPLOAD_PROGRESS: off
HTTP_UPSTREAM_CHECK: off
HTTP_UPSTREAM_FAIR: off
HTTP_UPSTREAM_STICKY: off
HTTP_VIDEO_THUMBEXTRACTOR: off
HTTP_XSLT      : off
HTTP_ZIP       : off
ICONV          : off
IPV6           : on
LET            : off
LUA            : off
MAIL           : on
MAIL_IMAP      : off
MAIL_POP3      : off
MAIL_SMTP      : off
MAIL_SSL       : on
MEMC           : off
MODSECURITY    : off
NAXSI          : off
NJS            : off
PASSENGER      : off
POSTGRES       : off
RDS_CSV        : off
RDS_JSON       : off
REDIS2         : off
RTMP           : off
SET_MISC       : off
SFLOW          : off
SHIBBOLETH     : off
SLOWFS_CACHE   : off
SMALL_LIGHT    : off
SRCACHE        : off
STATSD         : off
STREAM         : on
STREAM_SSL     : on
THREADS        : on
UDPLOG         : off
WWW            : on
XRID_HEADER    : off
XSS            : off
Shared Libs required:
libssl.so.8
libpcre.so.1
libcrypto.so.8
Annotations    :
cpe            : cpe:2.3:a:nginx:nginx:1.10.1:::::freebsd10:x64:1
repo_type      : binary
repository     : FreeBSD
Flat size      : 1.01MiB
Description    :
NGINX is a high performance edge web server with the lowest memory footprint
and the key features to build modern and efficient web infrastructure.

NGINX functionality includes HTTP server, HTTP and mail reverse proxy, caching,
load balancing, compression, request throttling, connection multiplexing and
reuse, SSL offload and HTTP media streaming.

WWW: http://nginx.org/
WWW: http://nginx.com/


Command:

# pkg info openssl


Result:

openssl-1.0.2_14
Name           : openssl
Version        : 1.0.2_14
Installed on   : Sat Sep 17 17:06:57 2016 JST
Origin         : security/openssl
Architecture   : freebsd:10:x86:64
Prefix         : /usr/local
Categories     : security devel
Licenses       : OpenSSL
Maintainer     : dinoex@FreeBSD.org
WWW            : http://www.openssl.org/
Comment        : SSL and crypto library
Options        :
ASM            : off
DOCS           : on
EC             : on
EXPCIPHERS     : off
GMP            : off
I386           : off
MAN3           : on
MD2            : on
PADLOCK        : off
RC5            : off
RFC3779        : off
SCTP           : on
SHARED         : on
SSE2           : on
SSL2           : on
SSL3           : on
THREADS        : on
ZLIB           : off
Shared Libs provided:
libaep.so
libnuron.so
libgmp.so
libubsec.so
libssl.so.8
libcrypto.so.8
libcapi.so
libpadlock.so
libatalla.so
libsureware.so
lib4758cca.so
libcswift.so
libgost.so
libchil.so
Annotations    :
cpe            : cpe:2.3:a:openssl:openssl:1.0.2h:::::freebsd10:x64:14
repo_type      : binary
repository     : FreeBSD
Flat size      : 11.3MiB
Description    :
The OpenSSL Project is a collaborative effort to develop a robust,
commercial-grade, full-featured, and Open Source toolkit implementing
the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security
(TLS v1) protocols with full-strength cryptography world-wide. The
project is managed by a worldwide community of volunteers that use
the Internet to communicate, plan, and develop the OpenSSL tookit
and its related documentation.

OpenSSL is based on the excellent SSLeay library developed by Eric
A. Young and Tim J. Hudson. The OpenSSL toolkit is licensed under
an Apache-style licence, which basically means that you are free
to get and use it for commercial and non-commercial purposes subject
to some simple license conditions.

WWW: http://www.openssl.org/
WWW: http://sctp.fh-muenster.de/dtls-patches.html


Command:

# pkg info pcre


Result:

pcre-8.39
Name           : pcre
Version        : 8.39
Installed on   : Sat Sep 17 17:06:58 2016 JST
Origin         : devel/pcre
Architecture   : freebsd:10:x86:64
Prefix         : /usr/local
Categories     : devel
Licenses       : BSD3CLAUSE
Maintainer     : adamw@FreeBSD.org
WWW            : http://www.pcre.org/
Comment        : Perl Compatible Regular Expressions library
Options        :
DOCS           : on
LIBEDIT        : off
MAN3           : on
READLINE       : off
STACK_RECURSION: on
Shared Libs provided:
libpcre32.so.0
libpcre.so.1
libpcreposix.so.0
libpcrecpp.so.0
libpcre16.so.0
Annotations    :
repo_type      : binary
repository     : FreeBSD
Flat size      : 5.43MiB
Description    :
The PCRE library is a set of functions that implement regular expression
pattern matching using the same syntax and semantics as Perl 5. PCRE has its
own native API, as well as a set of wrapper functions that correspond to the
POSIX regular expression API. The PCRE library is free, even for building
proprietary software.

WWW: http://www.pcre.org/