Web Services
  Home arrow Web Services arrow Page 2 - Blogging Away To Glory (A bBlog Primer...
Dev Shed Forums 
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Sun Developer Network 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Mobile Linux 
App Generation ROI 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WEB SERVICES

Blogging Away To Glory (A bBlog Primer)
By: Harish Kamath
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 2 stars2 stars2 stars2 stars2 stars / 26
    2004-12-15

    Table of Contents:
  • Blogging Away To Glory (A bBlog Primer)
  • Getting Started
  • Installation
  • bBlog Administration Overview
  • Managing The Blog
  • Dress Up Your Blog
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Blogging Away To Glory (A bBlog Primer) - Getting Started


    (Page 2 of 7 )

    In order to get started with bBlog, you'll need Apache installed with PHP (PHP version 4.1 or above), a MySQL database server (MySQL version 3.23 or above), the "Smarty" templates package (no reason to worry as it is available as a combined download with bBlog) and a copy of the latest release (currently bBlog version 0.7.4) of the package; you can download this release from http://www.bblog.com/download.php.

    Since the database should already exist before we install the application, we will need to create one - here, we recommend that you create a separate database (say "bBlog"), along with a special MySQL user having the appropriate permissions on this new database.

    So, start up a MySQL prompt on your console and execute the following commands.

    mysql> CREATE DATABASE `bBlog`;
    Query OK, 1 row affected (0.00 sec)

    This should create a database called "bBlog" - verify that the database has been created using the following command at the MySQL prompt.

    mysql> SHOW DATABASES LIKE 'bBlog';
    +------------------+
    | Database (bBlog) |
    +------------------+
    | bBlog            |
    +------------------+
    1 row in set (0.00 sec)

    After confirming that the "bBlog" database has been created, we proceed to create a MySQL user with appropriate permissions. Just a  little note before you execute the next command - be sure to change the password in the following SQL statement for obvious security reasons.

    mysql> GRANT SELECT ,  INSERT ,  UPDATE , DELETE , CREATE , DROP , INDEX , ALTER ON `bBlog`.* TO  "bbloguser"@"localhost" IDENTIFIED BY "password_comes_here";
    Query OK, 0 rows affected (0.03 sec)

    This should create a MySQL user with the username "bbloguser" with the appropriate permissions to manage our new "bBlog" database.

    Next, we have to identify the URL required to access our blog - this is critical since it dictates where we install bBlog. If you want our opinion, we recommend that you use an URL that reads like this: http://www.mysite.com/theblog/.

    There are other options available. For further details, please refer the installation guide at the following URL: http://www.bblog.com/wiki/index.php/Installation.

    Next, we uncompress the source archive under the root folder of the Apache Web server.

    $ cd /www/htdocs/

    $ tar -xzvf /tmp/bBlog-0.7.4.tar.gz

    This should create a directory named "blog" with the all required files.  Here is a quick view of some the files and folders that should be created on our Web server.

    blog
    |
    | --- README_UPGRADE.txt
    | --- archives.php
    + --- bblog
    | ------ BUGS.txt
    | ------ INSTALL.txt
    | ------ LICENCE.txt
    | ------ README-URLS.txt
    | ------ ...
    | ------ index.php
    | ------ install.php
    | ------ ...
    | --- htaccess-cleanurls
    | --- index.php
    | --- item
    | --- rss.php
    \ --- section

    You should immediately rename this "blog" folder to "theblog" so that the blog can be accessed using the URL - http://www.mysite.com/theblog/ - as discussed earlier. The following command should do what you need.

    $ mv blog theblog

    You'll need to take one final step before we move to the browser-based installation screen - file permissions. As is common with most web-based applications, certain files and folders should be writable by the Web server. In this case, the following commands should be sufficient.

    A little warning before executing these commands - they give blanket permission for the specified files to all users on your server. So, if you intend to host bBlog on a shared server, it would be wise to have a quiet chat with the server administrator on the best manner to enforce the required file permissions.

    $ cd theblog/bblog/

    $ chmod 777 cache/ cache/favorites.xml compiled_templates config.php

    That’s about it as far as pre-installation requirements of bBlog are concerned. In the next section, we shall guide you through its browser-based installation wizard - one feature which we feel makes it very user-friendly to install.

    More Web Services Articles
    More By Harish Kamath


       · any one know how to comvert bblog to use postgres instead of mysql?
       · Hey there,While there is no official support for any database other than MySQL,...
       · http://www.bblog.com/viewtopic.php?t=165
     

       

    WEB SERVICES ARTICLES

    - Dynamic Data Analysis on the Web-a Design Ap...
    - Use collection types with SOAP and JAX-RPC
    - Blogging Away To Glory (A bBlog Primer)
    - Introduction to Service Oriented Architectur...
    - Connecting Smart Devices on the Internet
    - An Embeddable Standards Compliant Web Servic...

     
    Application Delivery: Everything You Wanted to Know, but Didn`t Know You Needed to Ask
    A comprehensive guide to examining the topics of Wide-area Data Services and app....

     
    Best Practices: Safe and Secure Hardware Asset Recovery
    Companies increasingly must meet EPA and local requirements for the disposal of ....

     
    Managing SSL Security in Multi-Server Environments
    Read this white paper to learn how to simplify management of your organization's....

     
    Open Source Security Myths
    Open Source Software (OSS) is computer software whose source code is available t....

     
    Power and Cooling Capacity Management for Data Centers
    This paper describes the principles for achieving power and cooling capacity man....

     




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
    Stay green...Green IT