How To : Setting up few productivity tools

I just made my hands dirty on these tiny but useful productivity tools and made them working on Ubuntu Server.

Environment : LAMP

Tools

  • OpenFire – Chat Server based on XMPP (Jabber)
  • PHPBB3 – Php based forum software
  • Trac – Web based Project management Software  and Issue Tracker
  • SVN – Subversion repository system
  • OpenGrok – Source Searching utility

Openfire

  • Download the tar.gz from igniterealtime ,untar and put the directory into /usr/bin
  • Give Execute permissions to the openfire script file in bin using chmod
  • Start the server using /usr/bin/openfire/bin/openfire start
  • Run http://localhost:9090/ from browser
  • Select EmbeddedDB & Give LDAP auth info.Create groups and add all users in one LDAP Group as mutual friends

      Troubleshooting

  • /usr/bin/openfire/bin/openfire start | stop | status for checking the status/starting/stoping the server
  • Check the permissions of the openfire.xml file
  • view the stack trace in nohup.out

PHPBB3

  • Download PHPBB3 tar.gz from web.
  • Extract into /var/www folder and give write permissions for others so installer can write the config file
  • Create database in mysql
  • Give MySql settings while installing,login to ACP and create the forum.
  • Use LDAP settings for making it LDAP and chose auth type as LDAP
  • For migration give the old database name and table prefix name and migrate

Trac

  • Use Easy_install and install from the latest svn source.
  • Create environment using tracadmin command.
  • On a standalone trac system user the createUser Python script to generate the user.passwd file.
    $python trac-digest.py -u username -p password >> /path/to/users.passwd
  • And edit the trac.ini file with path info and Source control locations

SVN

  • Do an apt-get installation of SVN
  • edit the apache.conf and make a alias for svn and give auth info
  •  Create the password file using htpasswd
    $htpasswd /etc/apache2/dav_svn.passwd -n username
  • Give write permissions for the SVN Parent Dir

OpenGrok

  • Download the tar from here
  • Untar, Host on tomcat
  • Edit the SRC_ROOT attribute in the web.xml
  • Run the indexer periodically.

Things i learnt from this excercise :

  • Brushed back my mysql basics
  • Learnt CronTab and wrote few shell scripts  to do daily backup.
  • Learnt little bit of Python.(Still learning!)And am finding it more and more interesting.
  • Shell access is way to heaven. cPanel,Webmin is for kids

And a great news is my system is up and gotto install Ubuntu Gutsy today after having installed Windoz yesterday(for my TV Tuner) and try learning some python daily.Got to have some form of internet(Have relaxed this from Broadband) as its getting difficult to have a system without net and feeling the pain.

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: