Skip to content

Instantly share code, notes, and snippets.

View Ark74's full-sized avatar

Luis Guzman Ark74

View GitHub Profile
@Ark74
Ark74 / php-5.6.X-fpm
Last active April 22, 2017 15:44
php-5.6.X-fpm
#! /bin/sh
### BEGIN INIT INFO
# Provides: php-5.6.0-fpm
# Required-Start: $all
# Required-Stop: $all
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: starts php-5.6.0-fpm
# Description: starts the PHP FastCGI Process Manager daemon
### END INIT INFO
#! /bin/sh
### BEGIN INIT INFO
# Provides: php-7.1-fpm
# Required-Start: $all
# Required-Stop: $all
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: starts php-7.1-fpm
# Description: starts the PHP FastCGI Process Manager daemon
### END INIT INFO
@Ark74
Ark74 / php-7.0.X-fpm
Created September 28, 2016 06:38
php-7.0.X-fpm
#! /bin/sh
### BEGIN INIT INFO
# Provides: php-7.0.X-fpm
# Required-Start: $all
# Required-Stop: $all
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: starts php-7.0.X-fpm
# Description: starts the PHP FastCGI Process Manager daemon
### END INIT INFO
@Ark74
Ark74 / apache-ispconfig3-trisquel.sh
Last active April 29, 2016 23:08
Install Apache 2.4 ISPConfig3 Trisquel 7.0 64Bits
#!/bin/bash
## Install ISPConfig3 on Trisquel 7.0 64Bits on a Digital Ocean Droplet
## Author: Luis Alberto Guzmán García ark.switnet.org
## Modified from: Nilton OS blog.linuxpro.com.br
## https://www.howtoforge.com/perfect-server-ubuntu-14.04-apache2-php-mysql-pureftpd-bind-dovecot-ispconfig-3
##
## Agregar swap de 1G y ajusta archivo ssysctl
fallocate -l 1G /swapfile ; chmod 600 /swapfile ; \
mkswap /swapfile ; swapon /swapfile ; \