The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > BSD
Google UNIX.COM


BSD BSD, sometimes called Berkeley Unix, is a Unix operating system developed by the Computer Systems Research Group of the UC Berkeley.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Oracle 9i install: Error in invoking target install of makefile chris2005 HP-UX 5 02-21-2007 06:45 AM
How do you install... someone121 UNIX for Dummies Questions & Answers 3 02-01-2007 01:34 AM
Trying to install top dozy UNIX for Dummies Questions & Answers 1 02-03-2004 06:42 AM
Install Syed Haider UNIX for Dummies Questions & Answers 1 12-25-2002 05:41 AM
new install grep UNIX for Dummies Questions & Answers 3 12-05-2002 02:22 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 07-21-2008
Registered User
 

Join Date: Aug 2007
Location: Ohio
Posts: 3
can't install AWStats

I am running FreeBSD 6.3 and trying to install AWStats. I found this site with some instructions:

Installing AWStats on FreeBSD

however, the pkg install doesn't work. This is the error I get:

dl1-3# pkg_add install -r awstats
pkg_add: can't stat package file 'install'
pkg_add: can't stat package file '-r'
pkg_add: can't stat package file 'awstats'

I am running it as root.
Reply With Quote
Forum Sponsor
  #2  
Old 07-22-2008
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,200
You don't need the "install" switch, just "pkg_add -r awstats" -r flag means remote fetch.
Reply With Quote
  #3  
Old 07-22-2008
Registered User
 

Join Date: Aug 2007
Location: Ohio
Posts: 3
Quote:
Originally Posted by sysgate View Post
You don't need the "install" switch, just "pkg_add -r awstats" -r flag means remote fetch.
This is the output I get. Do I copy that entire thing and just paste it in the apache conf file? I don't understand.

Code:
dl1-3# pkg_add -r awstats
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/po...st/awstats.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/po...ois-0.90_4.tbz... Done.

*****************************************************************
Please add the following to your apache config, and restart.

#
# Directives to allow use of AWStats as a CGI
#
Alias /awstatsclasses "/usr/local/www/awstats/classes/"
Alias /awstatscss "/usr/local/www/awstats/css/"
Alias /awstatsicons "/usr/local/www/awstats/icons/"
ScriptAlias /awstats/ "/usr/local/www/awstats/cgi-bin/"

#
# This is to permit URL access to scripts/files in AWStats directory.
#
<Directory "/usr/local/www/awstats/">
    Options None
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

*****************************************************************
Reply With Quote
  #4  
Old 08-18-2008
Registered User
 

Join Date: Jul 2006
Posts: 55
looks like it. just make sure all the paths match up.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
apache, awstats, freebsd, pkg_add

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 02:21 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0