본문 바로가기

Develop

Ushahidi 설치하기

# Before web installing


<APACHE configure>

sudo a2enmod rewrite

sudo service apache2 restart


/etc/apache2/sites-available

        <Directory /var/www/>

                Options Indexes FollowSymLinks MultiViews

                #AllowOverride None

                AllowOverride All


<ushahidi>

Go to the root path of ushahidi


sudo chgrp -R www-data . 


- Give permissions to write on each file.

chmod -R 777 application/config

chmod -R 777 application/cache

chmod -R 777 application/logs

chmod -R 777 media/uploads

chmod 777 .htaccess



- Prepare database for ushahidi.

drop database ushahidi;

CREATE DATABASE ushahidi DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;    

GRANT ALL PRIVILEGES ON *.* TO 'ushahidi'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION;   

GRANT ALL PRIVILEGES ON *.* TO 'ushahidi'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION;    

FLUSH PRIVILEGES;  



# On web installing

http://localhost/

반응형