Changeset 512 for trunk/INSTALL

Show
Ignore:
Timestamp:
07/21/07 14:46:15 (14 months ago)
Author:
michiel
Message:

Merge changes from remove_multi_blog branch.

remove everything that referenced to:
'one codebase multiple weblogs'
Also stop supporting common/hosts.php as configfile.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/INSTALL

    r373 r512  
    22 
    33* PHP5 (tested with apache2 cgi and apache2 module) 
    4 * PHP5 PostgreSQL module 
    5 * PEAR::DB 
    6 * PEAR::HTTP_Request (for trackbacks) 
     4* PHP5 PostgreSQL module or PHP5 MySQL module or PHP5 sqlite module 
     5* PEAR::MDB2 with apropiate backend driver 
     6* PEAR::HTTP_Request (for trackbacks) -- optional 
    77* PostgreSQL server (tested with 7.4 and 8.0) OR 
    8 * MySQL 5.0 (tested with 5.0.22 and newer) 
     8* MySQL 5.0 (tested with 5.0.22 and newer) OR 
     9* Sqlite 
    910 
    1011Installation 
    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 
    1912 
    2013- Unpack the .tar.gz in your DocumentRoot. 
    2114- Create a database for the blog. You can also create an optional database-user for the blog-database 
    2215- Import sql/<database_system>/mvblog.sql into the blog-database. 
    23 - Edit the common/hosts.php file and fill in the correct user, password and database name. 
     16- Copy the conf/mvblog.ini.sample to conf/mvblog.ini 
     17- Edit the conf/mvblog.ini file and fill in the correct user, password and database name. 
     18- Make sure php can write in the site_images folder (chown www-data:www-data site_images) 
    2419 
    2520The actual commands to create a database and import the sql file are not shown here. 
     
    3530 
    3631You are now ready to enjoy MvBlog. 
    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.