| 1 | Requirements |
|---|
| 2 | |
|---|
| 3 | * PHP5 (tested with apache2 cgi and apache2 module) |
|---|
| 4 | * PHP5 PostgreSQL module |
|---|
| 5 | * PEAR::DB |
|---|
| 6 | * PEAR::HTTP_Request (for trackbacks) |
|---|
| 7 | * PostgreSQL server (tested with 7.4 and 8.0) |
|---|
| 8 | |
|---|
| 9 | |
|---|
| 10 | Installation |
|---|
| 11 | |
|---|
| 12 | MvBlog can be used in 2 ways: |
|---|
| 13 | 1. Just one weblog |
|---|
| 14 | 2. Service for multiple weblogs on a server |
|---|
| 15 | |
|---|
| 16 | Below you will find the installation guide for both uses. |
|---|
| 17 | |
|---|
| 18 | 1. Just one weblog |
|---|
| 19 | |
|---|
| 20 | - Unpack the .tar.gz in your DocumentRoot. |
|---|
| 21 | - Create a database for the blog. You can also create an optional database-user for the blog-database |
|---|
| 22 | - Import sql/mvblog.sql into the blog-database. |
|---|
| 23 | - Edit the common/hosts.php file and fill in the correct user, password and database name. |
|---|
| 24 | |
|---|
| 25 | Your blog can now be reached at the url associated with the DocumentRoot. |
|---|
| 26 | |
|---|
| 27 | The Admin Interface can be accessed through the admin/ folder in your url. |
|---|
| 28 | |
|---|
| 29 | The default admin user/password is mvblog/mvblog |
|---|
| 30 | I suggest you create a new user and disable the mvblog admin user as |
|---|
| 31 | soon as possible. |
|---|
| 32 | |
|---|
| 33 | You are now ready to enjoy MvBlog. |
|---|
| 34 | |
|---|
| 35 | |
|---|
| 36 | 2. Service for multiple weblogs on a server |
|---|
| 37 | |
|---|
| 38 | 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. |
|---|
| 39 | |
|---|
| 40 | 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. |
|---|
| 41 | If you want a different filesystem location, use those paths instead of the ones shown here. |
|---|
| 42 | |
|---|
| 43 | - Unpack the .tar.gz into /var/www/mvblog |
|---|
| 44 | - Create a database user (e.g. mvblog) |
|---|
| 45 | - Create database with a name that reflects the domain/website the blog is running on (e.g. mvblog_mvblog_org) |
|---|
| 46 | - Create a directory that will serve as the DocumentRoot for your blog (e.g. /var/www/domains/mvblog.org/www) |
|---|
| 47 | - Copy the /var/www/mvblog/style directory into the new style directory (e.g. /var/www/domains/mvblog.org/www/style) |
|---|
| 48 | - Copy the /var/www/mvblog/index.php into the new directory |
|---|
| 49 | - Copy the /var/www/mvblog/favicon.ico into the new directory |
|---|
| 50 | - Change to the new directory (cd) |
|---|
| 51 | - Now you will need to create some symlinks. Below are the commands used: |
|---|
| 52 | |
|---|
| 53 | For mvblog version 1.0 and before: |
|---|
| 54 | |
|---|
| 55 | $ cd /var/www/domains/mvblog.org/www |
|---|
| 56 | $ ln -s /var/www/mvblog/UserFiles |
|---|
| 57 | $ ln -s /var/www/mvblog/admin |
|---|
| 58 | $ ln -s /var/www/mvblog/common |
|---|
| 59 | $ ln -s /var/www/mvblog/fckeditor |
|---|
| 60 | |
|---|
| 61 | For mvblog version after 1.0: |
|---|
| 62 | |
|---|
| 63 | $ cd /var/www/domains/mvblog.org/www |
|---|
| 64 | $ ln -s /var/www/mvblog/admin |
|---|
| 65 | $ ln -s /var/www/mvblog/common |
|---|
| 66 | $ ln -s /var/www/mvblog/xinha |
|---|
| 67 | |
|---|
| 68 | - Edit the common/hosts.php file to list your hostname, etc. |
|---|
| 69 | - Edit your webservers config to enable the domain |
|---|
| 70 | |
|---|
| 71 | Your blog can now be reached at the url associated with the DocumentRoot. |
|---|
| 72 | |
|---|
| 73 | The Admin Interface can be accessed through the admin/ folder in your url. |
|---|
| 74 | |
|---|
| 75 | The default admin user/password is mvblog/mvblog |
|---|
| 76 | I suggest you create a new user and disable the mvblog admin user as |
|---|
| 77 | soon as possible. |
|---|
| 78 | |
|---|
| 79 | You are now ready to enjoy MvBlog. |
|---|