For all those who use Atlassian Products such as Jira or Confluence, you may or may not be familiar with Crowd now for anyone using Jira and Confluence it can allow you to use your existing user DB for multiple other systems, Personally i use it as a client access database to keep external users out of my AD database wherever possible while allowing internal users to still access these systems with their AD accounts.

With the right plug-in’s you can hook the system into pretty much everything, the most flexible one is the Apache 2 module, personalty i use it mostly as i had endless troubles getting recursive sub group lockups working with the free Apache modules floating around.

If you need to use a proxy, set it now

1
export http_proxy="http://proxy_server:3128"

For Debian just copy and past the commands below, for other Distrobutions you will need to install the equivalent packages

1
apt-get -y install libapache2-mod-perl2 libsoap-lite-perl libdigest-sha1-perl liberror-perl libcache-cache-perl unzip make

Then to download, install and build the required modules the commands below should work.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
cd ~
wget http://confluence.atlassian.com/download/attachments/9961902/Crowd-Apache-Connector-1.2.3.zip?version=1
mkdir crowd_apache
mv Crowd-Apache-Connector-1.2.3.zip\?version\=1 crowd_apache/
cd crowd_apache
mv Crowd-Apache-Connector-1.2.3.zip\?version\=1 Crowd-Apache-Connector-1.2.3.zip
unzip Crowd-Apache-Connector-1.2.3.zip
cd Atlassian-Crowd-1.2.3/
perl Makefile.PL
make
make install
cd ../Apache-CrowdAuth-1.2.3/
perl Makefile.PL
make
make install
cd ../Apache-CrowdAuthz-1.2.3/
perl Makefile.PL
make
make install
/etc/init.d/apache2 restart

From Here the Atlassian Article Integrating Crowd with Apache is the best place to go

Posted in Uncategorized at July 22nd, 2009. 1 Comment.

My Previous post Subversion 1.6 on Debian Lenny has been quite popular! So i thought i should post this next snippet for people, Its the process i used for upgrading my 1.6.1 setup as detailed in the previous post to 1.6.3.

The previous post pulled packages from the experimental branch, This one pulls from the Sid (unstable) branch as it is more up to date then experimental.

Below are the commands i used for a 64bit OS, dont have any 32bit SVN servers lying around anymore so i don’t have a system to work out the require 32bit packages but in theory it should be as simple as changing “amd64″ to “i386″ in all the URL’s below

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
mkdir /tmp/svn_163
cd /tmp/svn_163
wget http://ftp.au.debian.org/debian/pool/main/s/subversion/subversion_1.6.3dfsg-1_amd64.deb
wget http://ftp.au.debian.org/debian/pool/main/s/subversion/subversion-tools_1.6.3dfsg-1_all.deb
wget http://ftp.wa.au.debian.org/debian/pool/main/s/subversion/libsvn1_1.6.3dfsg-1_amd64.deb
wget http://ftp.au.debian.org/debian/pool/main/s/sqlite3/libsqlite3-0_3.6.16-1_amd64.deb
wget http://ftp.au.debian.org/debian/pool/main/n/neon27/libneon27-gnutls_0.28.4-3_amd64.deb
wget http://ftp.au.debian.org/debian/pool/main/s/serf/libserf-0-0_0.3.0-0.2_amd64.deb
wget http://ftp.au.debian.org/debian/pool/main/libg/libgcrypt11/libgcrypt11_1.4.4-3_amd64.deb
wget http://ftp.au.debian.org/debian/pool/main/g/gnutls26/libgnutls26_2.6.6-1_amd64.deb
wget http://ftp.au.debian.org/debian/pool/main/libg/libgpg-error/libgpg-error0_1.6-1_amd64.deb
wget http://ftp.au.debian.org/debian/pool/main/k/krb5/libgssapi-krb5-2_1.7dfsg~beta3-1_amd64.deb
wget http://ftp.au.debian.org/debian/pool/main/k/krb5/libk5crypto3_1.7dfsg~beta3-1_amd64.deb
wget http://ftp.au.debian.org/debian/pool/main/k/krb5/libkrb5-3_1.7dfsg~beta3-1_amd64.deb
wget http://ftp.au.debian.org/debian/pool/main/libt/libtasn1-3/libtasn1-3_2.2-1_amd64.deb
wget http://ftp.au.debian.org/debian/pool/main/e/eglibc/libc6_2.9-21_amd64.deb
wget http://ftp.au.debian.org/debian/pool/main/k/krb5/libk5crypto3_1.7dfsg~beta3-1_amd64.deb
wget http://ftp.au.debian.org/debian/pool/main/k/krb5/libkrb5support0_1.7dfsg~beta3-1_amd64.deb
wget http://ftp.wa.au.debian.org/debian/pool/main/s/subversion/libapache2-svn_1.6.3dfsg-1_amd64.deb
dpkg -i *.deb

You will need to restart Apache after the upgrade

1
/etc/init.d/apache2 restart
Posted in Uncategorized at July 22nd, 2009. 2 Comments.

Currently the Version of Subversion in Debian Lenny is 1.5.1, there are a few bugs in this that could be show stoppers if you are using a write through proxy setup for your SVN Repo’s as i have. There are two bugs that keep cropping up, one that is solved in 1.5.5, the other in 1.6, however if you want to use debian packages the easiest way i have found to install them is as follows

Update 1: Few people are having problems, this guide assumes your running lenny with the default svn packages already installed, to do this try running the command below to install the latest version from apt (1.5.x as i write this) including the required Apache modules

1
apt-get install subversion subversion-tools apache2 libapache2-svn

Update 2: New post on how to extend this guide to go from svn 1.6.1 to svn 1.6.3 – Debian: Upgrade Svn 1.6.1 to 1.6.3

Update 3:This post was originally just some notes for me on highly critical production servers that all had to be running exactly the same versions and i had to have a very controled upgrade, However google sends a few hundred people here a month! So i thought id include the better general way that has been in the comments for awhile

The best way are the commands below.

1
2
3
4
echo "deb http://www.backports.org/debian lenny-backports main contrib non-free" >> /etc/apt/sources.list
wget -O - http://backports.org/debian/archive.key | apt-key add -
apt-get update
apt-get -t lenny-backports install subversion subversion-tools libapache2-svn

Original Post

32Bit

1
2
3
4
5
6
7
8
9
10
11
12
mkdir /tmp/svn16
cd /tmp/svn16
wget http://ftp.au.debian.org/debian/pool/main/s/subversion/subversion_1.6.1dfsg-1_i386.deb
wget http://ftp.au.debian.org/debian/pool/main/s/subversion/libsvn1_1.6.1dfsg-1_i386.deb
wget http://ftp.au.debian.org/debian/pool/main/s/sqlite3/libsqlite3-0_3.6.13-1_i386.deb
wget http://ftp.au.debian.org/debian/pool/main/d/db/libdb4.7_4.7.25-6_i386.deb
wget http://ftp.au.debian.org/debian/pool/main/a/apr-util/libaprutil1_1.3.4+dfsg-1_i386.deb
wget http://ftp.au.debian.org/debian/pool/main/a/apr/libapr1_1.3.3-3_i386.deb
wget http://ftp.au.debian.org/debian/pool/main/i/icu/libicu40_4.0.1-2_i386.deb
wget http://ftp.au.debian.org/debian/pool/main/s/subversion/libapache2-svn_1.6.1dfsg-1_i386.deb
wget http://ftp.au.debian.org/debian/pool/main/s/subversion/subversion-tools_1.6.1dfsg-1_all.deb
dpkg -i *.deb

64 Bit

1
2
3
4
5
6
7
8
9
10
11
12
mkdir /tmp/svn16
cd /tmp/svn16
wget http://ftp.au.debian.org/debian/pool/main/s/subversion/subversion_1.6.1dfsg-1_amd64.deb
wget http://ftp.au.debian.org/debian/pool/main/s/subversion/libsvn1_1.6.1dfsg-1_amd64.deb
wget http://ftp.au.debian.org/debian/pool/main/s/sqlite3/libsqlite3-0_3.6.13-1_amd64.deb
wget http://ftp.au.debian.org/debian/pool/main/d/db/libdb4.7_4.7.25-6_amd64.deb
wget http://ftp.au.debian.org/debian/pool/main/a/apr-util/libaprutil1_1.3.4+dfsg-1_amd64.deb
wget http://ftp.au.debian.org/debian/pool/main/a/apr/libapr1_1.3.3-3_amd64.deb
wget http://ftp.au.debian.org/debian/pool/main/i/icu/libicu40_4.0.1-2_amd64.deb
wget http://ftp.au.debian.org/debian/pool/main/s/subversion/libapache2-svn_1.6.1dfsg-1_amd64.deb
wget http://ftp.au.debian.org/debian/pool/main/s/subversion/subversion-tools_1.6.1dfsg-1_all.deb
dpkg -i *.deb
Posted in Uncategorized at May 9th, 2009. 10 Comments.