http://foss2serve.org/index.php?title=Ushahidi_Installation_Instructions&feed=atom&action=historyUshahidi Installation Instructions - Revision history2024-03-29T13:26:47ZRevision history for this page on the wikiMediaWiki 1.18.1http://foss2serve.org/index.php?title=Ushahidi_Installation_Instructions&diff=13054&oldid=prevClif.kussmaul at 00:29, 8 January 20192019-01-08T00:29:21Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 00:29, 8 January 2019</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 9:</td>
<td colspan="2" class="diff-lineno">Line 9:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>We are running it with Virtual Box.   </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>We are running it with Virtual Box.   </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div># Download [<del class="diffchange diffchange-inline">ttps</del>://www.virtualbox.org/ VirtualBox].  You'll need to choose the version appropriate for your machine.   </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div># Download [<ins class="diffchange diffchange-inline">https</ins>://www.virtualbox.org/ VirtualBox].  You'll need to choose the version appropriate for your machine.   </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div># Download [http://mirror.cs50.net/appliance/3/cs50-appliance-3-15-ovf.zip Version 3 of the Harvard CS50 <del class="diffchange diffchange-inline">Applicance</del>]</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div># Download [http://mirror.cs50.net/appliance/3/cs50-appliance-3-15-ovf.zip Version 3 of the Harvard CS50 <ins class="diffchange diffchange-inline">Appliance</ins>]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Unzip the CS50 Appliance file.  You should see a folder with two files: One is cs50-appliance-3-disk1.vmdk, the other is cs0-appliance-3.ovf.  The first is a the disk.  The second has the machine settings.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Unzip the CS50 Appliance file.  You should see a folder with two files: One is cs50-appliance-3-disk1.vmdk, the other is cs0-appliance-3.ovf.  The first is a the disk.  The second has the machine settings.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Install Virtual Box</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Install Virtual Box</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 27:</td>
<td colspan="2" class="diff-lineno">Line 27:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   $ mkdir public_html</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   $ mkdir public_html</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>However, by default, Linux keeps things private.  And private means that no one, not even the Web server, can access them.  So you need to make things public.  Ideally, the home directory should not be readable.  But it needs to grant access to the public_html subdirectory.  In Linux terms, it needs to be "world executable".  The public_html directory needs to be both readable and executable (that is, people need to be able to see what files are there and to read those files).</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>However, by default, Linux keeps things private.  And private means that no one, not even the Web server, can access them.  So you need to make things public.  Ideally, the home directory should not be readable.  But it needs to grant access to the <ins class="diffchange diffchange-inline"><code></ins>public_html<ins class="diffchange diffchange-inline"></code> </ins>subdirectory.  In Linux terms, it needs to be "world executable".  The <ins class="diffchange diffchange-inline"><code></ins>public_html<ins class="diffchange diffchange-inline"></code> </ins>directory needs to be both readable and executable (that is, people need to be able to see what files are there and to read those files).</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   $ cd /home/jharvard</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   $ cd /home/jharvard</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 62:</td>
<td colspan="2" class="diff-lineno">Line 62:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===Check the PHP Installation===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===Check the PHP Installation===</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>We're getting there.  Now, we need to create a file that shows what php</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>We're getting there.  Now, we need to create a file that shows what php <ins class="diffchange diffchange-inline">packages have been installed.</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   $ cd /home/jharvard/public_html</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   $ cd /home/jharvard/public_html</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   $ cat > info.php</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   $ cat > info.php</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 75:</td>
<td colspan="2" class="diff-lineno">Line 75:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Visit the page in your browser at http://192.168.56.101/~jharvard/info.php.  You should see a list of PHP packages that have been installed.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Visit the page in your browser at http://192.168.56.101/~jharvard/info.php.  You should see a list of PHP packages that have been installed.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Once you've tested this, you should get rid of the info.php file because it tells hackers a lot about your system.  (It doesn't matter for our private virtual install, but it's still a good habit to get into removing such files.)</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Once you've tested this, you should get rid of the <ins class="diffchange diffchange-inline"><code></ins>info.php<ins class="diffchange diffchange-inline"></code> </ins>file because it tells hackers a lot about your system.  (It doesn't matter for our private virtual install, but it's still a good habit to get into removing such files.)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===Create a Database in MySQL===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===Create a Database in MySQL===</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 96:</td>
<td colspan="2" class="diff-lineno">Line 96:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===Download, Install, and Configure Ushahidi===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===Download, Install, and Configure Ushahidi===</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>In the guest machine (that is the virtual machine), download the  Ushahidi code from [http://www.ushahidi.com/products/ushahidi-platform the Ushahidi <del class="diffchange diffchange-inline">Website</del>] or from [https://github.com/ushahidi/Ushahidi_Web github].  Please download on the guest machine (the Harvard appliance).  If you download on your host machine, you'll need to transfer the files to the guest machine (perhaps using sftp).</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>In the guest machine (that is the virtual machine), download the  Ushahidi code from [http://www.ushahidi.com/products/ushahidi-platform the Ushahidi <ins class="diffchange diffchange-inline">website</ins>] or from [https://github.com/ushahidi/Ushahidi_Web github].  Please download on the guest machine (the Harvard appliance).  If you download on your host machine, you'll need to transfer the files to the guest machine (perhaps using sftp).</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Detour: Exploring the wonder of open-source instructions (a possible assignment).  You might think that you can find detailed installation instructions through a Google Search. However, some Ushahidi installation guides have too much information, or worse yet, outdated information. Possible assignment for students can be to create a new guide.  (We hope that guide that you are reading will suffice.)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Detour: Exploring the wonder of open-source instructions (a possible assignment).  You might think that you can find detailed installation instructions through a Google Search. However, some Ushahidi installation guides have too much information, or worse yet, outdated information. Possible assignment for students can be to create a new guide.  (We hope that guide that you are reading will suffice.)</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 138:</td>
<td colspan="2" class="diff-lineno">Line 138:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* And you don't need a prefix</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* And you don't need a prefix</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Next, you'll need to provide general information about the site (name, tagline).  You may want to use <del class="diffchange diffchange-inline">y our </del>email address as the contact (or not; use anything you like).</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Next, you'll need to provide general information about the site (name, tagline).  You may want to use <ins class="diffchange diffchange-inline">your </ins>email address as the contact (or not; use anything you like).</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Next, you'll set up your administrator account.  The admin user name can be anything the looks like like a valid email address (e.g. jharvard@example.edu).</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Next, you'll set up your administrator account.  The admin user name can be anything the looks like like a valid email address (e.g. jharvard@example.edu).</div></td></tr>
</table>Clif.kussmaulhttp://foss2serve.org/index.php?title=Ushahidi_Installation_Instructions&diff=2021&oldid=prevStoney.jackson: /* Add a Twitter Feed */2014-01-24T17:39:57Z<p><span class="autocomment">Add a Twitter Feed</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 17:39, 24 January 2014</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 147:</td>
<td colspan="2" class="diff-lineno">Line 147:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===Add a Twitter Feed===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===Add a Twitter Feed===</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">[[Category:Ushahidi]]</ins></div></td></tr>
</table>Stoney.jacksonhttp://foss2serve.org/index.php?title=Ushahidi_Installation_Instructions&diff=1634&oldid=prevSrebelsky: Moved "Configure Ushahidi" to "Download and Install", since that's where the instructions were.2013-06-13T12:18:35Z<p>Moved "Configure Ushahidi" to "Download and Install", since that's where the instructions were.</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 12:18, 13 June 2013</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 94:</td>
<td colspan="2" class="diff-lineno">Line 94:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>That's it.  You're done setting up the database.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>That's it.  You're done setting up the database.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>===Download <del class="diffchange diffchange-inline">and </del>Install Ushahidi===</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>===Download<ins class="diffchange diffchange-inline">, </ins>Install<ins class="diffchange diffchange-inline">, and Configure </ins>Ushahidi===</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>In the guest machine (that is the virtual machine), download the  Ushahidi code from [http://www.ushahidi.com/products/ushahidi-platform the Ushahidi Website] or from [https://github.com/ushahidi/Ushahidi_Web github].  Please download on the guest machine (the Harvard appliance).  If you download on your host machine, you'll need to transfer the files to the guest machine (perhaps using sftp).</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>In the guest machine (that is the virtual machine), download the  Ushahidi code from [http://www.ushahidi.com/products/ushahidi-platform the Ushahidi Website] or from [https://github.com/ushahidi/Ushahidi_Web github].  Please download on the guest machine (the Harvard appliance).  If you download on your host machine, you'll need to transfer the files to the guest machine (perhaps using sftp).</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 145:</td>
<td colspan="2" class="diff-lineno">Line 145:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Log in.  If things worked fine, you'll see a reasonably well formatted administrative page.  If things worked badly, it will not look good.  Try make media readable again (see above).  If you can't log in at all, something has gone very wrong.  We have no advice, other than to try again.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Log in.  If things worked fine, you'll see a reasonably well formatted administrative page.  If things worked badly, it will not look good.  Try make media readable again (see above).  If you can't log in at all, something has gone very wrong.  We have no advice, other than to try again.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">===Configure Ushahidi===</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===Add a Twitter Feed===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===Add a Twitter Feed===</div></td></tr>
</table>Srebelskyhttp://foss2serve.org/index.php?title=Ushahidi_Installation_Instructions&diff=1633&oldid=prevSrebelsky: /* Download and Install Ushahidi */ Added more complete instructions.2013-06-13T12:16:51Z<p><span class="autocomment">Download and Install Ushahidi: </span> Added more complete instructions.</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 12:16, 13 June 2013</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 96:</td>
<td colspan="2" class="diff-lineno">Line 96:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===Download and Install Ushahidi===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===Download and Install Ushahidi===</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>In the guest machine (that is the virtual machine), download the  Ushahidi code from [http://www.ushahidi.com/products/ushahidi-platform the Ushahidi Website] or from [https://github.com/ushahidi/Ushahidi_Web github].  If you download on your host machine, you'll need to transfer the files to the guest machine (perhaps using sftp).</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>In the guest machine (that is the virtual machine), download the  Ushahidi code from [http://www.ushahidi.com/products/ushahidi-platform the Ushahidi Website] or from [https://github.com/ushahidi/Ushahidi_Web github]<ins class="diffchange diffchange-inline">.  Please download on the guest machine (the Harvard appliance)</ins>.  If you download on your host machine, you'll need to transfer the files to the guest machine (perhaps using sftp).</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Detour: Exploring the wonder of open-source instructions (a possible assignment).  You might think that you can find detailed installation instructions through a Google Search. However, some Ushahidi installation guides have too much information, or worse yet, outdated information. Possible assignment for students can be to create a new guide.  (We <del class="diffchange diffchange-inline">would </del>hope that <del class="diffchange diffchange-inline">this new </del>guide <del class="diffchange diffchange-inline">would </del>suffice.)</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Detour: Exploring the wonder of open-source instructions (a possible assignment).  You might think that you can find detailed installation instructions through a Google Search. However, some Ushahidi installation guides have too much information, or worse yet, outdated information. Possible assignment for students can be to create a new guide.  (We hope that guide <ins class="diffchange diffchange-inline">that you are reading will </ins>suffice.)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Copy the ushahidi directory to your <del class="diffchange diffchange-inline">'</del>public_html<del class="diffchange diffchange-inline">' </del>directory.  The resulting data should <del class="diffchange diffchange-inline">bin </del>/home/jharvard/public_html/ushahidi.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Copy the ushahidi directory to your <ins class="diffchange diffchange-inline"><code></ins>public_html<ins class="diffchange diffchange-inline"></code> </ins>directory.  The resulting data should <ins class="diffchange diffchange-inline">be in <code></ins>/home/jharvard/public_html/ushahidi<ins class="diffchange diffchange-inline"></code></ins>.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>You <del class="diffchange diffchange-inline">may </del>see a <del class="diffchange diffchange-inline">message </del>about writable <del class="diffchange diffchange-inline">directories</del>.  <del class="diffchange diffchange-inline">You can ensure that </del>files in the <del class="diffchange diffchange-inline">Ushahidi </del>'media' <del class="diffchange diffchange-inline">directory have </del>read and <del class="diffchange diffchange-inline">execute permissions for 'other' users</del>.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">In a browser on the host machine, navigate to http://192.168.56.101/~jharvard/ushahidi to test if this worked.  You should end up on an installation page.  We recommend that you start with a basic installation, so click on '''Proceed with Basic'''.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>You <ins class="diffchange diffchange-inline">should </ins>see a <ins class="diffchange diffchange-inline">warning that looks something like the following </ins>about <ins class="diffchange diffchange-inline">needing files to be </ins>writable.   </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"><blockquote></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">Before you get started, you will need to make sure the following </ins>files <ins class="diffchange diffchange-inline">and folders are writable by your webserver. This involves changing file permissions.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">* application/config</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">* application/cache</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">* application/logs</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">* media/uploads</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">* .htaccess</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"></blockquote></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">Okay, now we're </ins>in <ins class="diffchange diffchange-inline">dangerous territory.  Ideally, we would set up a group that includes jharvard and </ins>the <ins class="diffchange diffchange-inline">Web server and give group write permission to those areas.  But we</ins>'<ins class="diffchange diffchange-inline">re lazy, so we'll give it to everyone.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">  $ cd /home/jharvard/ushahidi</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">  $ chmod -R a+w application/config</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">  $ chmod -R a+w application/cache</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">  $ chmod -R a+w application/logs</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">  $ chmod -R a+w </ins>media<ins class="diffchange diffchange-inline">/uploads</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">  $ chmod -R a+w .htaccess</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">In addition, certain files need to be readable.  (It</ins>'<ins class="diffchange diffchange-inline">s not clear why they're not readable by default.)  Try the following command to ensure that the Web browser can </ins>read and <ins class="diffchange diffchange-inline">access the files</ins>.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   $ chmod –R go+rX /home/jharvard/ushahidi/media</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   $ chmod –R go+rX /home/jharvard/ushahidi/media</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 108:</td>
<td colspan="2" class="diff-lineno">Line 131:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Note that the -R recursively changes any files and folders within the directory.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Note that the -R recursively changes any files and folders within the directory.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">In a browser on the host machine</del>, <del class="diffchange diffchange-inline">navigate </del>to <del class="diffchange diffchange-inline">http://192</del>.<del class="diffchange diffchange-inline">168</del>.<del class="diffchange diffchange-inline">56</del>.<del class="diffchange diffchange-inline">101/~</del>jharvard<del class="diffchange diffchange-inline">/ushahidi </del>to <del class="diffchange diffchange-inline">test if this worked</del>.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">Okay</ins>, <ins class="diffchange diffchange-inline">we're ready </ins>to <ins class="diffchange diffchange-inline">move forward</ins>. <ins class="diffchange diffchange-inline"> Click on '''Let's Get Started'''</ins>. <ins class="diffchange diffchange-inline"> First, you'll set up a database</ins>.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">* You'll reuse the database name from above (e.g., jharvard_uhshaidi)</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">* You should use your </ins>jharvard <ins class="diffchange diffchange-inline">account and password</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">* Your database host is localhost</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">* And you don't need a prefix</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">Next, you'll need </ins>to <ins class="diffchange diffchange-inline">provide general information about the site (name, tagline).  You may want to use y our email address as the contact (or not; use anything you like)</ins>.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">Click on 'Get Started</del>'</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">Next, you</ins>'<ins class="diffchange diffchange-inline">ll set up your administrator account.  The admin user name can be anything the looks like like a valid email address (e.g. jharvard@example.edu).</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">Be sure </del>to <del class="diffchange diffchange-inline">use an easy </del>to <del class="diffchange diffchange-inline">find database name.</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">Finally, you should be prompted </ins>to <ins class="diffchange diffchange-inline">go </ins>to <ins class="diffchange diffchange-inline">your newly-created </ins>site, <ins class="diffchange diffchange-inline">http://192.168.56.101/~jharvard/ushahidi/index.php/login</ins>.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">Also use an easy to find </del>site <del class="diffchange diffchange-inline">name – preferably related to project</del>, <del class="diffchange diffchange-inline">city, etc</del>.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">Admin user name can be anything but must look like </del>a <del class="diffchange diffchange-inline">valid email address </del>(<del class="diffchange diffchange-inline">e</del>.<del class="diffchange diffchange-inline">g</del>. <del class="diffchange diffchange-inline">jharvard@example</del>.<del class="diffchange diffchange-inline">edu)</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">Log in.  If things worked fine, you'll see </ins>a <ins class="diffchange diffchange-inline">reasonably well formatted administrative page.  If things worked badly, it will not look good.  Try make media readable again </ins>(<ins class="diffchange diffchange-inline">see above)</ins>. <ins class="diffchange diffchange-inline"> If you can't log in at all, something has gone very wrong</ins>. <ins class="diffchange diffchange-inline"> We have no advice, other than to try again</ins>.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===Configure Ushahidi===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===Configure Ushahidi===</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===Add a Twitter Feed===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===Add a Twitter Feed===</div></td></tr>
</table>Srebelskyhttp://foss2serve.org/index.php?title=Ushahidi_Installation_Instructions&diff=1632&oldid=prevSrebelsky: /* Create a Database in MySQL */ Added a few more notes on setting up the database.2013-06-13T11:51:39Z<p><span class="autocomment">Create a Database in MySQL: </span> Added a few more notes on setting up the database.</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 11:51, 13 June 2013</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 81:</td>
<td colspan="2" class="diff-lineno">Line 81:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Ushahidi stores all of its information in a MySQL database.  It's possible to set up that database from the command line.  However, we're going to create the database using the Web admin interface.  This is a good way to create a database quickly without getting into nitty-gritty details and worrying about SQL.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Ushahidi stores all of its information in a MySQL database.  It's possible to set up that database from the command line.  However, we're going to create the database using the Web admin interface.  This is a good way to create a database quickly without getting into nitty-gritty details and worrying about SQL.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>On your host machine, navigate to http://192.168.56.101/phpMyAdmin/ (updating the IP address as appropriate</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>On your host machine, navigate to http://192.168.56.101/phpMyAdmin/ (updating the IP address as appropriate<ins class="diffchange diffchange-inline">)</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Open up your Web browser in the host machine.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Open up your Web browser in the host machine.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Go to http://192.168.56.<del class="diffchange diffchange-inline">102</del>/phpMyAdmin/ (<del class="diffchange diffchange-inline">you may have a slightly different </del>IP address).</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Go to http://192.168.56.<ins class="diffchange diffchange-inline">101</ins>/phpMyAdmin/ (<ins class="diffchange diffchange-inline">updating the </ins>IP address <ins class="diffchange diffchange-inline">as appropriate</ins>)<ins class="diffchange diffchange-inline">.  You will be prompted to log in.  Remember that the account is '''jharvard''' and the password is '''crimson'''..</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">Click on the '''Databases''' tab.  </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">Enter the name of the database to create (see next paragraph), leave the type as "Collation" and click '''Create'''</ins>.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>For some reason, life is complicated if you don't prefix the name of the database with the name of the user.  So create a database with name beginning with ''jharvard_''  You might want to use "jharvard_ushahidi".</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>For some reason, life is complicated if you don't prefix the name of the database with the name of the user.  So create a database with name beginning with ''jharvard_''  You might want to use "jharvard_ushahidi".</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">That's it.  You're done setting up the database.</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===Download and Install Ushahidi===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===Download and Install Ushahidi===</div></td></tr>
</table>Srebelskyhttp://foss2serve.org/index.php?title=Ushahidi_Installation_Instructions&diff=1624&oldid=prevSrebelsky: /* Download and Install Ushahidi */ Started cleanup of rough notes.2013-06-07T23:03:06Z<p><span class="autocomment">Download and Install Ushahidi: </span> Started cleanup of rough notes.</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 23:03, 7 June 2013</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 90:</td>
<td colspan="2" class="diff-lineno">Line 90:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===Download and Install Ushahidi===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===Download and Install Ushahidi===</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">Get </del>Ushahidi code from <del class="diffchange diffchange-inline">website (</del>[http://www.ushahidi.com/products/ushahidi-platform]<del class="diffchange diffchange-inline">) </del>or <del class="diffchange diffchange-inline">github (</del>[https://github.com/ushahidi/Ushahidi_Web]).</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">In the guest machine (that is the virtual machine), download the  </ins>Ushahidi code from [http://www.ushahidi.com/products/ushahidi-platform <ins class="diffchange diffchange-inline">the Ushahidi Website</ins>] or <ins class="diffchange diffchange-inline">from </ins>[https://github.com/ushahidi/Ushahidi_Web <ins class="diffchange diffchange-inline">github</ins>]<ins class="diffchange diffchange-inline">.  If you download on your host machine, you'll need to transfer the files to the guest machine (perhaps using sftp</ins>).</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">Extract zip file within VM otherwise you’ll need to sftp </del>the <del class="diffchange diffchange-inline">files</del>.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">Detour: Exploring </ins>the <ins class="diffchange diffchange-inline">wonder of open-source instructions (a possible assignment).  You might think that you can find detailed installation instructions through a Google Search. However, some Ushahidi installation guides have too much information, or worse yet, outdated information. Possible assignment for students can be to create a new guide.  (We would hope that this new guide would suffice</ins>.<ins class="diffchange diffchange-inline">)</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">You can find detailed installation instructions through a Google Search</del>. <del class="diffchange diffchange-inline">However, some Ushahidi installation guides have too much information. Possible assignment for students can be to create a new guide</del>.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">Copy the ushahidi directory to your 'public_html' directory</ins>. <ins class="diffchange diffchange-inline"> The resulting data should bin /home/jharvard/public_html/ushahidi</ins>.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">Copy </del>the <del class="diffchange diffchange-inline">ushahidi directory to </del>'<del class="diffchange diffchange-inline">public_html</del>' directory.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">You may see a message about writable directories.  You can ensure that files in </ins>the <ins class="diffchange diffchange-inline">Ushahidi </ins>'<ins class="diffchange diffchange-inline">media</ins>' directory <ins class="diffchange diffchange-inline">have read and execute permissions for 'other' users</ins>.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">In browser (outside virtual machine) navigate to http:</del>//<del class="diffchange diffchange-inline">192.168.56.101/~</del>jharvard/ushahidi <del class="diffchange diffchange-inline">to test if this worked.</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">  $ chmod –R go+rX </ins>/<ins class="diffchange diffchange-inline">home</ins>/jharvard/ushahidi<ins class="diffchange diffchange-inline">/media</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">Ensure </del>that files <del class="diffchange diffchange-inline">in </del>the <del class="diffchange diffchange-inline">Ushahidi 'media' </del>directory <del class="diffchange diffchange-inline">have read and execute permissions for 'other' users</del>.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">Note </ins>that <ins class="diffchange diffchange-inline">the -R recursively changes any </ins>files <ins class="diffchange diffchange-inline">and folders within </ins>the directory.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">chmod –R go+w media</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">- changes recursively inside directory</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">In a browser on the host machine, navigate to http://192.168.56.101/~jharvard/ushahidi to test if this worked.</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Click on 'Get Started'</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Click on 'Get Started'</div></td></tr>
</table>Srebelskyhttp://foss2serve.org/index.php?title=Ushahidi_Installation_Instructions&diff=1623&oldid=prevSrebelsky: /* Set up a Virtual Machine */ Added list of files in the appliance (all two of them).2013-06-07T22:55:51Z<p><span class="autocomment">Set up a Virtual Machine: </span> Added list of files in the appliance (all two of them).</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 22:55, 7 June 2013</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 11:</td>
<td colspan="2" class="diff-lineno">Line 11:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Download [ttps://www.virtualbox.org/ VirtualBox].  You'll need to choose the version appropriate for your machine.   </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Download [ttps://www.virtualbox.org/ VirtualBox].  You'll need to choose the version appropriate for your machine.   </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Download [http://mirror.cs50.net/appliance/3/cs50-appliance-3-15-ovf.zip Version 3 of the Harvard CS50 Applicance]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Download [http://mirror.cs50.net/appliance/3/cs50-appliance-3-15-ovf.zip Version 3 of the Harvard CS50 Applicance]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div># Unzip the CS50 Appliance file.  You should see ...</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div># Unzip the CS50 Appliance file.  You should see <ins class="diffchange diffchange-inline">a folder with two files: One is cs50-appliance-3-disk1</ins>.<ins class="diffchange diffchange-inline">vmdk, the other is cs0-appliance-3</ins>.<ins class="diffchange diffchange-inline">ovf.  The first is a the disk.  The second has the machine settings</ins>.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Install Virtual Box</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Install Virtual Box</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Import the appliance into VirtualBox.  If you need help, refer to [https://manual.cs50.net/CS50_Appliance_3/VirtualBox the reference page for the CS50 Appliance under VirtualBox].  It will probably take about fifteen minutes (at least it did for some of us).</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Import the appliance into VirtualBox.  If you need help, refer to [https://manual.cs50.net/CS50_Appliance_3/VirtualBox the reference page for the CS50 Appliance under VirtualBox].  It will probably take about fifteen minutes (at least it did for some of us).</div></td></tr>
</table>Srebelskyhttp://foss2serve.org/index.php?title=Ushahidi_Installation_Instructions&diff=1622&oldid=prevSrebelsky: /* Create Database in MySQL */ Minor cleanup to text.2013-06-07T22:54:10Z<p><span class="autocomment">Create Database in MySQL: </span> Minor cleanup to text.</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 22:54, 7 June 2013</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 77:</td>
<td colspan="2" class="diff-lineno">Line 77:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Once you've tested this, you should get rid of the info.php file because it tells hackers a lot about your system.  (It doesn't matter for our private virtual install, but it's still a good habit to get into removing such files.)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Once you've tested this, you should get rid of the info.php file because it tells hackers a lot about your system.  (It doesn't matter for our private virtual install, but it's still a good habit to get into removing such files.)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>===Create Database in MySQL===</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>===Create <ins class="diffchange diffchange-inline">a </ins>Database in MySQL===</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">We</del>'re going to create the database using the Web admin interface.  This is a good way to create a database quickly without getting into nitty-gritty details<del class="diffchange diffchange-inline">, </del>SQL <del class="diffchange diffchange-inline">etc</del>.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">Ushahidi stores all of its information in a MySQL database.  It's possible to set up that database from the command line.  However, we</ins>'re going to create the database using the Web admin interface.  This is a good way to create a database quickly without getting into nitty-gritty details <ins class="diffchange diffchange-inline">and worrying about </ins>SQL.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">On your host machine, navigate to http://192.168.56.101/phpMyAdmin/ (updating the IP address as appropriate</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Open up your Web browser in the host machine.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Open up your Web browser in the host machine.</div></td></tr>
</table>Srebelskyhttp://foss2serve.org/index.php?title=Ushahidi_Installation_Instructions&diff=1612&oldid=prevSrebelsky: /* Set Up the Web Server */ Added an article to the title.2013-06-07T12:25:39Z<p><span class="autocomment">Set Up the Web Server: </span> Added an article to the title.</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 12:25, 7 June 2013</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 20:</td>
<td colspan="2" class="diff-lineno">Line 20:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>''Congratulations!  You have a virtual machine in which to play.''</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>''Congratulations!  You have a virtual machine in which to play.''</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>===Set Up Web Server===</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>===Set Up <ins class="diffchange diffchange-inline">the </ins>Web Server===</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Before we go about installing Ushahidi, we want to make sure that the Web server, PHP, and MySQL work correctly.  If you're not familiar with Apache, it tends to look for a user's Web materials in the <code>public_html</code> directory.  So you need to make that directory.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Before we go about installing Ushahidi, we want to make sure that the Web server, PHP, and MySQL work correctly.  If you're not familiar with Apache, it tends to look for a user's Web materials in the <code>public_html</code> directory.  So you need to make that directory.</div></td></tr>
</table>Srebelskyhttp://foss2serve.org/index.php?title=Ushahidi_Installation_Instructions&diff=1611&oldid=prevSrebelsky: /* Check the PHP Installation */ Fixed the prompt ($ not #)2013-06-06T21:29:56Z<p><span class="autocomment">Check the PHP Installation: </span> Fixed the prompt ($ not #)</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 21:29, 6 June 2013</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 63:</td>
<td colspan="2" class="diff-lineno">Line 63:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>We're getting there.  Now, we need to create a file that shows what php</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>We're getting there.  Now, we need to create a file that shows what php</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>   <del class="diffchange diffchange-inline"># </del>cd /home/jharvard/public_html</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>   <ins class="diffchange diffchange-inline">$ </ins>cd /home/jharvard/public_html</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>   <del class="diffchange diffchange-inline"># </del>cat > info.php</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>   <ins class="diffchange diffchange-inline">$ </ins>cat > info.php</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   <?php</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   <?php</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   phpinfo()</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   phpinfo()</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   ?></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   ?></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   ^D</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   ^D</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>   <del class="diffchange diffchange-inline"># </del>chmod a+r info.php</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>   <ins class="diffchange diffchange-inline">$ </ins>chmod a+r info.php</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">''Once again, the ^D means Control-D.''</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Visit the page in your browser at http://192.168.56.101/~jharvard/info.php.  You should see a list of PHP packages that have been installed.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Visit the page in your browser at http://192.168.56.101/~jharvard/info.php.  You should see a list of PHP packages that have been installed.</div></td></tr>
</table>Srebelsky