Thursday, March 1, 2012

Tuesday, February 28, 2012

Nexus 2.0 webinar with Jason van Zyl

Nexus 2.0 webinar with Jason van Zyl

Monday, February 27, 2012

.jsp forward based on server name

<%
 if(request.getServerName().indexOf("jenkins") != -1) {
%>
  forward to jenkins

<%
 } else if (request.getServerName().indexOf("nexus") != -1) {
%>
forward to nexus

<%
 } else {
%>
<%
  no forward
%>

How to clone an ESX virtual machine?

How to clone an ESX virtual machine?

Instructions HERE

Monday, February 20, 2012

Maven 3.0.4 -version information

$ mvn -version
Apache Maven 3.0.4 (r1232337; 2012-01-17 01:44:56-0700)
Maven home: /opt/apache/apache-maven-3.0.4
Java version: 1.7.0_03, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.0.0-16-server", arch: "amd64", family: "unix"

apache2: enable per-user web pages

The default apache2 installation has some available modules located in /etc/apache2/mods-available. Simply enable userdir.conf and restart/reload apache2. Once done, a user may have a web page located (by default) at http://the.host/~myusername/public_html.
$ sudo a2enmod userdir
$ sudo service apache2 reload

more HERE