Changes between Version 17 and Version 18 of Ushahidi
- Timestamp:
- 06/28/16 23:02:59 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ushahidi
v17 v18 1 1 = Install Ushahidi V3 = 2 2 3 1. Get a n amazon instance with Ubuntu 16.44 1. Install required packages3 1. Get a system with CentOS7 4 1. download Ushahidi platform 5 5 {{{ 6 apt-get update 6 git clone https://github.com/ushahidi/platform.git 7 }}} 8 1. Install requirements 9 {{{ 10 yum install epel-release 11 yum install mariadb-server php-imap php-mcrypt 12 }}} 13 1. Install composer 14 {{{ 15 cd /tmp 16 php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" 17 php composer-setup.php --install-dir=/usr/local/bin --filename=composer 18 }}} 19 1. 20 {{{ 21 mysql -u root 22 CREATE DATABASE ushahidi_db; 23 GRANT ALL ON ushahidi_db.* to ushahidi_user@localhost IDENTIFIED BY 'ushahidi-db-password'; 24 quit; 25 }}} 26 1. Create env file 27 {{{ 28 cd ???? 29 cat > .env << EOL 30 DB_HOST=localhost 31 DB_NAME=ushahidi_db 32 DB_TYPE=MySQLi 33 DB_USER=ushahidi_user 34 DB_PASS=ushahidi-db-password 35 EOL 36 }}} 7 37 8 apt-get upgrade9 38 10 # for api11 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-bin12 # for client13 apt-get install build-essential14 39 15 update-rc.d mysql defaults16 17 a2enmod rewrite18 19 service apache2 restart20 }}}21 1. Install Composer22 {{{23 curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer24 }}}25 40 1. Create ushahidi user 26 41 {{{