What is WordPress MU?
“WordPress MU is multi-user version of the famous WordPress blogging application. It is ideal for people wanting to offer a hosted version of WordPress, but due to its complexity installation and maintainance is not supported in the same manner WordPress is. (You cannot get support on the WordPress support forums.)”
WordPress Multi-User Edition has a pretty active forum but I couldn’t find any installation guide. This is how I installed WordPress MU and I’m presenting a step-by-step installation procedure with screenshots.
The installation was done in CentOS and should be pretty much same in most of the *nix flavors. I’ve used the domain name mu.nirlog.com which was setup internally to capture screenshots for this tutorial. You won’t be able to access it from outside.
1. Create a wildcard entry in your DNS record for *.yourdomain.com to resolve to your server’s IP address.
In Bind DNS Server following two lines should be inserted in the zone file of nirlog.com. The domain for Multi-User Blog would be mu.nirlog.com where users can register their own blog e.g. test.mu.nirlog.com
mu IN A 192.168.1.1
*.mu IN A 192.168.1.1
2. Add a ServerAlias in Apache configuration file for *.yourdomain.com.
In Apache 2.x, configuration add the following line in virtual domain setting:
3. Get the WordPress Multi-User Edition from the WordPressMu download site
4. Make sure you fulfill the requirements (according to WP MU site)
Apart from WordPress Requirements
Apache mod_rewrite – if you had WP installed already with fancy URLs then you should be fine.
Apache FollowSymlinks must be switched on. This will disappear in later releases.
5. Start Installation
Untar wpmu-unstable.tar.gz into your web directory. It’ll create a wpmu-… directory, change that name to wpmu. After this you can basically follow the instructions in your browser.
So, the real steps should go as following:
tar xvfz wpmu-unstable.tar.gz
mv wpmu-2006-02-01 wpmu
6. Fix the permissions (not very secure, but won’t work without it)
chmod 777 wpmu
chmod 777 wpmu/wp-inst/
chmod 777 wpmu/wp-inst/wp-content/
You won’t be able to go further without fixing the permission
7. Enable Virtual Server Support by choosing Virtual Server Support: Yes. This will enable the registering users to have a sub domain of their choice.
8. Enter the MySQL Database information and press Submit.
9. Choose a Weblog Title and enter the Email address. Login ID and Password will be sent to this email address.
10. That’s it, you’re done. Check your email for the admin password.
11. Users can browse the site to Login or Create a new blog by themselves
12. User can create a new blog by signing up.
13. A user successfully creates a new blog.
14. This is a newly created blog by the user.
15. User’s admin panel. The user has full control of his blog.
16. Administrator’s admin panel. Administrator can manage all the blogs.