Showing revision 30

Drupal

Update drupal

Drupal is located in /usr/share/drupal7

 gzip -c -d /tmp/drupal-7.XX.tar.gz | tar vxf - --strip 1
 find . -user 6226 -ls -exec chown www-data:www-data \{\} \;

and finally, run update.php on all websites :-(

Create A New Site

 site=fruitcake.org
 cd /usr/share/drupal7/sites/
 mkdir $site
 cp default/default.settings.php ${site}/settings.php
 for i in files modules themes ; do mkdir ${site}/${i} ; done
 chown -R www-data:www-data ${site}

Now create the database for it:

 site=fruitcake
 mysqladmin -uroot -p create $site
 mysql -uroot -p 
   grant all on fruitcake.* to 'fruitcake'@'localhost' identified by 'password';
   flush privileges;
   exit

You're done. Go to http://fruitcake.org/ and follow the setup wizard, giving it the database info.

Now enter theme selection and configuration hell - but that's your problem.

Create A New Sub Site

 Alias /fruitcake /usr/share/drupal7

Cool Features

User List Page

Recently changed pages report