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
@echo off | |
:: core\dbpgsql\bin\initdb -U postgres -A password --pwfile="D:\Sopwer\svrstack\core\dbpgsql\pgpass.txt" -D "D:\Sopwer\svrstack\core\dbpgsql\data" -E utf8 --no-locale | |
:: core\dbpgsql\bin\pg_ctl.exe register -N PgSQL -D "D:\Sopwer\svrstack\core\dbpgsql\data" | |
:: core\dbmysql\bin\mysqld.exe --log_syslog=0 --console --standalone --initialize-insecure --init-file="D:\Sopwer\svrstack\core\dbmysql\init.txt" | |
:: core\dbmysql\bin\mysqld.exe --install-manual MySQL --defaults-file="D:\Sopwer\svrstack\core\dbmysql\my.ini" | |
:: core\miscapp\redis-server.exe --service-install D:\Sopwer\svrstack\core\miscapp\redis.conf --loglevel verbose | |
:: core\apache\bin\httpd.exe -k install -n "Apache2" |
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 | |
# SSH Daemon | |
sed -i "s|\("^ClientAliveInterval" * *\).*|\1600|" /etc/ssh/sshd_config | |
sed -i "s|\("^#ListenAddress" * *\).*|\10.0.0.0|" /etc/ssh/sshd_config | |
sed -i "s|\("^AllowTcpForwarding" * *\).*|\1yes|" /etc/ssh/sshd_config | |
sed -i "s|\("^ClientAliveCountMax" * *\).*|\13|" /etc/ssh/sshd_config | |
sed -i "s|\("^PermitTunnel" * *\).*|\1yes|" /etc/ssh/sshd_config | |
sed -i "s/#ListenAddress/ListenAddress/" /etc/ssh/sshd_config |
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 | |
#=============================================================================================== | |
# System Required: Debian or Ubuntu (32bit/64bit) | |
# Description: Install PPTP VPN for Debian or Ubuntu | |
# Author: mikangchan <[email protected]> | |
# More Info: http://ovo.so | |
#=============================================================================================== | |
clear | |
echo "#############################################################" | |
echo "# Install pptp vpn for Debian or Ubuntu (32bit/64bit)" |
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 | |
# | |
# https://www.hiroom2.com/2017/06/20/debian-9-install-zabbix/ | |
# | |
set -e | |
MYSQL_VERSION=5.5 | |
[ -z "${MYSQL_PASSWD}" ] && MYSQL_PASSWD=PASSWD_MYSQL | |
[ -z "${ZABBIX_PASSWD}" ] && ZABBIX_PASSWD=zabbix |
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 -e '\nInstalling dependencies...' && dnf install -y nano axel crudini | |
echo -e '\nConfiguring DNF fastest mirror...' | |
crudini --set /etc/dnf/dnf.conf 'main' 'installonly_limit' '1' | |
crudini --set /etc/dnf/dnf.conf 'main' 'fastestmirror' 'False' | |
echo -e 'Creating repos...' && rm -f /etc/yum.repos.d/*repo* | |
cat > /etc/yum.repos.d/fedora.repo <<EOF |
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
Verifying that "riespandi.id" is my Blockstack ID. https://onename.com/riespandi |
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 -e "\nInstalling Google Fonts..\n" | |
wget -O- https://github.com/google/fonts/tarball/master | tar xvz -C /usr/src | |
mv /usr/src/{google-fonts*,gfonts} | |
cd /usr/src/gfonts | |
find . -mindepth 2 -type f -print -exec mv {} . \; | |
rm -fR -- */ | |
rm -fR {AUTHORS,CONTRIBUTORS} | |
rm -fR *.{txt,json,csv,md,html,py,png,jpg,enc,nam} |
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
#!/usr/bin/env bash | |
# | |
# Dropbox Uploader | |
# | |
# Copyright (C) 2010-2014 Andrea Fabrizi <[email protected]> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or | |
# (at your option) any later 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/sh | |
#chkconfig: 345 99 10 | |
#description: Seafile auto start-stop script. | |
# source function library | |
. /etc/rc.d/init.d/functions | |
start() { | |
echo "Starting Seafile server..." | |
su - seafile -c "seafile-server-latest/seafile.sh start" |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCT9s+L2WYu/M1m5UdvwOm8odqjnSVjW7ErHs2+/psSpO/oUK2A09rVMLDzN0mDcRH2pvCzWXxTfdTSKsV50V8nnh2uJfhjGgL9rxWNOCCpguCzRbt/Lav5NSzoPFeFPJ7e1+p0XfQWZYjhEpPSqT69xPRU/02gaOgkdAn9UufrYa071pJClVGK9zJZ7ZrXXSJJ3wFEojBHDJyllf2aYrzZoRbH0DcWcDFe14wBBGQT+SWWOPysOIiA5tyTHIuGrbiTP2a7ZDymjoQoPzvp6LBySuhr68j3J1frReH59y4H6zgC2YXEMd/gTWFzKGsBK3JDQStV6CbpF5xd69bc0sDp [email protected] |