root/tags/mvblog-1_6/INSTALL

Revision 75, 2.8 KB (checked in by michiel, 3 years ago)

update requirements

Line 
1Requirements
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
10Installation
11
12MvBlog can be used in 2 ways:
131. Just one weblog
142. Service for multiple weblogs on a server
15
16Below you will find the installation guide for both uses.
17
181. 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
25Your blog can now be reached at the url associated with the DocumentRoot.
26
27The Admin Interface can be accessed through the admin/ folder in your url.
28
29The default admin user/password is mvblog/mvblog
30I suggest you create a new user and disable the mvblog admin user as
31soon as possible.
32
33You are now ready to enjoy MvBlog.
34
35
362. Service for multiple weblogs on a server
37
38This 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
40As 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.
41If 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
53For 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
61For 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
71Your blog can now be reached at the url associated with the DocumentRoot.
72
73The Admin Interface can be accessed through the admin/ folder in your url.
74
75The default admin user/password is mvblog/mvblog
76I suggest you create a new user and disable the mvblog admin user as
77soon as possible.
78
79You are now ready to enjoy MvBlog.
Note: See TracBrowser for help on using the browser.