B2evolution

From SME Server
Jump to navigation Jump to search

b2evolution How To

b2evolution is a free blog tool for the next generation of blogs.

It includes all the features of traditional blog tools, and extends them with evolved features such as file & photo management, advanced skinning, multiple blogs support as well as detailed user permissions... Not to mention third party plug-ins!

Plus, it's free, open-source (GPL), it runs on virtually any webserver featuring PHP+MySQL and it's available in many languages!

Download b2evolution

wget http://downloads.sourceforge.net/evocms/b2evolution-1.9.3-2007-03-10.zip


Create a Custom Template

cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/

pico 89b2evolution
 # b2evolution

Alias /blog /opt/b2evolution/blogs
<Directory /opt/b2evolution/blogs>
    Options -Indexes
    AllowOverride None
     order deny,allow
     deny from all
     allow from all
     AuthName "b2evolution"
     AuthType Basic
     AuthExternal pwauth
     require user admin
     Satisfy all
     AddType application/x-httpd-php .php .php3
     php_flag  magic_quotes_gpc  on
     php_flag  track_vars        on
</Directory>
expand-template /etc/httpd/conf/httpd.conf
/etc/rc.d/init.d/httpd-e-smith restart

Create Database

mysql -e "create database b2evolution"
mysql -e "grant all privileges on b2evolution.* to bloguser@localhost identified by 'yourpassword'"
mysql -e "flush privileges"

Still Under Underconstruction

chmod 755 /opt/b2evolution