| 37 | | |
| 38 | | |
| 39 | | 2. Service for multiple weblogs on a server |
| 40 | | |
| 41 | | This feature will require more installation steps. Use this method when you think more weblogs will be needed on your webserver, for instance for customers, friends, etc. |
| 42 | | |
| 43 | | As an example, the www.mvblog.org weblog is used, as it is installed and running on a webserver which hosts multiple customers and their blogs. |
| 44 | | If you want a different filesystem location, use those paths instead of the ones shown here. |
| 45 | | |
| 46 | | - Unpack the .tar.gz into /var/www/mvblog |
| 47 | | - Create a database user (e.g. mvblog) |
| 48 | | - Create database with a name that reflects the domain/website the blog is running on (e.g. mvblog_mvblog_org) |
| 49 | | - Create a directory that will serve as the DocumentRoot for your blog (e.g. /var/www/domains/mvblog.org/www) |
| 50 | | - Copy the /var/www/mvblog/style directory into the new style directory (e.g. /var/www/domains/mvblog.org/www/style) |
| 51 | | - Copy the /var/www/mvblog/index.php into the new directory |
| 52 | | - Copy the /var/www/mvblog/favicon.ico into the new directory |
| 53 | | - Change to the new directory (cd) |
| 54 | | - Now you will need to create some symlinks. Below are the commands used: |
| 55 | | |
| 56 | | For mvblog version 1.0 and before: |
| 57 | | |
| 58 | | $ cd /var/www/domains/mvblog.org/www |
| 59 | | $ ln -s /var/www/mvblog/UserFiles |
| 60 | | $ ln -s /var/www/mvblog/admin |
| 61 | | $ ln -s /var/www/mvblog/common |
| 62 | | $ ln -s /var/www/mvblog/fckeditor |
| 63 | | |
| 64 | | For mvblog version after 1.0: |
| 65 | | |
| 66 | | $ cd /var/www/domains/mvblog.org/www |
| 67 | | $ ln -s /var/www/mvblog/admin |
| 68 | | $ ln -s /var/www/mvblog/common |
| 69 | | $ ln -s /var/www/mvblog/xinha |
| 70 | | |
| 71 | | - Edit the common/hosts.php file to list your hostname, etc. |
| 72 | | - Edit your webservers config to enable the domain |
| 73 | | |
| 74 | | Your blog can now be reached at the url associated with the DocumentRoot. |
| 75 | | |
| 76 | | The Admin Interface can be accessed through the admin/ folder in your url. |
| 77 | | |
| 78 | | The default admin user/password is mvblog/mvblog |
| 79 | | I suggest you create a new user and disable the mvblog admin user as |
| 80 | | soon as possible. |
| 81 | | |
| 82 | | You are now ready to enjoy MvBlog. |