<?xml version='1.0'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:atom="http://www.w3.org/2005/Atom" >
<channel>
	<title><![CDATA[BOL: Installing ELGG on Ubuntu !]]></title>
	<link>https://bioinformaticsonline.com/pages/view/43605/installing-elgg-on-ubuntu?</link>
	<atom:link href="https://bioinformaticsonline.com/pages/view/43605/installing-elgg-on-ubuntu?" rel="self" type="application/rss+xml" />
	<description><![CDATA[]]></description>
	
	<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/pages/view/43605/installing-elgg-on-ubuntu</guid>
	<pubDate>Thu, 25 Nov 2021 01:45:59 -0600</pubDate>
	<link>https://bioinformaticsonline.com/pages/view/43605/installing-elgg-on-ubuntu</link>
	<title><![CDATA[Installing ELGG on Ubuntu !]]></title>
	<description><![CDATA[<p>Follow this:</p><h3>Settings file</h3><ul>
<li>
<div>
<div>
<div>Error</div>
<div>
<p>Your web server does not have permission to create the settings.php file in your installation directory. You have two choices:</p>
<p>1. Change the permissions on the elgg-config directory of your Elgg installation</p>
<p>2. Copy the file elgg-config/settings.example.php to elgg-config/settings.php and follow the instructions in it for setting your database parameters.</p>
</div>
</div>
</div>
</li>
</ul><p>&nbsp;</p><p>To resolve this --&nbsp;</p><p>Change the permision&nbsp;</p><p>chmod 777 elgg-config</p><h3>Web server</h3><ul>
<li>
<div>
<div>
<div>Warning</div>
<div>
<p>Your server does not support automatic testing of the rewrite rules and your browser does not support checking via JavaScript. You can continue the installation, but you may experience problems with your site. You can manually test the rewrite rules by clicking this link:&nbsp;test. You will see the word success if the rules are working.</p>
</div>
</div>
</div>
</li>
</ul><p>create a .httaccess</p><p>and provide detail in it</p><p><span style="text-decoration: underline;">Installation of Elgg</span><span></span></p><p>&nbsp;</p><p>(Note: Elgg requires&nbsp;<a href="http://www.cs.oswego.edu/~odendahl/misc/howto/mysql/">installing an instance of MySQL</a>.)</p><p>&nbsp;</p><p><span style="text-decoration: underline;">Steps to make adjustment and disposal of trial installations easier</span>.</p><p>&nbsp;</p><p><span style="text-decoration: underline;">MySQL</span></p><p>At this point, we assume you've set up your&nbsp;<tt>MySQL</tt>&nbsp;database</p><div><ol>
<li>Start your&nbsp;<tt>mysqld</tt>&nbsp;server daemon.<br />(For the sake of this example, we'll assume we're running on port 9999; you shouldn't actually use this port because only one daemon can run on any port number.)</li>
<li>Login to the server as&nbsp;<tt>root</tt>&nbsp;user, using the&nbsp;<tt>mysql</tt>&nbsp;client.</li>
<li>Create a database to store Elgg's tables. We'll call the database&nbsp;<tt>elggalpha</tt>.<br /><tt>mysql&gt; create database elggalpha;</tt></li>
<li>Grant access to a user &mdash; for this example we'll call him/her&nbsp;<tt>elggalphauser</tt>.
<pre>mysql&gt; grant all privileges on elggalpha.* to 'elggalphauser'@'moxie'
    -&gt; identified by 'secretpassword';
</pre>
</li>
</ol></div><p>&nbsp;</p><p><span style="text-decoration: underline;">Elgg</span></p><p>&nbsp;</p><div><ol>
<li>Type&nbsp;<tt>umask 022</tt></li>
<li>Change into your&nbsp;<tt>public_html</tt>&nbsp;directory (<em>aka</em>&nbsp;folder).<br /><tt>cd public_html</tt></li>
<li>make a directory called&nbsp;<tt>elgg</tt><br /><tt>mkdir elgg</tt></li>
<li>Change into the&nbsp;<tt>elgg</tt>&nbsp;subdirectory of&nbsp;<tt>public_html</tt>.<br /><tt>cd elgg</tt></li>
<li>download elgg into this directory</li>
<li>you'll end up with a file named<br /><tt>/home/<em>your-user-id</em>/public_html/elgg/elgg-X.X.X.X.zip</tt><br />(It's not literally&nbsp;<tt>X.X.X.X</tt>, it might be&nbsp;<tt>elgg-1.8.0.1.zip</tt>, for example.)</li>
<li>unzip elgg<br /><tt>unzip -q elgg-1.8.0.1.zip</tt></li>
<li>you'll end up with a directory (folder) named<br /><tt>/home/<em>your-user-id</em>/public_html/elgg/elgg-X.X.X.X</tt></li>
<li>make a symbolic link (<em>aka</em>&nbsp;shortcut) to this<br /><tt>ln -s elgg-X.X.X.X alpha</tt><br />(For example,&nbsp;<tt>ln -s elgg-1.8.0.1 alpha</tt>)</li>
<li>Give user&nbsp;<tt>nobody</tt>&nbsp;access to this directory<br /><tt>/usr/misc/bin/acl.sh -r -u nobody elgg-1.8.0.1</tt></li>
<li>create a data directory for&nbsp;<tt>elgg</tt>&nbsp;(get into your home directory first):
<pre>cd
mkdir -p elgg/alpha/data
chmod -R 755 elgg/alpha/data
</pre>
</li>
<li>Change into the&nbsp;<tt>elgg/alpha</tt>&nbsp;directory.<br /><tt>cd elgg/alpha</tt></li>
<li>Give user&nbsp;<tt>nobody</tt>&nbsp;access to this subdirectory&nbsp;<tt>data</tt><br /><tt>/usr/misc/bin/acl.sh -u nobody data</tt></li>
<li>In your browser, navigate to your elgg installation<br /><tt>http://moxie.cs.oswego.edu/~<em>your-user-id</em>/elgg/alpha/</tt><br />You'll have a screen which includes this message:
<pre>Welcome

Installing Elgg has 6 simple steps and reading this welcome is the first one!

If you haven't already, read through the installation instructions included with Elgg (or click the instructions link at the bottom of the page).

If you are ready to proceed, click the Next button.
</pre>
</li>
<li>Follow configuration process:
<ul>
<li>The first screen probably will contain a success message in green and a failure message in pink:
<pre><span>Requirements check</span>

Your server failed the requirements check. After you have fixed the below issues, refresh this
page. Check the troubleshooting links at the bottom of this page if you need further assistance.
<span>PHP</span></pre>
<div>Your server's PHP satisfies all of Elgg's requirements.</div>
<pre>
<span>Web server</span></pre>
<div>We think your server is running the Apache web server. The rewrite test failed and the most likely cause is that AllowOverride is not set to All for Elgg's directory. This prevents Apache from processing the .htaccess file which contains the rewrite rules. A less likely cause is Apache is configured with an alias for your Elgg directory and you need to set the RewriteBase in your .htaccess. There are further instructions in the .htaccess file in your Elgg directory.</div>
<pre>
<span>Database</span></pre>
<div>The database requirements are checked when Elgg loads its database.</div>
</li>
<li>To correct this, replace the&nbsp;<tt>.htaccess</tt>&nbsp;file that Elgg created with one that you can edit:
<pre>cp -ip .htaccess temp-htaccess
rm .htaccess
mv temp-htaccess .htaccess
</pre>
</li>
<li>Edit the&nbsp;<tt>.htaccess</tt>&nbsp;file: Go to approximately line 101 (where it says&nbsp;<tt>#RewriteBase /</tt>) and add the line:<br /><tt>RewriteBase /~<em>your-user-id</em>/elgg/alpha/</tt></li>
<li>Be sure to save the edited file.
<p>&nbsp;</p>
<p>&nbsp;</p>
</li>
<li>Click the&nbsp;<span>Refresh</span>&nbsp;button.
<p>&nbsp;</p>
<p>&nbsp;</p>
</li>
<li>If this hasn't fixed things, seek professional help.
<p>&nbsp;</p>
<p>&nbsp;</p>
</li>
<li>Click the&nbsp;<span>Next</span>&nbsp;button.
<p>&nbsp;</p>
<p>&nbsp;</p>
</li>
<li>Fill in the parameters appropriate to your MySQL installation.
<pre><span>Database installation</span>

If you haven't already created a database for Elgg, do that now. Then fill in the values below to
initialize the Elgg database.

<span>Database Username</span></pre>
<div>elggalphauser</div>
<pre>User that has full priviledges to the MySQL database that you created for Elgg

<span>Database Password</span></pre>
<div>secretpassword</div>
<pre>Password for the above database user account

<span>Database Name</span></pre>
<div>elggalpha</div>
<pre>Name of the Elgg database

<span>Database Host</span></pre><sup>&Dagger;</sup>
<div>moxie:9999</div>
<pre>Hostname of the MySQL server (usually localhost)
<strong>&Dagger;You might need to use <tt>127.0.0.1:9999</tt> for the host
    if you haven't set up MySQL as we've done.</strong>



<span>Database Table Prefix</span></pre>
<div>elgg_</div>
<pre>The prefix given to all of Elgg's tables (usually elgg_)
</pre>
<div><span>Next</span></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
</li>
<li>Continue filling in forms as requested.
<pre>Configure site</pre>
<div>Database has been installed.</div>
<pre>
We need some information about the site as we configure Elgg. If you haven't created a data directory for Elgg, you need to do so now.

<span>Site Name</span></pre>
<div>My Elgg Site version Alpha</div>
<pre>The name of your new Elgg site

<span>Site Email Address</span></pre>
<div><em>your-user-id</em>@oswego.edu</div>
<pre>Email address used by Elgg for communication with users

<span>Site URL</span></pre>
<div>http://moxie.cs.oswego.edu/~<em>your-user-id</em>/elgg/alpha/</div>
<pre>The address of the site (Elgg usually guesses this correctly)

<span>Elgg Install Directory</span></pre>
<div>/home/<em>your-user-id</em>/public_html/elgg/elgg.1.8.0.1/</div>
<pre>The directory where you put the Elgg code (Elgg usually guesses this correctly)

<span>Data Directory</span></pre>
<div>/home/<em>your-user-id</em>/elgg/alpha/data</div>
<pre>The directory that you created for Elgg to save files (the permissions on this directory are checked
when you click Next)

<span>Default Site Access</span></pre>
<div>Public</div>
<pre>The default access level for new user created content
</pre>
</li>
<li>
<pre><span>Create admin account</span></pre>
<div>Site settings have been saved.</div>
<pre>
It is now time to create an administrator's account.

<span>Display Name</span></pre>
<div>&nbsp;</div>
<pre>The name that is displayed on the site for this account

<span>Email Address</span></pre>
<div>&nbsp;</div>
<pre>
<span>Username</span></pre>
<div>&nbsp;</div>
<pre>Account username used for logging in

<span>Password</span></pre>
<div>&nbsp;</div>
<pre>Account password must be at least 6 characters long

<span>Password Again</span></pre>
<div>&nbsp;</div>
<pre>Retype password to confirm</pre>
</li>
</ul>
</li>
</ol></div>]]></description>
	<dc:creator>Jit</dc:creator>
</item>
<item>
	<guid isPermaLink='true'>https://bioinformaticsonline.com/pages/view/43605/installing-elgg-on-ubuntu#item-annotation-4031</guid>
	<pubDate>Wed, 25 May 2022 02:50:42 -0500</pubDate>
	<link>https://bioinformaticsonline.com/pages/view/43605/installing-elgg-on-ubuntu#item-annotation-4031</link>
	<title><![CDATA[Comment by Neel]]></title>
	<description><![CDATA[<pre><code>sudo apt-get -y --reinstall install phpmyadmin;
sudo service apache2 restart;</code></pre>]]></description>
	<dc:creator>Neel</dc:creator>
</item>

</channel>
</rss>