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 | |
# Basic bash desktop file crawler | |
# 2019 - Luis Guzman <[email protected]> | |
##Check superuser | |
#if ! [ $(id -u) = 0 ]; then | |
# echo "You need to be root or have sudo privileges!" | |
# exit 0 | |
#fi |
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 | |
apt install \ | |
build-essential \ | |
cdbs \ | |
cmake \ | |
debhelper \ | |
libasound2-dev \ | |
libavcodec-ffmpeg56 \ | |
libavdevice-dev \ |
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 -e | |
# "-e" exists on first error. | |
#Check if user is root | |
if ! [ $(id -u) = 0 ]; then | |
echo "You need to be root or have sudo privileges!" | |
exit 1 | |
fi | |
apt -yq2 install libpng-dev \ | |
libfreetype6 \ |
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 | |
# Written by: Keefer Rourke <https://krourke.org> | |
# Based on AUR package <https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ttf-google-fonts-git> | |
# dependancies: fonts-cantarell, ttf-ubuntu-font-family, git | |
sudo apt-get install fonts-cantarell, ttf-ubuntu-font-family, git | |
srcdir="/tmp/google-fonts" | |
pkgdir="/usr/local/share/fonts" | |
giturl="git://github.com/google/fonts.git" |
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") |
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
[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 | |
# 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
#!/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 | |
echo '<VirtualHost *:80> | |
ServerName $DOMAIN | |
ServerAdmin webmaster@localhost | |
Redirect permanent / https://$DOMAIN | |
TransferLog /var/log/apache2/$DOMAIN.log | |
</VirtualHost> | |
<VirtualHost *:443> | |
ServerName $DOMAIN |
NewerOlder