This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Exemplo nginx + gnunicorn + Django | |
# | |
server { | |
listen 80; | |
server_name exampleapp.org; | |
root /srv/example_app; | |
location / { | |
proxy_set_header Host $host; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
######################################## | |
# | |
# config-PHP52 v2.0rev3 | |
# Configuração para compilação do PHP 5.2.x | |
# | |
# por Flaudisio Tolentino - flaudisio at flaudisio.com | |
# Livre para alterações. | |
# | |
######################################## |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Nagios - Compilação e Instalação (básico) | |
# | |
# Variáveis | |
USUARIO=nagios | |
GRUPO=nagios | |
GRUPOCMD=nagioscmd | |
USUARIOAPACHE=www-data |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- | |
-- Banco de Dados 2 | |
-- Gatilhos | |
-- | |
-- Dados Iniciais e Exemplos | |
-- | |
-- | |
-- Ações | |
-- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- | |
-- Banco de Dados 2 | |
-- Gatilhos | |
-- | |
-- Estrutura das tabelas, função e gatilho | |
-- | |
-- Referências: | |
-- * DINIZ, Eduardo. "Triggers (Gatilhos)". | |
-- * http://www.postgresql.org/docs/8.4/static/plpgsql.html | |
-- * http://www.postgresql.org/docs/8.4/static/plpgsql-structure.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- | |
-- Banco de Dados 2 | |
-- Gatilhos | |
-- | |
-- Criação do Banco de Dados | |
-- | |
CREATE DATABASE bd2 | |
WITH OWNER = postgres | |
ENCODING = 'UTF8'; |
NewerOlder