Skip to content

Instantly share code, notes, and snippets.

View lidox's full-sized avatar

Artur Schäfer lidox

View GitHub Profile
@lidox
lidox / Postfix Mail-Relay Installation.md
Last active October 14, 2015 12:18
Installationsanleitung für Postfix zur Nutzung als "Mail-Relay, SMTP-Relay-Server, Smarthost" (Linux Debian)

#####################################################################

Mail Relay aufsetzten mit Postfix

Autor: Artur Schäfer

#####################################################################

  1. Voreinstellungen: $ sudo apt-get update $ sudo apt-get install libsasl2-modules

  2. Instaliere Postfix:

@lidox
lidox / install-elasticsearch-debian
Last active October 1, 2015 08:15 — forked from mystix/install-elasticsearch-debian
Install ElasticSearch on Debian
VERSION=0.20.7
sudo apt-get update
sudo apt-get install openjdk-7-jdk
# 1.10.2015 $VERSION = 1.6.0
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-$VERSION.deb
sudo dpkg -i elasticsearch-$VERSION.deb
# be sure you add "action.disable_delete_all_indices" : true to the config!!
@lidox
lidox / 1und1 install node and npm without having to sudo
Last active October 1, 2015 08:17
Install node without having to sudo. (used for 1und1 server)
# take ownership of the folders that npm/node use
# please don't do this if you don't know what it does!
sudo mkdir -p /usr/local/{share/man,bin,lib/node,include/node}
sudo chown -R $USER /usr/local/{share/man,bin,lib/node,include/node}
# now just a pretty vanilla node install
# let it use the default paths, but don't use sudo, since there's no need
export PREFIX=
mkdir node-install
curl http://nodejs.org/dist/node-v0.4.3.tar.gz | tar -xzf - -C node-install