Fresh Install / upgrade of Urchin V5
as usual with my howto guides i take no responsibility if anything goes wrong, If you have any problems feel free to post here although i do not guaranatee i will be able to help.
the howto assumes that you do not currently have any version of urchin on your server.
ok, lets start
Firstly:
// text like this is information
# commands_are_shown_like -this
----------------
log in as root
# mkdir urchin
# cd urchin
// For RH 7.2 / 7.3
# wget http://www.urchin.com/download/urchin5/download/urchin5101_redhat72.tar.gz
// For RH 8
# wget http://www.urchin.com/download/urchin5/download/urchin5101_redhat8x.tar.gz
// For RH 9
# wget http://www.urchin.com/download/urchin5/download/urchin5101_redhat9x.tar.gz
# tar zxvf urchin500*
# rm -f urchin5101_redhat*
# chmod 755 install.sh
# ./install.sh
// you will be asked a few questions by the install script, type the appropriate answers, for the port number, we are going to use 8080 for this howto.
// DO YOU WANT TO START URCHIN AFTER THE INSTALLATION? -
if you want urchin to be under httpp (unsecure) type y (for yes), if you want to put urchin under https (secure) type n as we will need to configure it.
-------------------------------------------------------------------
CHECK THE FILES / PATHS USED BELOW ARE CORRECT, THEY ARE BASED ON PLESK 6 SO MAY BE WRONG, IF SO, USE THE 'LOCATE' COMMAND TO FIND OUT THE CORRECT LOCATION OF THE FILE
IGNORE THIS SECTION IF YOU DO NOT WANT URCHIN IN HTTPS (SECURE) SPACE)
# cp /etc/httpd/conf/ssl.crt/server.crt /usr/local/urchin/var
# cp /etc/httpd/conf/ssl.key/server.key /usr/local/urchin/var
# pico -w /usr/local/urchin/var/urchinwebd.conf.template
you will now be in pico, on line 7 replace "ServerName Localhost" with your hostname like this "ServerName srv01.yourdomain.com"
press [CTRL] + [X] to exit, when you are asked if you want to save the chnages, type Y and press enter.
# pico -w /usr/local/urchin/util/urchin_daemons
scroll down to line 35, you should see this:
"$INSTALLDIR/bin/urchinctl" start
Replace it with:
"$INSTALLDIR/bin/urchinctl" -e start
------------------------------------------------------------------
the final section, all users should do this running in ssl or not!
# cp /usr/local/urchin/util/urchin_daemons /etc/rc.d/init.d/urchin
# chmod 755 /etc/rc.d/init.d/urchin
# pico -w /etc/rc.d/rc.local
// at the of the file just add the following line:
/etc/rc.d/init.d/urchin start
press [CTRL] + [X] to exit, type y when it asks you if you want to save changes and press enter to exit.
----------------------------------------------------------------------------
Notices!
----------------------------------------------------------------------------
firstly i would like to point out that the howto is based on the one from unoffical-support.com, it has been rewrtten and modified for PSA6 users.
You can now log in at (if you chose secure) https://hostname:8080 or (if you chose unsecure) http://hostname:8080
hostname should be replaced with your servers hostname and 8080 is the port you chose during the installation... if you did not chnage it the urchin default is 9999
MAKE SURE IF YOU HAVE A FIREWALL YOU OPEN THE USED PORT
when you setup a profile for users in urchin you will be required to give the full system path to the sites access_log file
If you get permission files you will need to do:
// log directory
# chmod 555 /httpd/logs/DOMAIN.COM/logs/
# chmod 777 -r /httpd/logs/DOMAIN.COM/logs/
NOTE THE ABOVE ARE NOT THE ACTUAL PATHS... I AM UNSURE OF THESE IN DIRECTADMIN SO YOU WILL HAVE TO CHECK
please post with comments, or any chnages that have to be made to this howto (i cant test it - sorry
)any problems also feel free to post here... i have installed urchin on almost every RH server apart from DA so i might be able to help 
Enjoy it
Chris
as usual with my howto guides i take no responsibility if anything goes wrong, If you have any problems feel free to post here although i do not guaranatee i will be able to help.
the howto assumes that you do not currently have any version of urchin on your server.
ok, lets start
Firstly:
// text like this is information
# commands_are_shown_like -this
----------------
log in as root
# mkdir urchin
# cd urchin
// For RH 7.2 / 7.3
# wget http://www.urchin.com/download/urchin5/download/urchin5101_redhat72.tar.gz
// For RH 8
# wget http://www.urchin.com/download/urchin5/download/urchin5101_redhat8x.tar.gz
// For RH 9
# wget http://www.urchin.com/download/urchin5/download/urchin5101_redhat9x.tar.gz
# tar zxvf urchin500*
# rm -f urchin5101_redhat*
# chmod 755 install.sh
# ./install.sh
// you will be asked a few questions by the install script, type the appropriate answers, for the port number, we are going to use 8080 for this howto.
// DO YOU WANT TO START URCHIN AFTER THE INSTALLATION? -
if you want urchin to be under httpp (unsecure) type y (for yes), if you want to put urchin under https (secure) type n as we will need to configure it.
-------------------------------------------------------------------
CHECK THE FILES / PATHS USED BELOW ARE CORRECT, THEY ARE BASED ON PLESK 6 SO MAY BE WRONG, IF SO, USE THE 'LOCATE' COMMAND TO FIND OUT THE CORRECT LOCATION OF THE FILE
IGNORE THIS SECTION IF YOU DO NOT WANT URCHIN IN HTTPS (SECURE) SPACE)
# cp /etc/httpd/conf/ssl.crt/server.crt /usr/local/urchin/var
# cp /etc/httpd/conf/ssl.key/server.key /usr/local/urchin/var
# pico -w /usr/local/urchin/var/urchinwebd.conf.template
you will now be in pico, on line 7 replace "ServerName Localhost" with your hostname like this "ServerName srv01.yourdomain.com"
press [CTRL] + [X] to exit, when you are asked if you want to save the chnages, type Y and press enter.
# pico -w /usr/local/urchin/util/urchin_daemons
scroll down to line 35, you should see this:
"$INSTALLDIR/bin/urchinctl" start
Replace it with:
"$INSTALLDIR/bin/urchinctl" -e start
------------------------------------------------------------------
the final section, all users should do this running in ssl or not!
# cp /usr/local/urchin/util/urchin_daemons /etc/rc.d/init.d/urchin
# chmod 755 /etc/rc.d/init.d/urchin
# pico -w /etc/rc.d/rc.local
// at the of the file just add the following line:
/etc/rc.d/init.d/urchin start
press [CTRL] + [X] to exit, type y when it asks you if you want to save changes and press enter to exit.
----------------------------------------------------------------------------
Notices!
----------------------------------------------------------------------------
firstly i would like to point out that the howto is based on the one from unoffical-support.com, it has been rewrtten and modified for PSA6 users.
You can now log in at (if you chose secure) https://hostname:8080 or (if you chose unsecure) http://hostname:8080
hostname should be replaced with your servers hostname and 8080 is the port you chose during the installation... if you did not chnage it the urchin default is 9999
MAKE SURE IF YOU HAVE A FIREWALL YOU OPEN THE USED PORT
when you setup a profile for users in urchin you will be required to give the full system path to the sites access_log file
If you get permission files you will need to do:
// log directory
# chmod 555 /httpd/logs/DOMAIN.COM/logs/
# chmod 777 -r /httpd/logs/DOMAIN.COM/logs/
NOTE THE ABOVE ARE NOT THE ACTUAL PATHS... I AM UNSURE OF THESE IN DIRECTADMIN SO YOU WILL HAVE TO CHECK
please post with comments, or any chnages that have to be made to this howto (i cant test it - sorry


Enjoy it

Chris