Installing Ushahidi_web on ubuntu.
Well finally after some time a Tech blog.
UShahidi is a cool Web tool that has been deployed/used all across Africa to report crime related activities.you can find more on www.ushahidi.com
So what i did is tried installing it on my ubuntu box.
Some pre-requirements :--
1.apache with mod_rewrite enabled
2.mysql
3.PHP version >= 5.2.3 (with below mentioned extenstions)
Required Extensions
- PCRE must be compiled with –enable-utf8 and –enable-unicode-properties for UTF-8 functions to work properly.
- iconv is required for UTF-8 transliteration.
- mcrypt is required for encryption.
- SPL is required for several core libraries
- mbstring which speeds up Kohana's UTF-8 functions.
You need to install php5-curl - CURL module for php5
sudo apt-get install php5-curl
Manual Install
- Upload the upacked package unto your server.
- Copy the content of
application/config/database.template.php to database.php. If you have access to a unix shell, you can issue this commandcp application/config/database.template.php application/config/database.php - Edit
database.phpand provide it with the right database credentials. - Copy the content of
application/config/config.template.php to config.php. - Edit
config.phpproviding it with the right values. The comments in the file tells you exactly what to provide. - Change the permissions on application/logs, application/cache, media/uploads to writable.
- Import the tables into your database. The sql file is in the sql folder in the root directory of ushahidi.
- After all this has been done, load the installed Ushahidi with your browser. The main page should show up if everything went well.
-
Create a directory "cache" in the document root of your ushahidi document root. (donno why it was missing)
Pointers which took few hours of mine :---
1.in above "database.php" you can manually enter the dbase name/username/password and can import the sql table manually as i did.(being like lazy as ever)
2.provide correct entry in .htaccess file
# Installation directory
RewriteBase /poo
in this case poo was name of my ushahidi document root.
2.edit the application/config/config.php
$config['site_domain'] = '/poo/';
3.this is too lame from my part and thanks "eyedol" for helping me with it.
apache isn't configured to allow .htaccess to override its configuration so as i had no virtualhost configured what i did was in /etc/apache2/sites-available/default
i just provided "AllowOverride All " (i could have created virtual host and done that but again lazyass me )
4.make sure you are not troubled by writable premissions.
am sure you will have ushahidi up and running for you.
i did "http://localhost/poo" and all went well
thanks again to "eyedol" for helping me with this.![]()
Lastly if you have any more issues buzz me with comment and if you really feel some pain 4 me as at 2 am in morning am 2 hungry "Buy me some Beer"
NYT all. God Bless poor souls from using rootkits and trojens!!

Post new comment