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/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 ; \ |
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: 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 |
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: 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 |
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: 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 |
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/bash | |
echo '<VirtualHost *:80> | |
ServerName $DOMAIN | |
ServerAdmin webmaster@localhost | |
Redirect permanent / https://$DOMAIN | |
TransferLog /var/log/apache2/$DOMAIN.log | |
</VirtualHost> | |
<VirtualHost *:443> | |
ServerName $DOMAIN |
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/bash | |
# POSBOX SSL for ISPConfig DNS API | |
# This is an early approach, it is NOT suitable for production, yet. ;) | |
# | |
# ToDo | |
# Bypass RAM disk for apache2 configuration | |
# otherwise certs configuration is lost on reboot. | |
# mount -o remount, rw / | |
# ========== ACME.SH (Let's Encrypt) Installation ========== |
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/bash | |
# PatchLT - A simple script for Libretime and reverse proxy | |
# easing the SSL setup and proxy using Apache2 - @Jul/30/2018 | |
# Use along with PR https://github.com/LibreTime/libretime/pull/501 | |
echo "This post-install script must be run right after finishing installation." | |
if [ "$EUID" -ne 0 ] | |
then echo "Please run as root" | |
exit |
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
[STAGE 0/6: Preparations - 0%] | |
[STAGE 0/6: Preparations - 0%] | |
--> Check System Requirements | |
Please read https://framagit.org/ideascube/pibox-installer/wikis/System-Requirements for details | |
--> Prepare Image file | |
Call: ['/usr/bin/udisksctl', 'dump'] | |
/org/freedesktop/UDisks2/Manager: | |
org.freedesktop.UDisks2.Manager: |
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/bash | |
# PatchSilan - A simple script for Libretime and silan backport easing its | |
# upgrade to a working release for Debian, Ubuntu & CentOS(7) - @Aug/10/2018 | |
#Check distro | |
if [ -f /etc/redhat-release ] | |
then | |
yum -y update && yum install -y wget | |
SILAN_RPM="$(rpm -q silan | cut -d '-' -f 2)" | |
elif [ -f /etc/debian_version ] |
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/bash | |
# Quick Jibri Installer | |
# Luis Guzman - [email protected] | |
# GPLv3 or later | |
# SYSTEM SETUP | |
JITSI_UNS_REPO=$(apt-cache policy | grep http | grep jitsi | grep unstable | awk '{print $3}' | head -n 1 | cut -d "/" -f 1) | |
CERTBOT_REPO=$(apt-cache policy | grep http | grep certbot | head -n 1 | awk '{print $2}' | cut -d "/" -f 4) | |
APACHE_2=$(dpkg-query -W -f='${Status}' apache2 2>/dev/null | grep -c "ok installed") | |
NGINX=$(dpkg-query -W -f='${Status}' nginx 2>/dev/null | grep -c "ok installed") |
OlderNewer