rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
yum install -y http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
yum-config-manager --enable elrepo-kernel
################################################################################ | |
# REFERENCES | |
# ConcourseCI Docs: https://concourse.ci | |
# Concourse tutorial: https://github.com/starkandwayne/concourse-tutorial | |
# | |
# NOTES | |
# This file is a self-contained description of a Concourse CI pipeline | |
# to deploy a http://gosparta.io application. There's a couple of things to | |
# note: | |
# - The YAML uses node references so that scripts can be defined in the |
#!/usr/bin/env bash | |
# | |
# Backup selected directories to a Backblaze B2 bucket | |
# | |
# Example daily cron: | |
# @daily /usr/local/bin/b2backup >/dev/null | |
# | |
# Account creds | |
id=xxxxxxxxxx |
# Backup | |
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
# Restore | |
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
This is a collection of the most common commands I run while administering Postgres databases. The variables shown between the open and closed tags, "<" and ">", should be replaced with a name you choose. Postgres has multiple shortcut functions, starting with a forward slash, "". Any SQL command that is not a shortcut, must end with a semicolon, ";". You can use the keyboard UP and DOWN keys to scroll the history of previous commands you've run.
http://www.postgresql.org/download/linux/ubuntu/ https://help.ubuntu.com/community/PostgreSQL
#https://www.zeitgeist.se/2013/11/22/strongswan-howto-create-your-own-vpn/ | |
#https://www.gypthecat.com/ipsec-vpn-host-to-host-on-ubuntu-14-04-with-strongswan | |
#Example of simple pre-shared keys vpn setup: https://www.strongswan.org/uml/testresults/ikev2/rw-psk-ipv4/ | |
$ sudo apt-get -y install strongswan | |
$ ipsec version | |
Linux strongSwan U5.1.2/K3.13.0-55-generic | |
Institute for Internet Technologies and Applications | |
University of Applied Sciences Rapperswil, Switzerland | |
See 'ipsec --copyright' for copyright information. |
If you don't want to build Squid from scratch, you can simply Setup a Squid anonymous proxy
Please note that this whole manual refers to the version 3.5.23 of Squid. You probably would have to adapt some commands to the version you will actually download.
# Assuming an Ubuntu Docker image | |
$ docker run -it <image> /bin/bash |