I am currently transitioning from my Ubuntu 16..04 LAMP Server to a Bitnami 7.59 Drupalstack. However, I discovered that Bitnami does NOT provide instructions / FAQ on how to install multiple Drupal apps onto a single Bitnami Drupalstack, while “snubbingly” providing an instructional FAQ on how to add multiple Joomla Apps onto a single BitnamiJoomlastack… :0
(I am using an Ubuntu 16.04 host with Virtualbox5.1 and Ubuntu16.04 guest to run Bitnami drupalstack7.59)
Therefore, for all you hardcore drupalers I would like to write my own set of docs on how to add multiple Drupal apps onto a single Bitnami Drupalstack.
One Problem:
How do I actually install multiple Drupal apps onto a Btinami Drupalstack?
I was told by Bitnami Community folks that I should simple exchange “joomla” for “drupal” and follow this FAQ which of course did not work.
Along the way, I created my documentation but troubleshooting back-end Bitnami servers is out of my league.
Below are my own configuration notes, derived from attempting follow the bitnami joomla instructions (i feel dirty..)
Can anyone troubleshoot where I am going wrong?
All I get is error code 404 when I try to visit the newly configured Drupal App… http://127.0.0.1:8080/drupal1/
My Steps To Create Additional Drupal Apps in Bitnami Drupal7Stack
New Document Root /opt/bitnami/apps/joomla1/htdocs translates to /home/username/drupal7stack/apps/drupal/htdocs/
Rename default drupal app
- sudo mv /home/username/drupal7stack/apps/[drupal-site-name] /home/username/drupal7stack/apps/[drupal1-site-name]
Modify config file located at /home/username/drupal7stack/apps/[drupal1-site-name]/conf/httpd-prefix.conf
- gedit /home/username/drupal7stack/apps/[drupal1-site-name]/conf/httpd-prefix.conf
FILE CONTENT{truncated}:
Alias /drupal/ "/home/username/drupal7stack/apps/[drupal1-site-name]/htdocs/" Alias /drupal "/home/username/drupal7stack/apps/[drupal1-site-name]/htdocs" Include "/home/username/drupal7stack/apps/[drupal1-site-name]/conf/httpd-app.conf"
Modify the .httpd-app configuration
file at /home/username/drupal7stack/apps/[drupal1-site-name]/conf/httpd-app.conf
to use the new path:
-
File Content {truncated}:
Include “/home/username/drupal7stack/apps/[drupal1-site-name]/conf/banner.conf”
Include “/home/username/drupal7stack/apps/[drupal1-site-name]/conf/htaccess.conf”
Modify the Apache .htaccess
file at /home/username/drupal7stack/apps/drupal1/conf/htaccess.conf
to use the new path:
-
File Content {truncated}
RewriteBase /drupal1
Change the name of default db to via phpmyadmin accessible at http://127.0.0.1:8080/phpmyadmin/
(use root login). Also, create username/pwd of site specific drupal installation
- N/A phpmyadmin GUI
Adjust the settings.php file found at /home/username/drupal7stack/apps/[drupal1-site-name]/htdocs/sites/default/settings.php
to the db specific user created in step five
sudo gedit /home/username/drupal7stack/apps/[drupal1-site-name]/htdocs/sites/default/settings.php
restart the drupalstack (apache/mysql), then view new site at http://127.0.0.1:8080/[drupal1-site-name]
- For drupalstack use
~/drupal7stack$ ./manager-linux-x64.run
, then visit new website