Home > Web Tools > Setting up Elgg on Ubuntu

Setting up Elgg on Ubuntu


Download the elgg open source social platform from http://sourceforge.com/elgg
#cp elgg-1.7.tar /var/www/html
#mkdir <domain_name>
#cd <domain_name>
#tar -xvzf elgg-1.7.tar
Visit the directory in the web browser
http://localhost/html/domain_name
Welcome to Elgg page
The current url will be
http://localhost/html/nebula/install.php
Enter your database settings below and hit save:
Warning:   Once you’ve corrected any configuration issues, press reload to try again.
Asking you to create the .htaccess file in the root directory where you have extracted the elgg platform source code.
Error:   Elgg couldn’t connect to the database using the given credentials.
Take the bachup of the setting.example.php
#cp /var/www/html/domain_name/engine/settings.example.php setting.php~
#nano settings.php
Under the standard configuration section
// Database username
$CONFIG->dbuser = ‘root’;

// Database password
$CONFIG->dbpass = ‘**********’;

// Database name
$CONFIG->dbname = ‘nebula’;

// Database server
// (For most configurations, you can leave this as ‘localhost’)
$CONFIG->dbhost = ‘localhost’;

// Database table prefix
// If you’re sharing a database with other applications, you will want to use this
// to differentiate Elgg’s tables.
$CONFIG->dbprefix = ‘elgg_’;

After modifying the settings file reload the page on the browser
you’ll be directed to the System settings
Message: Elgg’s database was installed successfully.

Now it’s time to create the data folder where the elgg platform will save your data including text and photos extra.
Note that the data folder should be outside the directory where you have extracted the elgg framework
#mkdir /home/logged-user/data
#chmod a+x data/ -R
#chown www-data data/
If you didn’t set the proper permissions for the data director the elgg installation will throw a warning
Warning: Your data directory /home/ is not writable.
If all set well the url will be changed
http://localhost/html/nebula/account/register.php

Error :

The requested URL /action/systemsettings/install was not found on this server.

# sudo nano /etc/apache2/sites-available/default

Look for the Directory section referring to the folder where your Drupal site lives (in /etc/apache2/sites-available/default, this is typically <Directory /var/www>), and change the line:

AllowOverride None

to

AllowOverride All

Save this file and then reload apache.

# sudo /etc/init.d/apache2 reload

Note:: http://drupal.org/node/134439

Error: on URL – http://localhost/html/elgg-1.7/install.php

Elgg error: Apache does not have mod_rewrite loaded. Please check your Apache setup.

Elgg relies on the mod_rewrite Apache extension in order to simulate certain URLs.

Go to /etc/apache2/apache2.conf

Then you have to enabled the rewrite module(mod_rewrite). You no longer have to do the:
LoadModule rewrite_module modules/mod_rewrite.so
AddModule mod_rewrite.c

It’s now as easy as:
sudo a2enmod rewrite

To disable this module it’s just:
sudo a2dismod rewrite

# sudo service apache2 restart

INSTALLING ELGG ON LIVE SERVER

The page isn’t redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

*   This problem can sometimes be caused by disabling or refusing to accept cookies.

(I edit .htaccess and add RewriteBase /my-elgg-path after RewriteEngine on) Persists

For detail troubleshooting :: http://docs.elgg.org/wiki/Install_Troubleshooting

Advertisements
  1. seogirx
    November 26, 2010 at 11:43 pm

    Is search engine optimisation a little something to suit your needs?

    Like countless other people you may have heard the phrase search engine optimisation, but specifically what does it suggest and is it one thing that might be valuable for the organization maybe just a site?

    Search engine optimisation is definitely an acronym for Search engine marketing. This system is applied for that promotion of on the web enterprise. Within this approach, the net web page is organised in these a way in order that it could be very easily and quickly used, go through and listed by the various search engines seen at my homepage
    . If the marketer follows several hassle-free and basic actions, the guy can obtain on the net existence and popularity for that company’s web page.

    The seo allows a internet marketer to advertise the internet site of your service about the world wide web. On this method, the content material on the web page needs to be search term-rich to ensure its importance is acknowledged by the spiders plus the subject matter could be effortlessly indexed. The search term-rich subject material can come to be without difficulty available for that goal buyers. An entrepreneur need to primary study and examine the sort of search phrases which match with all the articles of your internet web page. These search phrases and phrases should certainly intently relate towards the business enterprise of an group. For example, when you’re working a home business of IT options, you need to put into action individuals keyword phrases that very best describe your item or computer home business.

    You’ll need to possess the various tags with your website to optimize your website in the right method. Header tags includes of header title, description and keywords and phrases. Header title is a earliest tag. You may involve key words within this title tag. The search engine robots crawl the content material from the seo internet pages and give relevance to these title tags that are key phrase prosperous. Usually do not things the phrases or phrases unnecessarily in any other case it’s possible you’ll deal with the danger of the total written content becoming regarded as a Spam. The Description Tag is actually a type of Meta tag that describes the topic of the blog like seo. Meta search phrases are applied to possess your all key words within this. These would be the most reduced precedence tags but nonetheless we comprise them. As a result, you can also make your internet-site available for the prospective prospects and acquire on line presence by subsequent the appropriate seo methods.

  1. March 8, 2010 at 7:26 am

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: