LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-16-2018, 12:23 AM   #1
pedros
Member
 
Registered: May 2017
Posts: 85

Rep: Reputation: Disabled
Install drupal7 on debian 9.3.


I am trying to install the package drupal7 on debian 9.3.
I follow the instructions at https://wiki.debian.org/Drupal.
I do not understand the code, I am trying to follow the instructions.
I used a similar method to get wordpress working. Help please?
For more details, see pdscript.com/d9316.txt.

Add an Apache virtual host configuration file:
# nano /etc/apache2/sites-available/drupal7.conf
add this content:
<VirtualHost *:80>
ServerName newsite.com

UseCanonicalName Off
VirtualDocumentRoot /usr/share/drupal7
Options All

<Directory /usr/share/drupal7/>
Options +FollowSymLinks
AllowOverride All
order allow,deny
allow from all
</Directory>
</VirtualHost>

Syntax error on line 5 of /etc/apache2/sites-enabled/drup
Invalid command 'VirtualDocumentRoot'
 
Old 03-16-2018, 04:39 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,
Quote:
Syntax error on line 5 of /etc/apache2/sites-enabled/drup
Invalid command 'VirtualDocumentRoot'
The VirtualDocumentRoot directive is provided by the vhost_alias module.
So if you want to use it, you need to enable the module:
Code:
sudo a2enmod vhost_alias
Regards
 
Old 03-17-2018, 05:14 PM   #3
pedros
Member
 
Registered: May 2017
Posts: 85

Original Poster
Rep: Reputation: Disabled
I think I installed everything correctly. There were no error messages. So now how to start drupal? The path seems to be /usr/share/drupal7/index.php.
$
Code:
firefox localhost/drupal7/index.php
Not Found
The requested URL /drupal7/index.php was not found on this server.
Apache/2.4.25 (Debian) Server at localhost Port 80

For all details of this drupal7 project, see pdscript.com/wiki317.txt.
For all details of system setup, see pdscript.com/d9316.txt.
 
Old 03-17-2018, 06:52 PM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
I think I installed everything correctly. There were no error messages. So now how to start drupal? The path seems to be /usr/share/drupal7/index.php
If you used the howto in the link at your OP, then you can access drupal at http://newsite.com
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] no dbconfig.php file on installing drupal7 in debain? mshlinux Debian 2 12-31-2017 06:00 PM
[SOLVED] Where To Find a Debian Install (CDROM Iso-Hybrid Debian-Install) with EFI partition ? Xeratul Debian 14 08-09-2015 07:28 AM
LXer: How to install a single package from Debian SID or Debian Testing on a stable system LXer Syndicated Linux News 0 11-22-2012 04:42 PM
LXer: How to add Debian Squeeze to your Debian Lenny FAI install server LXer Syndicated Linux News 0 09-08-2011 07:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration