Friday, April 19, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 921  / 2 Years ago, wed, march 2, 2022, 9:16:14

I've installed LAMP Server using tasksel. I've installed phpMyAdmin, which I know from experience gets in /phpmyadmin. That works. Then I installed drupal6. I assumed that it would get in /drupal, but that's not the case.



How can I find that kind of information? Of course, in this case, I'm looking for my Drupal install, but I would like to avoid having to spend so much time every time I install a web application, so I'm looking for a generic way.


More From » installation

 Answers
1

I don't think there is a common way for all web applications. It depends on how they were packaged. I agree this is not ideal.



In the case of drupal6 though, the example apache2 configuration file is created as /etc/drupal/6/apache.conf.



To get drupal6 working as expected in your question, you need to




  1. copy /etc/drupal/6/apache.conf to /etc/apache2/sites-available/drupal6



    sudo cp /etc/drupal/6/apache.conf to /etc/apache2/sites-available/drupal6


  2. link /etc/apache2/sites-enabled/drupal6 to /etc/apache2/sites-available/drupal6



    cd /etc/apache2/sites-enabled



    sudo ln -sf /etc/apache2/sites-available/drupal6 .


  3. Restart apache2 for the changes to take effect.



    sudo service apache2 restart


  4. You can then install drupal6 by visiting http://localhost/drupal6/install.php in a web browser.



[#39710] Thursday, March 3, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
overine

Total Points: 20
Total Questions: 109
Total Answers: 98

Location: Aruba
Member since Fri, Jun 24, 2022
2 Years ago
;