Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:340) in /home/httpd/vhosts/deluxxe.ch/httpdocs/wordpress01/wp-includes/feed-rss2.php on line 8 Deluxxe http://www.deluxxe.ch simply awesome Fri, 19 Dec 2014 01:25:01 +0000 en-US hourly 1 https://wordpress.org/?v=5.7.11 Raspbmc mit Hifiberry DAC+ als LMS inkl. Squeezeslave http://www.deluxxe.ch/?p=123&utm_source=rss&utm_medium=rss&utm_campaign=raspbmc-mit-hifiberry-dac-als-lms-inkl-squeezeslave http://www.deluxxe.ch/?p=123#respond Fri, 19 Dec 2014 01:25:01 +0000 http://www.deluxxe.ch/?p=123 Continue reading Raspbmc mit Hifiberry DAC+ als LMS inkl. Squeezeslave ]]> So neuer Versuch den HifiBerry DAC+ unter Raspbmc zum laufen zu bringen:

  1. Raspbmc nach dieser Anleitung installieren.
  2. Kernelupgrade nach dieser Anleitung durchführen.
  3. Module für HifiBerry DAC+ nach dieser Anleitung laden.
  4. Damit nicht noch der HifiBerry DAC unter aplay angezeigt wird muss nach dieser Anleitung etwas gelöscht werden.
  5. Anschliessend unter XBMC die externe Soundkarte aktivieren (Raspbmc Settings) und unter Einstellungen – System – Audioausgabegerät auswählen.
  6. Nach dieser Anleitung den LMS installieren. (braucht lange bis er gestartet ist…)
  7. Anschliessend noch nach dieser Anleitung den Squeezeslave installieren. /etc/init.d/squeezeslave muss noch mit chmod +x ausführbar gemacht werden. Für den autostart noch: sudo update-rc.d squeezeslave defaults
  8. FERTIG!
]]>
http://www.deluxxe.ch/?feed=rss2&p=123 0
SqueezeLite parallel zu OpenELEC http://www.deluxxe.ch/?p=98&utm_source=rss&utm_medium=rss&utm_campaign=squeezelite-parallel-zu-openelec-3 http://www.deluxxe.ch/?p=98#respond Fri, 31 Oct 2014 23:35:07 +0000 http://www.deluxxe.ch/?p=98 Continue reading SqueezeLite parallel zu OpenELEC ]]> RaspberryPi B+ mit HifiBerry DAC+

Ich hatte bis jetzt ein Raspberry Pi B mit OpenELEC über HDMI an meinem AV Receiver angeschlossen um TV etc. zu schauen und ein zweites Raspberry Pi B mit HifiBerry DAC über Cinch um via SqueezePlug Musik zu hören.

Das Ziel war aus diesen zwei Raspberry Pis eins zu machen.

1. Versuch: Raspbmc installiert mit XSqueeze Plugin

– Funktioniert grundsätzlich!

– Nachteil 1: Es muss zum Musik hören das Plugin gestartet werden. Sollte ich dies am Abend nach dem TV schauen vergessen haben werde ich am morgen nicht mit Musik geweckt…

– Nachteil 2: Wenn das TV nicht an ist will mein AV Receiver ab und zu keine Musik vom HDMI Eingang abspielen.

– Nachteil 3: Ich kann während das Plugin läuft nichts anderes mit dem XBMC machen.

Meine Lösung: HifiBerry aufs Raspberry Pi und über dies den Sound des SqueezeLite Player abspielen, parallel dazu über HDMI Bild und Sound aus dem XBMC ans TV.

 

Habe jetzt frisch mein Raspberry Pi B+ und HifiBerry DAC+ erhalten =)

Also neuer Versuch:

  1. HifiBerry DAC+ auf Raspberry Pi B+ stecken.
  2. OpenELEC auf SD Karte installieren (habe es mit dieser Anleitung gemacht)
  3. OpenELEC starten und die Konfigurationen am Anfang machen (Sprache usw. Wichtig SSH aktivieren!!!)
  4. Via SSH mit Raspberry Pi verbinden (Benutzer: root, Passwort: openelec)
  5. Als erstes konfigurieren wir OpenELEC dass es das HifiBerry erkennt. (Anleitung).
  6. Nun könnte man OpenELEC mit dem HifiBerry verwenden (Kann unter Einstellungen – System – Audio Ausgabe – Audio Ausgabegerät ausgewählt werden) (machen wir aber nicht xD)
  7. Reboot
  8. Neuen Ordner erstellen
    mkdir /storage/squeezelite
    cd /storage/squeezelite
  9. Aktuelle SqueezeLite Version herunterladen (mittels wget) und ausführbar machen.
    chmod +x squeezelite-armv6hf
  10. autostart.sh generieren
    echo "#!/bin/sh" > /storage/.config/autostart.sh && chmod +x /storage/.config/autostart.sh
  11. SqueezeLite beim Systemstart ausführen
    nano /storage/.config/autostart.sh

    autostart.sh sollte ca. so aussehen:
    #!/bin/sh
    # SqueezeLite Autostart
    (sleep 20; \
    exec /storage/squeezelite/squeezelite-armv6hf -s vmlms01 -o default:CARD=sndrpihifiberry -m B8:27:EB:5D:3A:B9 -r 384000
    )&

    -s Verbindet zu einem bestimmten Server (braucht es nur wenn mehrere LMS laufen(Ja bei mir laufen mehrere…))
    -o Ist das Audio output Gerät (hier das HifiBerry)
    -m Ist die Adresse des SqueezeLite Players (ich verwende immer die Mac-Adresse des Raspberry Pis)
    -r Ist die Sample Rate (die max. beim HifiBerry ist 384000)
  12. Reboot und freuen, dass alles funktioniert!
]]>
http://www.deluxxe.ch/?feed=rss2&p=98 0
PhotoIndexer http://www.deluxxe.ch/?p=84&utm_source=rss&utm_medium=rss&utm_campaign=photoindexer http://www.deluxxe.ch/?p=84#respond Sun, 10 Aug 2014 16:06:21 +0000 http://www.deluxxe.ch/?p=84 Continue reading PhotoIndexer ]]> Habe das Problem, dass ich in meiner Fotosammlung viele Fotos doppelt habe und diese noch verschieden benannt sind.
Was macht man dagegen?

Habe ein Programm geschrieben welches die EXIF Daten aller Fotos in einem Ordner und seinen Unterordnern extrahiert und in eine PostgreSQL Datenbank schreibt.

Nächster Schritt wäre in der Datenbank nach doppelten Einträgen zu suchen und die entsprechenden Fotos zu löschen.

Das Programm ist in Python geschrieben und befindet sich hier.

Updates folgen.

]]>
http://www.deluxxe.ch/?feed=rss2&p=84 0
Autsch http://www.deluxxe.ch/?p=81&utm_source=rss&utm_medium=rss&utm_campaign=autsch http://www.deluxxe.ch/?p=81#respond Sun, 10 Aug 2014 13:43:24 +0000 http://www.deluxxe.ch/?p=81

]]>
http://www.deluxxe.ch/?feed=rss2&p=81 0
Speedtest http://www.deluxxe.ch/?p=63&utm_source=rss&utm_medium=rss&utm_campaign=speedtest http://www.deluxxe.ch/?p=63#respond Sat, 09 Aug 2014 16:18:19 +0000 http://www.deluxxe.ch/?p=63 Haben mal ausprobiert wie schnell unser Boot fährt.

Max. Geschwindigkeit: 60km/h

Screenshot_2014-08-09-17-04-47

Beschleunigung von 0km/h auf 60km/h: ca. 2 Minuten

( Das geht wahrscheinlich noch schneller xD )

Screenshot_2014-08-09-17-31-44

Die Route die wir gefahren sind:

Screenshot_2014-08-09-17-04-16 (1)

Und hier noch ein paar Bilder:

20140805_203700 20140805_203715 20140805_203555 20140805_202413 20140805_202343 20140805_202331

]]>
http://www.deluxxe.ch/?feed=rss2&p=63 0
Die Antwort auf alle Fragen http://www.deluxxe.ch/?p=60&utm_source=rss&utm_medium=rss&utm_campaign=die-antwort-auf-alle-fragen http://www.deluxxe.ch/?p=60#respond Sat, 26 Jul 2014 20:17:07 +0000 http://www.deluxxe.ch/?p=60 42

]]>
http://www.deluxxe.ch/?feed=rss2&p=60 0
Reverse Proxy auf Apache HTTP Server einrichten http://www.deluxxe.ch/?p=26&utm_source=rss&utm_medium=rss&utm_campaign=reverse-proxy-auf-apache-http-server-einrichten http://www.deluxxe.ch/?p=26#respond Mon, 21 Jul 2014 19:30:04 +0000 http://www.deluxxe.ch/?p=26 Continue reading Reverse Proxy auf Apache HTTP Server einrichten ]]> Was ist ein Reverse Proxy?

Ein Reverse Proxy ermöglicht es über einen Webserver eine Seite welche auf einem anderen Webserver läuft anzuzeigen.

 

Wofür braucht man das?

Hat man in seinem Netzwerk zwei Webserver welche von Extern erreichbar sein sollen, jedoch nur eine Externe IP Adresse, so kann man auf seinem Router entweder über Portforwarding die beiden Webserver über verschiedene Ports ansprechen, oder mittels einem Reverse Proxy die Seiten des zweiten  Webserver über den Ersten zur Verfügung stellen.

Howto unter Debian:

    1. Portforwarding auf dem Router einrichten (Port 80 von Extern weiterleiten auf Port 80 von Webserver 1)
    2. Wenn Apache noch nicht installiert ist diesen Installieren:
      apt-get install apache2
    3. Einige Apache Module aktivieren:
      a2enmod proxy_http proxy_ajp rewrite deflate headers proxy_balancer proxy_connect
    4. Virtuellen Host als Proxy einrichten:
      cd /etc/apache2/sites-aviable
      nano test.domain.ch

      Folgendes eingeben:
      <VirtualHost *>
             ServerAdmin test@test.com
             ProxyRequests off
             ServerName test.domain.ch
             ServerAlias www.test.domain.ch
             ProxyPreserveHost On
             
             <Location />
      		ProxyPass http://"Ip von Webserver 2":80/
      		ProxyPassReverse http://"Ip von Webserver 2":80/
      		Order allow,deny
      		Allow from all
             </Location>
      </VirtualHost>
    5. Virtual Host aktivieren:
      a2ensite test.domain.ch
      service apache2 reload

      (wenn keine Fehler auftreten ist das ein gutes Zeichen xD ansonsten Syntax kontrollieren)
    6. Nun ist die Seite auf “Webserver 2″ über test.”Webserver 1” erreichbar.

 

]]>
http://www.deluxxe.ch/?feed=rss2&p=26 0
Wakeboarding Part I http://www.deluxxe.ch/?p=23&utm_source=rss&utm_medium=rss&utm_campaign=wakeboarding-part-i http://www.deluxxe.ch/?p=23#respond Sun, 20 Jul 2014 20:14:04 +0000 http://www.deluxxe.ch/?p=23

]]>
http://www.deluxxe.ch/?feed=rss2&p=23 0
Hello World http://www.deluxxe.ch/?p=5&utm_source=rss&utm_medium=rss&utm_campaign=hello-world-2 http://www.deluxxe.ch/?p=5#respond Thu, 17 Jul 2014 21:16:39 +0000 http://www.deluxxe.ch/?p=5 Am I online?

]]>
http://www.deluxxe.ch/?feed=rss2&p=5 0