Changes

From SME Server
Jump to navigationJump to search
431 bytes added ,  12:56, 20 December 2008
Removed maintainer (not for HowTo's) and did some text changes
Line 1: Line 1: −
== b2evolution How To ==
+
==Introduction==
 
  −
'''Maintainer'''
  −
 
  −
[mailto:russell@fixitcomputers.com.au?subject=b2evolution Russell Taihn]
  −
 
   
[http://b2evolution.net/ b2evolution] is a free blog tool for the next generation of blogs.
 
[http://b2evolution.net/ b2evolution] is a free blog tool for the next generation of blogs.
   Line 12: Line 7:  
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 ==
+
== Installation ==
 
  −
mkdir /tmp/downloads
  −
 
  −
cd /tmp/downloads
      +
=== Download ===
 +
The package can be downloaded with the following command:
 
  wget http://downloads.sourceforge.net/evocms/b2evolution-1.10.2-2007-06-08.zip
 
  wget http://downloads.sourceforge.net/evocms/b2evolution-1.10.2-2007-06-08.zip
    +
=== Putting thing sin the right place ===
 +
After the download you will have to extract the archive
 
  unzip b2evolution-1.10.2-2007-06-08.zip
 
  unzip b2evolution-1.10.2-2007-06-08.zip
 
+
And move the source to /opt/
 
  mv /tmp/downloads/b2evolution /opt/
 
  mv /tmp/downloads/b2evolution /opt/
   −
== Create a Custom Template ==
+
=== 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/
 
  mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
   
  cd /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 50: Line 48:  
  </Directory>
 
  </Directory>
   −
Save by pressing '''Ctrl x''', '''press y''' to save changes and '''press enter'''
+
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
   −
/etc/rc.d/init.d/httpd-e-smith restart
+
=== Create Database ===
 
+
To create the database for the package execute the following statements as root user:
== Create Database ==
      
  mysql -e "create database b2evolution"
 
  mysql -e "create database b2evolution"
   
  mysql -e "grant all privileges on b2evolution.* to bloguser@localhost identified by 'yourpassword'"
 
  mysql -e "grant all privileges on b2evolution.* to bloguser@localhost identified by 'yourpassword'"
   
  mysql -e "flush privileges"
 
  mysql -e "flush privileges"
   Line 67: Line 65:     
  chown -R www.www /opt/b2evolution
 
  chown -R www.www /opt/b2evolution
   
  chmod 755 /opt/b2evolution
 
  chmod 755 /opt/b2evolution
  

Navigation menu