![]() ![]() Then edit /etc/drupal/7/htaccess and uncomment the relevant ?RewriteBase rule: RewriteBase /drupal # If running under a /drupal URL If you want to use clean URLs, first enable the rewrite module: a2enmod rewrite Ln -s /etc/drupal/7/sites//files /var/lib/drupal7//files/ For example: mkdir /var/lib/drupal7//files/ For a multi-site installation, the files directory should be symlinked to a dedicated location. With a standard installation, the default directory (for the default site) will point to /var/lib/drupal7/files/. Set up the database and edit the configuration file as per the manual database configuration above.Īdd an Apache virtual host configuration file:.If you wish to use this installation with more than one site, it is probably best to create a separate configuration for each site:Ĭreate the Drupal site by duplicating the default configuration files: cp -a /etc/drupal/7/sites/default /etc/drupal/7/sites/ Reload Apache, after which the site will be available at /drupal7 If you only have one site that you wish to use with this installation (with potentially multiple domains) then activate the default drupal7 config file with the command : a2enconf drupal7 Grant required privileges ( the configuration file /etc/drupal/7/sites/default/dbconfig.php as required This step is only needed if you are importing an existing SQL database.Ĭreate a database ( CREATE DATABASE mydb) Choose this unless you will be importing an existing site.Ĭreating a MySQL database and user manually Drupal8 was released in November 2015.ĭuring installation you may optionally choose to have the database created as well. ![]() ![]() Please note that Drupal7 is rapidly approaching it's end-of-life. For the reasoning on why newer versions have not been included, please see the ITP bug report and the blog post Giving up on the Drupal 8 debianization ☹.ĭetails about using Drupal7 with Debian. Historically Drupal7 used to exist in Debian 9 (stretch). Drupal is currently not available in Debian. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |