How to setup awstats-Web Analyser

AWSTATS is an Apache log file analyzer that will show details about traffic to your web sites.

Setting up awstats guide

now run the awstats.pl script:
% cd /usr/share/awstats/wwwroot/cgi-bin/
% sudo perl awstats.pl -update -config=mysite

If all goes well, you should see something along the lines of:
Found 0 dropped records
Found 0 corrupted records,
Found 150 old records,
Fount 50 new qualified records.

…at the end of the update script output.

So, to do this with multiple domains, just repeat the steps above, making sure to make the appropriate changes to each domain…

This will hopefully create a config file fore each of your domains in /etc/awstats with the name awstats.web3us.com.

Subject: 

Add items to the Ubercart cart with custom forms

The request for more robust Ubercart add to cart forms comes up fairly regularly. People generally have in mind the sort of form that allows customers to specify quantities for a set of products and add them to the cart all at once. The request came up so often that I put a short explanation on how to accomplish this through a custom form into an FAQ post on Ubercart.org.

This article will walk through a very basic example of how you can use the Ubercart function uc_cart_add_item() in a custom form submit handler to add multiple items to the cart at once. This article assumes a basic knowledge of Drupal's Forms API. Code examples are from Drupal 6, but they are mostly applicable to Drupal 5 as well.

Subject: 

How to setup Home Video surveillance with IPcam webcam

When my sons IPod was taken from our house I decided it was time to setup video surveillance of our home.

I first select the IPcam FI8918w and have it FTP images to my Fedora server.

For my Android phones and Tablets IP Cam Viewer is a great application.  The pro version does support two way audio and cost $3.99

I found out that audio support on the Iphone is limited with this camera, the Baby monitor app does include audio but it costs $6.99.

To get audio to work with Firefox you must first download and install the Mozilla plugin from videolan.org as mentioned on this support page.

Subject: 

Galaxy Tab 10.1 Tips and Tricks

Most of my tips and tricks apply to all android devices and are listed on this page:

Galaxy Tab (and Android) Tips and Tricks.

Items I have found specific to the 10.1 are listed below.

Galaxy Tab 10.1 comparison to Galaxy Tab 7

Now that I have owned my new Galaxy Tab 10.1 for two weeks it is time to compare it to the original Galaxy Tab I have owned since the day they went on sale last November. 

The screen and really pretty and the case is really thin and slick.  The screen is really to big to hold in one hand, it is like the Ipad in that you need two hands or one hand plus your lap or something to hold it.

Subject: 

Galaxy Tips for New Owners

News: Samsung Galaxy S III phone is on sale now for all 5 US carriers, I have pre-ordered mine and will soon have tips for it as well.

Galaxy 10.1 Tips

I bought my wife a Galaxy 10.1 WiFi for home use, but for out on the town my 7 inch with 3G service is the way to go.  I find I use about 300 MB per month over the 3G the rest is WiFi at home or work.  Check out the Galaxy 10.1 Tips page.

Galaxy 7 and General Tips

I bought a Verizon Samsung Galaxy Tab on the first day they went on sale, and the next morning I left on a one week vacation with only the Tab, no laptop.  Here are some tips and tricks and other things I have learned:

Subject: 

NSS_Initialize failed when starting Apache httpd

I got the following error in /var/log/httpd/error_log when trying to start httpd on Fedora11 64 bit:

NSS_Initialize failed. Certificate database: /etc/httpd/alias.
SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED

Which led me to discover the file /etc/httpd/install.log

############################################
Generating new server certificate and key database.
############################################
/usr/sbin/gencert: line 91: /usr/bin/certutil: No such file

I found I needed to install certutil by typing

yum install nss-tools*

Then I ran

/usr/sbin/gencert /etc/httpd/alias

Subject: 

Oracle XE with PHP

Oracle XE

Installation

  1. DownLoad and install the Oracle XE rpm
  2. As root run /etc/init.d/oracle-xe configure
    • Answer the configuration questions, remember the password.
  3. Open your browser to 127.0.0.1:8080/apex
  4. Start the enterprise manager control agent type: emctl start
  5. Start the enterprise manager dbconsole  type: emctl start dbconsole

Getting started

Tuning

Subject: 

Pages

Subscribe to Front page feed