Keywords: blogs, oracle, blogs.oracle, blogging, bloggers
Description: Blogs.Oracle.Com - Seema's WebLog
A Java-based, lightweight, full-featured, multi-blog, multi-user weblog application software. This uses the file system as its content database so that you do not have to setup a database such as MySQL or Oracle.
- Install Web Server 7.0
- Download the latest Technology Preview release from here. Please refer this blog for detailed installation instructions.
c:\\> click on Start-> Programs-> Sun Microsystems -> Sun Web Server 7.0 -> Start Admin Server
where ws7-install-root is the location where you have installed Sun Java System Web Server 7.0 on your machine. The default installation location is either /sun/webserver7 or /opt/sun/SUNwbsvr7
% <ws7-install-root>/bin/wadm add-webapp –user=<admin-user-name> –password-file=<admin-password-file-path> --host=<hostname> --port=<admin-ssl-port> --config=<config-name> --vs=<vs-name> --uri=/blojsom <path to blojsom.war>
% <ws7-install-root>/bin/wadm deploy-config --user=admin –password-file=/admin.passwd --host=<hostname> --port=<admin-ssl-port> <config-name>
% /ws7/bin/wadm add-webapp –user=admin –password-file=/admin.passwd –host=localhost --port=8989 --config=test --vs=test --uri=/blojsom /app/blojsom.war
% /ws7/bin/wadm deploy-config --user=admin –password-file=/admin.passwd --host=localhost --port=8989 test
Configure the following configuration parameters in WEB-INF/blojsom.properties. For information on other parameters, refer to the User Guide.
Comma-separated list of users with blogs for this blojsom installation. This list will be used to initialize the individual blogs.
This option provides legacy blojsom (i.e. pre 2.0) installations a way of preserving their current installations. Set the name of the default user from one of the blog ids in the blojsom-users property. The default user will not have to enter their blog id in the URL for the blojsom installation to request their blog.
For example, http://localhost:8080/blojsom/blog/ would point to the blog of the default user where http://localhost:8080/blojsom/blog/david/ would point to the blog for the user david.
Directory that will be used for storing blogs (categories and entries) for each user. If this property begins with a <, blojsom assumes that a > will follow and uses the contents to retrieve a system property. After that it will append everything after the > and use that as the value for this parameter. For example:
would expand the
\* If you have added users to the blojsom-users property, you will need to create directories off the directory indicated in blojsom-configuration-base-directory for each of the users. It is recommended that you initially create another user and copy all of the directories and files from the default user directory into this new user's directory. You would then set the blojsom-default-user property to the appropriate user id you just created and remove the default user id from the blojsom-users configuration property. This allows you to keep the default user directory as a set of template directories and files when adding new users to your blojsom installation.
- Authorized users are added to an blog's WEB-INF/(blog-id)/authorization.properties file. The usernames and passwords in this file control the users that can access the individual blog either via the administration console or XML-RPC. The format of this file is as follows.
Each separate line represents an individual username and password combination. You may associate an e-mail address with the username by adding a "," and the username's e-mail address. The e-mail address is used to send the username an e-mail message if they forget their password. If the e-mail address is not present, the username is assumed to be associated with the blog owner and therefore an e-mail message in this case would be sent to the blog owner's e-mail address.
- Edit the permissions file located in WEB-INF/(blog-id)/permissions.properties. This file specifies the users permissions on the individual blog. The format of this file is as follows.
Each separate line represents an individual username and permission combination. The permissions page describes more on individual permissions for blojsom components.
- Configure the appropriate WEB-INF/(blog-id)/blog.properties file for your blog. This will need to be done for each of the users that you have indicated in the blojsom-users property. If you have setup a user to access the administration console, then you should only need to configure the blog-home property, after which you can configure the other properties through the administration console.
The following configuration parameters can be found in WEB-INF/(blog-id)/blog.properties. List of all the properties and additional information on installation and configuration can be found here.