RiverID is an authentication and identity management system that provides users with a secure central sign-on facility. Third party applications can make use of the integrated OAuth and OpenID endpoints.
-
Run the installation script:
wget -qO- --no-check-certificate https://raw.github.com/ushahidi/riverid/master/scripts/install-lb.sh | bash
-
Edit the configuration file at the following location:
/etc/nginx/sites-enabled/riverid
-
Install the SSL certificate at the following location:
/etc/nginx/ssl/riverid.in.crt
-
Install the SSL key at the following location:
/etc/nginx/ssl/riverid.in.key
-
Load the new configuration:
/etc/init.d/nginx reload
-
Run the installation script:
wget -qO- --no-check-certificate https://raw.github.com/ushahidi/riverid/master/scripts/install-app.sh | bash
-
Edit the configuration file at the following location:
/var/www/riverid/api/config.py
-
Load the new configuration:
/etc/init.d/apache2 restart
-
Run the installation script:
wget -qO- --no-check-certificate https://raw.github.com/ushahidi/riverid/master/scripts/install-mongo.sh | bash
-
Whitelist the IP address of each Application Cluster Node and each other MongoDB Node. Replace
10.1.2.3
and repeat for each:
iptables -I INPUT 1 -p tcp --dport 27017 -j ACCEPT -s 10.1.2.3
-
After whitelisting the IP addresses, save the firewall configuration for restoration after reboot:
iptables-save > /etc/firewall.conf
-
Configure the Replication Set.
http://c739724.r24.cf2.rackcdn.com/
https://c739724.ssl.cf2.rackcdn.com/