FAQ
Tutorials
- Create AWS Account
- BitNami Amazon Machine Images
- How to install Ubuntu Desktop on EC2 EBS
- How to install VMWare tools on BitNami Virtual Appliances
- Tutorial: Rubystack Deployment Alternatives
- How-To Video: Launching BitNami Virtual Appliances
- How to Install Multiple Joomla! Sites on One BitNami Stack
- How to backup and update the BitNami Redmine Stack
- Tutorial for Deploying BitNami Stacks on Amazon EC2
- How to install and make public any BitNami Stack
- BitNami Modules. As an user... I want integration
- How to install services on OSX
- How To Install Services on Linux
- Installing RubyStack
- From InstantRails to RubyStack
- Rolling on Rails With RubyStack
How to Install Multiple Joomla! Sites on One BitNami Stack
Thanks to BitNami user mzhulaev, who originally posted this in our forums, we now have the tutorial below on how to run multiple Joomla! sites on one BitNami Stack. Although this article is focused on Joomla!, it should apply to other Stacks as well.
Here is the how-to:
1. Go to the file at “C:\Program Files\BitNami RubyStack\apache2\conf\httpd.confâ€
2. Add the following line to the end of the file:
Include “C:/Program Files/BitNami RubyStack/apps/NEW_INSTANCE_NAME/conf/NEW_INSTANCE_NAME.confâ€
3. If you want to see the new instance on the BitNami application load page (http://localhost), edit the following file in html-editor (otherwise, you can skip this step)
“C:\Program Files\BitNami RubyStack\apache2\htdocs\applications.htmlâ€
4. Copy the following block:
<!-- START BitNami Joomla 1.5.15-0 Module joomla -->
********
<!-- END BitNami Joomla 1.5.15-0 Module joomla -->
and correct the following:
<h2>NEW_INSTANCE_NAME</h2> <div align=“right†class=“module_accessâ€><a href=“/NEW_INSTANCE_NAMEâ€>Access</a></div>
5. Create the following folders
“C:\Program Files\BitNami RubyStack\apps\NEW_INSTANCE_NAME\confâ€
“C:\Program Files\BitNami RubyStack\apps\NEW_INSTANCE_NAME\htdocsâ€
6.Copy the following file from the original Joomla instance to the NEW_INSTANCE folder and rename it:
Original: “C:\Program Files\BitNami RubyStack\apps\Joomla\conf\Joomla.confâ€
To: “C:\Program Files\BitNami RubyStack\apps\NEW_INSTANCE_NAME\conf\NEW_INSTANCE_NAME.confâ€
7. Edit the following lines in this file:
Alias /NEW_INSTANCE_NAME/ “C:/Program Files/BitNami RubyStack/apps/NEW_INSTANCE_NAME/htdocs/â€
Alias /NEW_INSTANCE_NAME “C:/Program Files/BitNami RubyStack/apps/NEW_INSTANCE_NAME/htdocsâ€<Directory “C:/Program Files/BitNami RubyStack/apps/NEW_INSTANCE_NAME/htdocsâ€>
8. Download the latest Joomla version (i.e. from here: www.joomla.org)
9. Copy and extract the archive in this folder
“C:\Program Files\BitNami RubyStack\apps\NEW_INSTANCE_NAME\htdocsâ€
10. Use phpMyAdmin to create a new DB_instance and user.
11. Install the new Joomla instance. This procedure is explained in detail on many sites. There is one posted at this link.
9. Restart the Apache Server
10. You should be able to access the new instance using this link: http://localhost/NEW_INSTANCE_NAME or from the BitNami application load page (if you performed step #3)
Nov 24, 2009 | Tags: CMS
Follow Us On Twitter
Add to delicious
|
Comments
The easy way
I found a much easier way to accomplish this and I'd like to share with you guys. Just install your joomla module as usual, then 1) open up your phpmyadmin page, click on bitnami_joomla database, click operations, copy the database. Give it a new name and make sure you copy structure AND data (or you wont have the user/pass to login to admin area). Still on phpmyadmin, click privileges and give use bn_joomla all permissions but GRANT on the new DB you just created. RELOAD privileges. 2) on the server, go to /opt/lampstack/apps/ (or wherever your bitnami's stack is installed), cp -pr joomla new_joomla_site 3) edit apache2/conf/httpd.conf, go to the end of the file, find the joomla.conf line, duplicate it and change the new line to reflect the folder name for your new joomla site 4) if you want, edit apache2/conf/extras/httpd-vhosts.conf and add a VirtualHost section for your site 5) in your lampstack folder, ctlscript.sh restart apache 6) go to your just created joomla site, access the admin area (login will be the same as the default installation), click Global Configuration, Server and edit the field Database. Fill the database name you created on step 1 and that's it. You now have a fresh new install of joomla. TIP: you can load the default install with all templates and modules/extensions you want and then easily distribute your default install. Hope you guys enjoy it.
2010-07-21 12:10 AM by
Thanks!
Thanks, Ineto77! We really appreciate you taking the time to post. I'm sure this will help other BitNami users.
2010-07-21 12:23 AM by ebrescia
Didn't work for me... my simple way solution...
I tried both ways but never could reach the directory of the second joomla stack. Restarted apache on several ways and it simply didn't work. The solution i got is just install joomla in the ..\apache2\htdocs\somenameforyourjoomla folder. Not so secure I suppose, but the most of us will use the wampstack as a test environment i guess.
2010-07-27 12:22 PM