Der Weblog von Edmund Haselwanter

Kein Back-To-My-Mac - Verwende VNC über SSH

veröffenlticht von DI Edmund Haselwanter on Apr 23, 2011
Tags: osx, vnc

Wiedereinmal far-far-away und etwas am Rechner im Firmen-, oder Heimnetzwerk vergessen? Kein Problem solange man den SSH Server Dienst einem immer laufenden Mac im Netz laufen hat.

weiterlesen…

Data Driven Deployment einer Java Web Application mit Chef Solo

veröffenlticht von DI Edmund Haselwanter on Apr 16, 2011
Tags: java, ruby, vagrant

Chef Application Cookbook Showcase

Dieses Vagrant Projekt auf unserem Github Repository ( https://github.com/iteh/vagrant-demos/ ) zeigt die Verwendung des Application Cookbooks für Chef

weiterlesen auf iteh.at

Vagrant, Virtualbox, Chef und Apache2

veröffenlticht von DI Edmund Haselwanter on Dez 05, 2010
Tags: chef, opschef, opscode, opscookbook, sysadmin, vagrant

Auf der iTeh Seite gibt es einen neuen Artikel zu Vagrant, chef-solo und Virtualbox.

Ein Mechanize Screencast und wie man die Ruby IRB History verwendet

veröffenlticht von Edmund Haselwanter on Mär 12, 2010
Tags: ruby

And again Ryan Bates did a great screencast. This time on mechanize

“Mechanize extends the power of Nokogiri allowing you to interact with multiple pages on the site: click links, submit forms, etc.”

And if you ever wanted to extract the history of an IRB session, here it is:

puts Readline::HISTORY.entries.split("exit").last[0..-2].join("\n")

and another great tool from this episode:

SelectorGadget: point and click CSS selectors

HTTP Basic Auth für Mysql Passwort und das alte old_password in Rails

veröffenlticht von Edmund Haselwanter on Nov 02, 2009
Tags: http basic auth, mysql, rails

I recently had to develop a small application for a client. The goal was to add a feature to grown Java web application.

As the software was maintained for several years there are users with old an new MySql passwords in the system.

weiterlesen…

Chef von Opscode und die Eleganz von Ruby

veröffenlticht von Edmund Haselwanter on Okt 14, 2009
Tags: chef, opschef, opscode, opscookbook, sysadmin

Aktuelle Versionen von Chef von Opscode haben eine neue Resource ruby_block spendiert bekommen

Das sind wirklich wunderbare Neuigkeiten, da sich damit elegant Problemstellungen lösen lassen

Wir können damit beispielsweise einen speziellen HTTP request erzeugen. Z.B. einen GET Request auf localhost mit angepasster “Host” Header Information.

weiterlesen…

Ein Webalizer Cookbook für Chef von Opscode

veröffenlticht von Edmund Haselwanter on Okt 13, 2009
Tags: apache2, chef, opschef, opscode, opscookbook, sysadmin

Install and run the webalizer with Chef from Opscode

http://github.com/ehaselwanter/cookbooks/tree/COOK-195/webalizer

As DRY as possible ;-)

weiterlesen…

Eine einfach Ping.fm Extension für das Radiant CMS

veröffenlticht von Edmund Haselwanter on Okt 11, 2009
Tags: ping.fm, radiantcms

I just created a simple Ping.fm extension for RadiantCMS on github: ping.fm extension

With this you can have updates to your site automatically send details to your
Ping.fm account. All you’ll need to do is provide your account information in the Radiant::Config settings.

weiterlesen…

Ein Glassfish Cookbook für Chef von Opscode

veröffenlticht von Edmund Haselwanter on Okt 11, 2009
Tags: chef, Glassfish, java, opschef, opscookbook, Sun

Install and run the Sun Glassfish Application Server from Sun with Chef from Opscode

At the moment its really dumb and just installs Glassfish and runs it:
http://github.com/ehaselwanter/cookbooks/tree/COOK-191/glassfish/

Cruise von Thougthworks und ant 1.7.1 auf Centos 5.2 einrichte

veröffenlticht von Edmund Haselwanter on Sep 29, 2009
Tags: ant, centos, cruise, Thougthworks

This is on howto use apache ant 1.7.1 in Cruise 1.2 from Thoughtworks

weiterlesen…

Die http_request Ressource von Chef von Opscode um HTTP Header Paramter erweitern

veröffenlticht von Edmund Haselwanter on Jul 31, 2009
Tags: http_request, opschef, opscode

Added support for custom header options in chef for the http_request

Opscode Chef Ticket
Resolved on Github

weiterlesen…

Twitter Benachrichtigung für Radiant Seiten

veröffenlticht von Edmund Haselwanter on Jun 28, 2009
Tags:

added Twitter notification to blog posts. Testing with Ping.fm weiterlesen…

Der Webauftritt wurde auf Radiant CMS Version 0.8 umgestellt

veröffenlticht von Edmund Haselwanter on Jun 28, 2009
Tags: radiant

used extensions

weiterlesen…

Wie man einen Secure Shell Client SSH Key zu einem OpenSSH Server Key umwandelt

veröffenlticht von Edmund Haselwanter on Mai 13, 2009
Tags: ssh

You have to convert the key like so:

ssh-keygen -i -f id_dsa_2048_a.pub >>.ssh/authorized_keys

Fehler bei Tomcat: Too many open files

veröffenlticht von Edmund Haselwanter on Mär 13, 2009
Tags: java, tomcat

the symptom

If tomcat just respondes with HTTP 500 and you find something like

org.apache.tomcat.jni.Error: Too many open files
       at org.apache.tomcat.jni.Socket.accept(Native Method)
       at org.apache.tomcat.util.net.AprEndpoint$Acceptor.run(AprEndpoint.java:1110)
       at java.lang.Thread.run(Thread.java:619)
Mar 12, 2009 12:01:34 PM org.apache.tomcat.util.net.AprEndpoint$Acceptor run
SEVERE: Socket accept failed

in catalina.out

weiterlesen…