wiki:Ushahidi

Version 4 (modified by jorrit, 8 years ago) (diff)

--

Install Ushahidi V3

  1. Get an amazon instance with Ubuntu 16.4
  2. run:
    apt-get update
    
    apt-get upgrade
    
    apt-get install apache2 php5mysql-server curl libcurl3 libcurl3-dev php5-curl php5-memcache memcached vsftpd php5-+cli php5-mcrypt php5-curl php5-mysql php5-imap php5-gd unzip
    
    update-rc.d mysql defaults
     
    a2enmod rewrite
    
    service apache2 restart
    
useradd --create-home --shell /bin/bash ushahidi
passwd ushahidi
su - ushahidi
mkdir public_html
cd public_html
mysql -u root -p
CREATE DATABASE ushahidi_db;
GRANT ALL ON ushahidi_db.* to ushahidi_user@localhost IDENTIFIED BY 'ushahidi-db-password';
quit;
cat > .env << EOL
DB_HOST=localhost
DB_NAME=ushahidi_db
DB_TYPE=MySQLi
DB_USER=ushahidi_user
DB_PASS=ushahidi-db-password
EOL