Difference between revisions of "B2evolution"

From SME Server
Jump to navigationJump to search
m
 
(30 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== b2evolution How To ==
+
==Introduction==
 
+
[http://b2evolution.net/ b2evolution] is a free blog tool for the next generation of blogs.
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...
 
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!  
 
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!  
+
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
+
== Installation ==
  
 +
=== Download ===
 +
The package can be downloaded with the following command:
 +
wget http://downloads.sourceforge.net/evocms/b2evolution-1.10.2-2007-06-08.zip
  
== Create a Custom Template ==
+
=== Putting things in the right place ===
 +
After the download you will have to extract the archive
 +
unzip b2evolution-1.10.2-2007-06-08.zip
 +
And move the source to /opt/
 +
mv /tmp/downloads/b2evolution /opt/
  
cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
+
=== Adding templates ===
 +
To be able to access b2evolution on our webserver we need to add some sections to the webserver configuration file. As this file is templated it means we need to create some template fragments:
 +
 +
mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
 +
cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
  
 +
Open a text editor:
 
  pico 89b2evolution
 
  pico 89b2evolution
 +
 +
And copy the section below:
  
 
   # b2evolution
 
   # b2evolution
Line 31: Line 42:
 
       AuthType Basic
 
       AuthType Basic
 
       AuthExternal pwauth
 
       AuthExternal pwauth
      require user admin
 
 
       Satisfy all
 
       Satisfy all
 
       AddType application/x-httpd-php .php .php3
 
       AddType application/x-httpd-php .php .php3
Line 38: Line 48:
 
  </Directory>
 
  </Directory>
  
 +
Save by pressing Ctrl+X, press Y to save changes and confirm with enter.
 +
 +
Now we need to generate the new configuration file for the webserver:
 
  expand-template /etc/httpd/conf/httpd.conf
 
  expand-template /etc/httpd/conf/httpd.conf
 +
And restart the server
 +
sv t httpd-e-smth
 +
 +
=== Create Database ===
 +
To create the database for the package execute the following statements as root user:
 +
 +
mysql -e "create database b2evolution"
 +
mysql -e "grant all privileges on b2evolution.* to bloguser@localhost identified by 'yourpassword'"
 +
mysql -e "flush privileges"
  
/etc/rc.d/init.d/httpd-e-smith restart
+
==Still Under Underconstruction ==
  
 
  chown -R www.www /opt/b2evolution
 
  chown -R www.www /opt/b2evolution
 +
chmod 755 /opt/b2evolution
  
== Create Database ==
+
Go to your web browser and open http://your.domain.or.IP/blog/install/index.php
  
mysql -e "create database b2evolution"
+
You will need the database user name and password created in the database setup for this step, then once finished filling in the details select Then select the '''update config file''' at the bootom of page to continue
 +
<br>[[Image:B2evolution_installer.png|center|800px]]<br>
 +
 
 +
How do you want to install b2evolution?
  
mysql -e "grant all privileges on b2evolution.* to bloguser@localhost identified by 'yourpassword'"
+
if new install, then select the radio button for new install and select the go button
  
mysql -e "flush privileges"
+
'''Don't forget to write down your password'''
  
==Still Under Underconstruction ==
+
Now you can log in with the login "admin" and password 
  
 +
'''Note that password carefully! It is a random password that is given to you when you install b2evolution. If you lose it, you will have to delete the database tables and re-install anew.'''
  
chmod 755 /opt/b2evolution
+
----
 +
[[Category: Howto]]
 +
[[Category: Webapps]]
 +
[[Category: CMS]]
 +
[[Category: Social Media Apps]]

Latest revision as of 08:41, 5 July 2017

Introduction

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!

Installation

Download

The package can be downloaded with the following command:

wget http://downloads.sourceforge.net/evocms/b2evolution-1.10.2-2007-06-08.zip

Putting things in the right place

After the download you will have to extract the archive

unzip b2evolution-1.10.2-2007-06-08.zip

And move the source to /opt/

mv /tmp/downloads/b2evolution /opt/

Adding templates

To be able to access b2evolution on our webserver we need to add some sections to the webserver configuration file. As this file is templated it means we need to create some template fragments:

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

Open a text editor:

pico 89b2evolution

And copy the section below:

 # 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
     Satisfy all
     AddType application/x-httpd-php .php .php3
     php_flag  magic_quotes_gpc  on
     php_flag  track_vars        on
</Directory>

Save by pressing Ctrl+X, press Y to save changes and confirm with enter.

Now we need to generate the new configuration file for the webserver:

expand-template /etc/httpd/conf/httpd.conf

And restart the server

sv t httpd-e-smth

Create Database

To create the database for the package execute the following statements as root user:

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

chown -R www.www /opt/b2evolution
chmod 755 /opt/b2evolution
Go to your web browser and open http://your.domain.or.IP/blog/install/index.php

You will need the database user name and password created in the database setup for this step, then once finished filling in the details select Then select the update config file at the bootom of page to continue


B2evolution installer.png


How do you want to install b2evolution?

if new install, then select the radio button for new install and select the go button

Don't forget to write down your password

Now you can log in with the login "admin" and password

Note that password carefully! It is a random password that is given to you when you install b2evolution. If you lose it, you will have to delete the database tables and re-install anew.