This file contains 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 | |
# Tomado del sitio http://community.jaspersoft.com/questions/541044/auto-start-boot | |
### BEGIN INIT INFO | |
# Provides: jasperserver | |
# Required-Start: $local_fs $remote_fs $network $time $syslog | |
# Required-Stop: $local_fs $remote_fs $network $time $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Start JasperServer at boot time | |
# Description: Enable service provided by JasperServer. |
This file contains 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 | |
### BEGIN INIT INFO | |
# Provides: ruby and rails | |
# Required-Start: Se requiere que el usuario posea los permisos de sudo | |
# X-Interactive: true | |
# Short-Description: "Instalador" basico de ruby on rails en el espacio persinal del desarrollador ($HOME = /home/USUARIOPERSONAL) | |
# Description: | |
### END INIT INFO | |
# Secuencia de comandos desde root |
This file contains 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
#Todo ejecutarlo desde root | |
#Instalacion de composer | |
apt-get install curl php5-cli git | |
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer | |
#instalacion de symfony | |
mkdir -p /usr/local/bin | |
curl -LsS https://symfony.com/installer -o /usr/local/bin/symfony | |
chmod a+x /usr/local/bin/symfony |
This file contains 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
git clone -b establecimiento https://github.com/wilxsv/coreMaestros.git establecimiento | |
cd establecimiento/ | |
composer install --optimize-autoloader |
This file contains 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 | |
### BEGIN INIT INFO | |
# Provides: micrositioserver | |
# Required-Start: $local_fs $remote_fs $network $time $syslog | |
# Required-Stop: $local_fs $remote_fs $network $time $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Start MicroSitioServer at boot time | |
# Description: Enable service provided by MicroSitioServer. | |
### END INIT INFO |
This file contains 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
server { | |
listen 80; | |
listen [::]:80; | |
client_max_body_size 20m; | |
server_name DOMINIO.ORG; | |
root /var/www/..../; | |
index index.php index.html; | |
location / { | |
try_files $uri $uri/ =404; | |
client_max_body_size 20m; |
This file contains 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
server { | |
listen 80; | |
server_name DOMINIO.ORG ; | |
root /opt/pentaho-server/tomcat/webapps/pentaho; | |
location / { | |
proxy_pass http://127.0.0.1:8080/; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header Host $http_host; |
This file contains 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 | |
# todos los comandos son ejecutados desde root, no se hace uso de sudo. | |
apt-get update | |
apt-get upgrade | |
apt-get install nginx mysql-server php-fpm php-mysql | |
systemctl enable php7.0-fpm | |
apt-get install libfcgi0ldbl unzip php7.0-xml | |
# Configurar el |
This file contains 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
[gammu] | |
#connection = at115200 | |
#port = /dev/ttyUSB0 | |
connection = at19200 | |
port = /dev/ttyACM0 | |
logformat = textall | |
logfile = /var/log/gammu-smsd.log | |
DebugLevel = 255 | |
DeliveryReport = log | |
ReceiveFrequency = 5 |
This file contains 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
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; | |
ssl_prefer_server_ciphers on; | |
ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH"; | |
ssl_ecdh_curve secp384r1; | |
ssl_session_cache shared:SSL:10m; | |
ssl_session_tickets off; | |
ssl_stapling on; | |
ssl_stapling_verify on; | |
resolver 8.8.8.8 8.8.4.4 valid=300s; | |
resolver_timeout 5s; |
OlderNewer