Installing Elgg On An ISPConfig 3 System - Page 2

4 Creating A Database

Next we must create an empty MySQL database for the Elgg installation. Go to Database on the Sites tab and click on Add new Database:

Fill in a database name (e.g. elgg) and a username (e.g. elgg) as well as a password; normally you don't need remote access so you can uncheck that. Click on Save afterwards:

Similar to the FTP user, the database name and user get a prefix (default in this example); you can see the final database name on the overview page (default_elgg). The username is defaultelgg accordingly (without the underscore):

 

5 Creating A Shell User

The Elgg installation will require us to create some cron jobs on the shell (as a normal user). Therefore we create a shell user now (you can delete it after the installation, if you like). Go to Shell-User on the Sites tab and click on Add new Shell-User:

Select the web site (example.com) and fill in a username and password. The username will have a prefix again, so you can see the full username...

... on the Shell User overview page:

Share this page:

5 Comment(s)

Add comment

Comments

From: at: 2010-02-11 09:34:10

The apache directive:

[<Directory /var/www/example.com/web>
AllowOverride All
</Directory>

causes Apache2 to fail if the "[" is added in ispconfig 3

Solution:

edit  /etc/apache2/apache2.conf and delete the "["
then:
 /etc/init.d/apache2 restart.

Related: http://www.howtoforge.com/forums/showthread.php?t=42753apache2

From: Henry O'Tani at: 2012-03-24 01:33:32

In the U.K. character set there is an odd character at the beginning of the attached sample, which if cut and pasted exactly as it appears creates an error.

[<Directory /var/www/example.com/web>
  AllowOverride All
</Directory>

From: William B. at: 2010-01-02 05:34:35

Welcome to Elgg.

Your data directory /var/www/clients/client3/web3/elggdata/ is not writable.

From: Anonymous at: 2010-01-15 15:23:55

Welcome to Elgg.

Your data directory /var/www/clients/client3/web8/data/ is not writable.

web8@isp:~$ ls -l
total 24
drwxr-xr-x  3 web8 client3 4096 ene  2 13:29 cache
drwxr-xr-x  2 web8 client3 4096 ene  2 00:50 cgi-bin
drwxrwxrwx  2 web8 client3 4096 ene 15 09:47 data
lrwxrwxrwx  1 web8 client3   47 ene  2 00:50 log -> ????
drwxr-xr-x  2 web8 client3 4096 ene  2 00:50 ssl
drwxr-xr-x  2 web8 client3 4096 ene 14 23:26 tmp
drwxr-xr-x 22 web8 client3 4096 ene 15 09:46 web

From: Semih at: 2011-02-04 09:24:31

Open your  /etc/httpd/conf/sites-enabled/example.com.vhost file with your editor.

and add your data folder path to (/var/www/clients/client3/web8/data )

end of the php_admin_value open_basedir line.

 Restart your web server.