Para editar un comando: Window → Preferences → General → Keys
Ctrl+D | elimina la línea actual (en la que se encuentra el cursor) |
Ctrl+Shift+F | formatear código (tabulaciones, saltos de línea,…) |
#!/bin/bash -xv | |
### Country list | |
# CHANGE WITH YOUR COUNTRIES | |
COUNTRIES="europe/france/guadeloupe europe/france/guyane europe/france/mayotte europe/france/martinique europe/france/reunion europe/france" | |
# SMALL SUBSET FOR TESTING: | |
COUNTRIES="europe/france/guyane europe/france/mayotte" | |
NOMINATIM="/var/www/Nominatim" | |
cd $NOMINATIM/data |
group = core | |
admin-port = 13000 | |
admin-password = foo | |
status-password = bar | |
admin-deny-ip = "*.*.*.*" | |
admin-allow-ip = "*.*.*.*" | |
log-file = "/var/log/kannel/bearerbox.log" | |
access-log = "/var/log/kannel/access.log" | |
store-type = file | |
store-location = "/var/log/kannel/queue.log" |
#!/bin/bash | |
# Ruta en la que se guarda el log de la operacion de backup. | |
logfile="/var/backup/mysql/backUp.log" | |
# Ruta en la que guardar los backups | |
backup_dir="/var/backup/mysql" | |
# Usuario | |
username="root" |
##Instalación y configuración de [Odoo 8.0 + Apache + mod_wsgi] en entornos de producción Guía de instalación de Odoo 8.0 en entornos GNU/Linux con Apache y mod_wsgi como puerta de enlace. ###El cuento corto NOTA: En ésta guía rápida no se explican los comandos básicos de bash ni el sistema de archivos de entornos GNU/Linux. ####Instalación de las dependencia y recomendaciones de Odoo para la versión 8.0
$ aptitude install adduser postgresql-client python python-dateutil python-decorator python-docutils python-feedparser python-imaging python-jinja2 python-ldap python-libxslt1 python-lxml python-mako python-mock python-openid python-passlib python-psutil python-psycopg2 python-pybabel python-pychart python-pydot python-pyparsing python-pypdf python-reportlab python-requests python-simplejson python-tz python-unittest2 python-vatnumber python-vobject python-werkzeug python-xlwt python-yaml antiword graphviz ghostscript postgresql python-gevent poppler-utils git libapache2-mod-wsgi
####Configuración de Po
#!/bin/bash | |
# Run as root | |
set -e | |
apt-get update | |
apt-get install -y build-essential | |
apt-get install -y libncurses5-dev | |
useradd mysql |
RUN apt update | |
RUN apt upgrade -y | |
RUN apt install -y apt-utils | |
RUN a2enmod rewrite | |
RUN apt install -y libmcrypt-dev | |
RUN docker-php-ext-install mcrypt | |
RUN apt install -y libicu-dev | |
RUN docker-php-ext-install -j$(nproc) intl | |
RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng12-dev | |
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ |