Archive for November, 2011
Some cool articles
Sunday, November 20th, 2011I came across a few nice articles / blog posts during the last days and though I should share them. So here they are and I hope you’ll enjoy them
- 2021: The New Europe – Short article about how Europe could be like in 2021 considering the current developments
- The Data-Pixel Approach To Improving User Experience – Nice article about design
- 25 Secrets of the Browser Developer Tools – I guess the name stands for itself
- Adding Twitter into GeekTool using OAuth! – Finally a working solution to have a Geeklet with a twitter feed!!
- Five cognitive biases that prove your brain hates science – Pretty cool article about how our brain is f***ing us up all the time
- Mac-Diskriminierung schadet dem Unternehmen – German Article about using Macs in companies
CSI – Screwed
Tuesday, November 8th, 2011Kleine Frischekur
Monday, November 7th, 2011Nachdem ich lange Zeit hier nur wenig gepostet habe, ist natürlich auch der Rest dieses Blogs etwas veraltet gewesen. Das Problem bin ich gestern und heute mal angegangen und schwupps, schon ist es die neuste Version, diverse Plugins wurden aussortiert und ersetzt und ich habe sogar von der alten Sidebar Abstand genommen und alles läuft jetzt über Widgets! Schick, oder? Nunja, also eigentlich wird das wahrscheinlich niemandem so wirklich auffallen, aber “innen ist alles neu”
Wenns 2011 – Ski Opening
Sunday, November 6th, 2011Letztes Wochenende sind wir mit ein paar Leuten (~20
) von München aus aufgebrochen und zum Pitztaler Gletscher gefahren, um die Skisaison zu eröffnen. Es war ein geniales Wochenende und es hat sooo viiieeel Spaß gemacht endlich mal wieder auf Ski zu stehen – eine Fortsetzung in Kürze ist garantiert!! Unser Hotel (Landhaus Gasser) war zwar etwas weiter weg von der Gletscherbahn, so dass wir etwa 20-30min fahren mussten, dafür waren Preis und Leistung allerdings unschlagbar. Jeden Tag alles frisch und sauber und das für nur 15€/Nacht (inklusive kleinem Gruppenrabatt)! Genial und sehr zu empfehlen ![]()
Ein paar Bilder gibt es natürlich auch – Galerie!!
Jenkins & HTTP-Auth
Saturday, November 5th, 2011Since I’m working on a little project in my sparetime, I’m trying to use some software we’re also using at work and increase my knowledge. Lately I’m playing around with Jenkins and keep on running into small issues for which it’s a pain to find good documentation or howtos. Therefore I’ll start posting some hints on this blog and maybe they’ll be useful for someone else as well
The first thing I want to write about just came up recently. We have a casual rootserver for the project and thought it’d be a good idea to secure Jenkins from unauthorized access. Therefore I said I’d take care of it and simply put it behind a running apache2 instance and use HTTP-Auth. It’s not something tough but definitely not as easy as it sounds. After studying some documentation, searching a little and reading some posts on different sites we now have a secured Jenkins running. Finally I came up with the following solution.
In the apache2.conf you have to set up a proxy configuration:
ProxyPass /jenkins http://localhost:8081/jenkins ProxyPassReverse /jenkins http://localhost:8081/jenkins ProxyRequests Off <Proxy http://localhost:8081/jenkins*> Order deny,allow Allow from all </Proxy> <Location /jenkins> AuthType basic AuthName "Jenkins" AuthUserFile "/srv/htpasswd" Require valid-user </Location>
In the Jenkins configuration file /etc/default/jenkins you have to extend the JENKINS_ARGS and add
--prefix=/jenkins --httpListenAddress=127.0.0.1
Also, you got to change the Jenkins URL in the “Manage Jenkins” section of your installation.
Now you can access your Jenkins via http://domain.com/jenkins secured with a common HTTP Auth and something like http://domain.com:8081 does not work anymore
Update
I forgot to say that you have to enable a few apache modules as well:
a2enmod proxy
a2enmod proxy_http



