Step 7: backing up and restoring

Don't forget to include your web sites folders and database schemata in your regular backup scheme. They are located in /var/www/drupal7/sites/ and /var/lib/mysql/ , respectively.

Step 6: making your websites

  • Dowload the contributed modules and themes you need. They have to be compatible with your main version of Drupal. The main version is indicated by the first number. For instance, If you have installed Drupal 7.0, the main version is refered to as "7.x", and the modules compatible with it are numbered 7.x-a.b, where a and b are integers (Example: "7.x-3.7"). Versions called "7.x-a.b-dev" are versions in development. Don't worry: you can install and uninstall contributed modules and themes as soon as Drupal is installed, and later at any time.

Step 5: troubleshooting

Clearing cache

If you got an error or a empty screen during the process, then modified something and want to try again, then you may need to clear your browser cache to check whether your new attempt is fruitful. For this,

Step 4: setting the hostnames

Bulk loop 1

  • In /etc/apache2/sites-enabled/drupal7 (In Mageia 2 and Mandriva Linux 2010, it is /etc/httpd/conf/vhosts.d/00_default_vhosts.conf ), add
    <VirtualHost *:80>
       DocumentRoot /var/www/drupal7
       ServerName example
    </VirtualHost>
  • In /etc/apache2/conf.d/drupal7.conf (in Mageia 2, it is the file /etc/httpd/conf/webapps.d/drupal.conf ), add the line (not needed in Mandriva Linux 2010)
    Alias example 127.0.0.1

Step 3: setting the subdirectories

Bulk loop 2

  • Copy directory /var/www/drupal7/sites/default as /var/www/drupal7/sites/example.com  .
  • Give read and write permissions to everybody for that directory and for /var/www/drupal7/sites/example.com/files/ .
  • If the file /var/www/drupal7/sites/example.com/settings.php doesn't exist yet, copy /var/www/drupal7/sites/example.com/default.settings.php to /var/www/drupal7/sites/example.com/settings.php .
  • Search the line beginning by "$databases" and modify that paragraph like this:

Step 2: setting the databases

MySQL administrator calls "schema" what Drupal and PhpMyAdmin call "database".

Pages

Subscribe with RSS Subscribe to RSS - Install Drupal 7