Changes between Version 17 and Version 18 of Ushahidi


Ignore:
Timestamp:
06/28/16 23:02:59 (8 years ago)
Author:
jorrit
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Ushahidi

    v17 v18  
    11= Install Ushahidi V3 =
    22
    3 1. Get an amazon instance with Ubuntu 16.4
    4 1. Install required packages
     31. Get a system with CentOS7
     41. download Ushahidi platform
    55{{{
    6 apt-get update
     6git clone https://github.com/ushahidi/platform.git
     7}}}
     81. Install requirements
     9{{{
     10yum install epel-release
     11yum install mariadb-server php-imap php-mcrypt
     12}}}
     131. Install composer
     14{{{
     15cd /tmp
     16php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
     17php composer-setup.php --install-dir=/usr/local/bin --filename=composer
     18}}}
     191.
     20{{{
     21mysql -u root
     22CREATE DATABASE ushahidi_db;
     23GRANT ALL ON ushahidi_db.* to ushahidi_user@localhost IDENTIFIED BY 'ushahidi-db-password';
     24quit;
     25}}}
     261. Create env file
     27{{{
     28cd ????
     29cat > .env << EOL
     30DB_HOST=localhost
     31DB_NAME=ushahidi_db
     32DB_TYPE=MySQLi
     33DB_USER=ushahidi_user
     34DB_PASS=ushahidi-db-password
     35EOL
     36}}}
    737
    8 apt-get upgrade
    938
    10 # for api
    11 apt-get install mysql-server mysql-client apache2 curl libcurl3 libcurl3-dev php-curl php-memcache memcached vsftpd php-+cli php-mcrypt php-curl php-mysql  php-gd unzip  php-imap php-json php-mbstring php-xml phpunit libnotify-bin
    12 # for client
    13 apt-get install build-essential
    1439
    15 update-rc.d mysql defaults
    16  
    17 a2enmod rewrite
    18 
    19 service apache2 restart
    20 }}}
    21 1. Install Composer
    22 {{{
    23 curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
    24 }}}
    25401. Create ushahidi user
    2641{{{