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

  1. PCRE must be compiled with –enable-utf8 and –enable-unicode-properties for UTF-8 functions to work properly.
  2. iconv is required for UTF-8 transliteration.
  3. mcrypt is required for encryption.
  4. SPL is required for several core libraries
  5. 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

  1. Upload the upacked package unto your server.
  2. Copy the content of application/config/database.template.php to database.php. If you have access to a unix shell, you can issue this command cp application/config/database.template.php application/config/database.php
  3. Edit database.php and provide it with the right database credentials.
  4. Copy the content of application/config/config.template.php to config.php.
  5. Edit config.php providing it with the right values. The comments in the file tells you exactly what to provide.
  6. Change the permissions on application/logs, application/cache, media/uploads to writable.
  7. Import the tables into your database. The sql file is in the sql folder in the root directory of ushahidi.
  8. After all this has been done, load the installed Ushahidi with your browser. The main page should show up if everything went well.
  9. 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.

www.localhost/poo

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

  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

User login

Navigation

Syndicate

Syndicate content