# 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/
'Develop' 카테고리의 다른 글
10월 13일 Django 오프라인 모임 (0) | 2012.10.29 |
---|---|
드루팔 캠프 서울 2012 (0) | 2012.10.08 |
Python virtualenv quickstart with Django (0) | 2012.05.15 |
Django 개발용 서버에서 media 파일 서비스 하기 (0) | 2012.03.07 |
Apache2 에서 root document 를 다른 경로로 설정. (0) | 2011.09.21 |