This forum is no longer active. Please post your questions to our new community site

Forums WordPress

Multiple WordPress Blogs

Subscribe to Multiple WordPress Blogs 14 post(s), 8 voice(s)

 
Avatar jamison 1 post

I am desperately looking for a way that I may install multiple blogs using the Wordpress BitNami Stack. I haven’t been able to locate the answer in the other topics. Can anyone please advise? I tried installing two different instances of BitNami Stack, but that did not seem to work. Is there a way that I can use the same MySQL, apache2, and php for two different blogs? Any help with this would be greatly appreciated!!!!

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

Sorry it is not possible for the moment. You can install manually several wordpress instances on top of your Wordpress Stack. In this case you should follow the manually installation steps from Wordpress.

 
Avatar jjenkins 1 post

So, I can have mutliple WP installs on the same stack? Can you point us toward the steps to do this?

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

You should install several wordpress manually following the official guide steps http://codex.wordpress.org/Installing_WordPress

I hope it helps

 
Avatar ravalde 8 post(s)

Wow that bit of advice was as useful as a chocolate teapot. stick with wamp or mamp at least theres instructions online on how to do this I’ve tried for months to find out the same thing for bitnami.

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Sorry I agree. We are working hardly on several new features for BitNami and to support installing several modules of the same application is one of them.

 
Avatar ajquigley 2 post(s)

WordPress MU is the official multiple blogs version of WordPress. It has been merged into the main branch as of version 3.0.
Look at the guide section http://codex.wordpress.org/Create_A_Network for the details. This is the preferred way to have multiple blogs on the same instance of Apache/MySQL/PHP/Wordpress.

I have been using WPMU since version 2.6 (at the time it was a separate branch from the main WP)

 
Avatar cogmios 9 post(s)

I just used amazon for the first time and downloaded bitname and I have already 2 WP versions running ? What is the problem?

1. Just create a new database (root/bitnami as root login)
2. create or re-use a directory
3. apt-get subversion
4. go to your dir
5. svn export http://core.svn.wordpress.org/trunk/ —force .
6. chown -R bitnami *
7. chgrp -R daemon *
8. find . -type f -print0 | xargs -0 chmod 644
9. find . -type d -print0 | xargs -0 chmod 755
10. go to your browser to the location specified in your httpd.conf for that new thing
11. run through the famous install

  • add a database user with rights on the database as in the bitnami wiki "how to add a new user with privileged to the database

I’m just trying all of this out so I’m left with the problem why plugins ask a ftp name/pwd for install probably also a rights issue

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

To fix the FTP issue you should add the following line in the installdir/apps/wordpress/htdocs/wp-config.php file:

define(‘FS_METHOD’,‘direct’);

Check that the daemon user has write permissions in the htdocs folder. Cheers.

 
Avatar cogmios 9 post(s)

Thanks Beltran,
I use that on my localhost but I see you also use that in the original wp-config. ok.
(I dont know if I will leave in that kind of configuration.)
(I also think I create a setup where I can move the wp-config.php one level up outside the wp dir)
(And possibly nginx instead of apache) (since wordpress.com is also running it)
(And php 5.3 with php-fpm as that seems to be the standard now)

So… maybe I can make life easier: could you bring out an Amazon image that has:

- php 5.3 with php-fpm as standard
- nginx as standard as many large WP sites now run that
- by default WordPress MU activated with the multi-domain plugin installed? (as option)
- configuration in which wp-config.php can be moved up one directory to site outside the WordPress dir
- subversion by default installed (because WP uses svn)
- NOT wp_ as default prefix in the database since that is not adviced
- added in readme.txt to change the auth_key etc… in wp-config.php

(or maybe : put that on the RFC / Requests list ?)

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Thanks for your suggestions.

On BitNami Cloud Hosting you have installed Subversion and NGinx so you can use them. We are working to create a Stack with PHP 5.3. Cheers.

 
Avatar letizia 2 post(s)

Hi Jamison, I don’t know if this may help but this is how I solved the same problem: (maybe you’ve solved it already – but it might be useful for other readers)
(note: I work on a Mac)
1-I installed the first copy of bitnami wordpress stack choosing an empty folder (“website1”) where therefore I installed my first site/blog
2-I installed the second copy of Bitnami WP stack on a different folder (“website2”): immediately it asked me new port numbers for the servers: I gave 8081 for Apache and 3307 for MySql
(note: this happened because I hadn’t turned off the servers)
3-Now to switch between different sites I do the following: let’s say I am currently working on website2 – the last one I had just installed. I go into the “website2” folder and click on “manager-OSX”. This opens up the server connection. I say “stop all” and wait for them to stop. Now the servers for website2 are not running.
4- Now I go to “website1” folder and click on ""manager-OSX". I “start all” the servers for this site.
Then when they are up and running I can go to my website1 login page and work on it.

That’s all. The important things to remember are:
-to switch on and off each website’s servers before and after working on that particular site
-And to keep servers running when making a new wordpress bitnami installation! So that bitnami will prompt for new port numbers for the new site.

I am a newby of wordpress and it took my a while to solve this “multiple sites” running with bitnami issue, especially since I am not a programmer and couldn’t find easy solutions on the web… I hope this will be useful for somebody.
Cheers. :)

 
Avatar victoria Administrator 134 post(s)

Hi letizia,

Thanks. However…you have two apache servers and two mysql database (although they are not running at the same time). Jamison was asking on how to install several instances of WordPress sharing the same apache server and mysql database. In the past another posted the steps for doing it (manually) but for Joomla!. (you can see the steps here). Basically you install BitNami MAPMStack (if you are in mac), then install the BitNami WordPress module. The following installations of WordPress should be done using the WordPress wizard but following the BitNami structure.

 
Avatar letizia 2 post(s)

Thank you Victoria for your explanation, which helped me to understand a little better.
I wonder if you can help me solve the following major problem I run into and that is connected to this whole issue.

3 weeks ago I lost a whole website and now I am wondering if having multiple apache and mySql servers is a good idea or not… I am not even sure how I got in this trouble; I only remember that I’d finished my site (it was a second local website hosted on my computer) and wanted to publish it online. I downloaded a fresh copy of Wordpress to my computer. Next thing I remember is that the manager osx – window where the servers are – WAS EMPTY!!! I cannot log in into my local site anymore. All my work is GONE. Unfortunately I didn’t make any backup (I’ve been fustigating myself a lot for this :| )

Before I start all over again, my question is: isn’t there any way to recuperate my site’s pages and posts somehow from the folder I still have (the one with all Bitnami Wordpress stack folders – wp content etc.)? Do I really have to RE-DO the whole work from scratch? Isn’t anything saved somehow on my computer? Did the servers leave taking ALL with them ? …. (afterwards I installed one more bitnami wordpress stack and it works; the servers are there. Only for my lost site the servers are not there anymore).

I’d greatly appreciate if you’d give me advice. You’d save my life (this project was greatly important to me, and it costed me TONS of sacrifice in terms of time, energy etc.)
Thank you. Letizia

Forums WordPress