Move SVN Repository to another Server – Quickly!
On the old server: #svnadmin dump REPONAME> REPO.dump On the new server: #svnadmin create REPONAME; svnadmin load –force-uuid REPONAME < REPO.dump That’s IT! Have fun …
Read more »On the old server: #svnadmin dump REPONAME> REPO.dump On the new server: #svnadmin create REPONAME; svnadmin load –force-uuid REPONAME < REPO.dump That’s IT! Have fun …
Read more »Since iOS 7 was launched, Siri-Proxy was not working anymore and so there was no chance to use Siri commands for home automation. Now, with iOS 8.1 Apple introduces "HOMEKIT" - it's a mix of a database and an API. In this Tutorial i will show you, how to setup your own Homekit-Server called "HOMEBRIDGE" that makes it possible again to use Siri for switching on/off lights or everything else. The official setup article in the fhem wiki seems outdated for me. Here is mine ... I am using a Wheezy box - but this is working on Jessie and Ubuntu 12.04 / 14.04 too First of all we have to install nodejs from there repo # echo "deb https://deb.nodesource.com/node_5.x wheezy main" > /etc/apt/sources.list.d/nodejs.list # echo "deb-src https://deb.nodesource.com/node_5.x wheezy main" >> /etc/apt/sources.list.d/nodejs.list # apt-get update You have to PIN the newly created repo or explicitly give apt the version when you install nodejs
Read more »Initial creating with a missing device # mdadm –create /dev/md0 –level=5 –raid-devices=3 /dev/sdg /dev/sdh /dev/sdi missing Checking the details of the newly created device # mdadm –detail /dev/md0 /dev/md0: Version : 1.2 Creation Time : Mon Nov 2 19:52:19 2015 Raid Level : raid5 Array Size : 7813774336 (7451.80 GiB 8001.30 GB) Used Dev Size […]
Read more »Nginx Reverse Proxy # nano /etc/nginx/conf.d/proxy.conf proxy_redirect off; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; client_max_body_size 10m; client_body_buffer_size 128k; client_header_buffer_size 64k; proxy_connect_timeout 90; proxy_send_timeout 90; proxy_read_timeout 90; proxy_buffer_size 16k; proxy_buffers 32 16k; proxy_busy_buffers_size 64k; Nginx Webserver # nano /etc/nignx/conf.d/logging.conf set_real_ip_from xxx.xxx.xxx.xxx; (IP des reverse proxy) real_ip_header X-Forwarded-For; real_ip_recursive on;
Read more »See how easy it is to auto deploy a virtual Maschine with Foreman and Puppet in a basic Szenario …
Read more »in den letzten Stunden habe ich mir mal owncloud angeschaut. Hier eine kleine Anleitung zur Installation. # dotdeb Paketquellen und Key adden echo ‚deb http://packages.dotdeb.org squeeze all‘ >> /etc/apt/sources.list echo ‚deb-src http://packages.dotdeb.org squeeze all‘ >> /etc/apt/sources.list wget -O – http://www.dotdeb.org/dotdeb.gpg | apt-key add – apt-get update # Pakete installieren apt-get install nginx apt-get install php5-fpm […]
Read more »Jeden morgen wenn ich ins Büro komme und mich im Foreman frontend einlogge sehe ich einige Hosts die „out of sync“ sind! Das Problem besteht schon etwas länger aber bisher war ich zu faul um nach einer Lösung zu suchen. Aktuell läuft diese Version root@puppet:~# dpkg -l |grep puppet ii facter 1.6.9-1puppetlabs1 Ruby module for […]
Read more »jaja wer kennt diese Fehlermeldung nicht? Error: Could not stat() command file ‚/var/external commands/lib/nagios3/rw/nagios.cmd‘! Dieses mal schreibe ich es mir aber auf – im Debian style natürlich. root@monitoring:~# cat /etc/nagios3/nagios.cfg |grep check_external_commands check_external_commands=1 Damit das ganze auch Update resistent konfiguriert ist: root@monitoring:~# /etc/init.d/nagios3 stop root@monitoring:~# dpkg-statoverride –-update –-add nagios www-data 2710 /var/lib/nagios3/rw root@monitoring:~# dpkg-statoverride –-update […]
Read more »jaja die auth.log sieht manchmal schon etwas voll aus bei den ganzen SSH Bruteforce Angriffen. Was kann man machen? Portknocking? Der SSH Port ist so lange zu bis eine bestimmte reinfolge an tcpflags abgeschickt wurde. Bei der richtigen rein folge innerhalb des richtigen Zeitabstandes, wird der SSH Port eine weile geöffnet für die „anklopfende“ IP […]
Read more »
Kommentare