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.

Testing Moblogging Clients

First Excuses to my feed subscribers. They may have got spammed by this time. Im analyzing different moblogging clients.

JWordpress doesnt seem to work and development is not active (and no developer doc in english).

Testing a Photo Moblogging client by blogplanet. Its posting but without Titles for the posts. Seeing all this, im seriously thinking of writing a moblogging client in J2ME (Though i dont know J2ME, development shouldnt take more than a couple of weeks.) XMLRPC rocks!!

And I found twibble for mobile, and guess i will start twittering often.

Using the full power of my Nokia 6021 bought 2 years back with GPRS,J2ME support for 7k that time.Now that GPRS is cheap(15p for 10KB is cheap and with no rentals) ,i browse occasionally on Opera Mini,using MoneyManager to track expenses, and started exploring on Mo(micro)blogging. Have to look into lot of other interesting apps. I gotto get one dictionary too. 😛

Once again apologies to feed subscribers.You may recieve some more in the days to come.

Tech off late

I have been learning quite a lot of things. Started some 3 weeks back on installing a wiki over Xampp.

XamppLite is a cool “double click run xampp server”.The first choice of wiki was Moinmoin and learnt how to setup one after spending lot of time(thanks to my 0 knowledge of python). Then tried WUBI – Windows based Ubuntu Installer. Pretty straight forward and neat installation(very much needed for novices but further improvements can be done).Tried installing and configuring phpBB, mantis.

Reading about LDAP / MSMQ / openGrok / lucene. Have to read mono, python and lots more to do.

best site seen off late —  www.YourBillBuddy.com — Analyse your mobile bills.

JDBC, AJAX & Acronyms

For those who think that JDBC is an acronym for Java Database Connectivity, get the facts right.JDBC is actually a trademark and is not an acronym.

Sun says, “…. JDBC is the trademarked name and is not an acronym; nevertheless, JDBC is often thought of as standing for “Java Database Connectivity.”  ….”

I knew the above fact a long back but couple of days back when i googled about the same for getting a link which states this fact , i got this link through which i also came to know about AJAX.

AJAX != Async JavaScript And XML. Its a lot more than that.I knew that to, but was surprised to see the list of other acronyms for ajax with similar pronunciation with better sense from Bye Bye “AJAX,” The Age of “Ajax” Is Nigh which says

If AJAX is indeed an acronym (which it’s not) then a comment on the article points out some others as:
AJACX: Asynchronous JavaScript, CSS and XMLHttpRequest
ADJACS: Asynchronous DOM, JavaScript and CSS
ADHJACS: Asynchronous DOM, HTML, JavaScript and CSS
AJACHS: Asynchronous JavaScript, HTML and CSS
AJACS: Asynchronous JavaScript, HTML and CSS

Any networking guys who are clear about TCP/IP. I vaguely remember someone saying TCP/IP is not an acronym by itself(i couldn’t get a link while googling) , where as TCP & IP are seperate acronym. Any other acronyms(?) like these which people often use unknowingly??(Both tech and non tech welcome 🙂 )

BarCamp Bangalore – 4

For the first time i plan to attend a barcamp, I intended to go for wikicamp, Blogcamp which were held sometime back at chennai , but couldnt make it finally on the day.

BarCamp Banaglore

Barcamp Bangalore 4 (BCB4) ,is an Unconference which provides a platform for like minded people on various interests to meet up and network.BCB4 is slated to be held @ IIM Bangalore on 28th,29th July. Just check out the various collectives and edit the wiki to register(Registration is Free). I have registered for Internet Collective & Blogging Collective. Waiting to meet few old friends and make new ones. Sad part is I would be able to attend only on sunday as i have office on saturday too 😦

Update ::

I have registered for BOJUG Collective too and may go on Saturday also. Yippee !!

Reason behind Name ‘Bar’Camp :: (Nothing do with drinks 🙂 )

Foobar” is a common placeholder name used in computer programming or computer related documentation. When US-based tech publisher O’Reilly invited some friends to a “Foo Camp”, for “Friends of O’Reilly”, it was but natural that others responded with their own version, dubbed the “Bar Camp”, the twist being that anyone who wanted to come could feel invited. Barcamps have since grown into a worldwide movement of such ad hoc, participant driven events. Anyone can organise a Barcamp. In Bangalore, the first and second events were organised by completely different teams, while the third is the result of their combined efforts.

Hope to see you there.

Moved to Feisty Fawn

The much awaited Ubuntu release feisty fawn rolled over and its time to upgrade.When edgy eft came i dint have a reason to shift and decided will move to feisty straight away.so i tested feisty installation on a test hdd which had ubuntu drapper,FC6,SuSE.I found a cool thing during installation.It detected all three OS and asked me which home directory to backup.Now this is one great feature.Especially gaim(should i call pidgin?) chat logs,firefox preferences,bookmarks are always lost during upgrades.Unfortunately i couldnt test the feature out as it said my hdd had errors and the installation struck in the middle.After long hurdle(writing 6 DVDs to make free space,so that i can format each drive and fix errors) i installed Ubuntu Feisty in my main hdd.But i made a foolish mistake.Instead of formatting my / of Ubuntu drapper and installing in that,i formatted /home partition of old ubuntu.Lost 8 GB of data 😦

Some of the positives are more n00b friendly.Add/Remove programs will really make things easy for windows users to migrate.Universe repos added by default.Better support for my ATI card through proprietary driver.But still 3D Desktop isnt working 😦 . It just took me 4 hours to set things back to normal settings and installing all required things.Sudoku and Chess added to games 😀 Feisty is all set to give tougher fight to windows.

To download goto — http://releases.ubuntu.com/feisty/

To request free feisty CDs — https://shipit.ubuntu.com/

Site Links

Recently i was browsing on webOS, i then browsed wikipedia and found that a GPL webOS named eyeOS .Check it out, may be the future of computing

People who are interested about content management systems(CMS) and would like to get hands on with all of them without getting a server and hazzles and fear of doing something wrong, here is a free place for you to test out. OpenSourceCMS is there for you.

I have just started using Google Personalized Home, its nice, and while adding widgets i found this cool search tool. You tap your favorite music and get the details about songs which resemble your taps. check out Songtapper

My latest addition to linux blog feeds

/home/Liquadat on Fedora

Linux FUD – Fear Uncertainty Doubt — on Ubuntu