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 05:45 AM
How do you install... someone121 UNIX for Dummies Questions & Answers 3 02-01-2007 12:34 AM
Trying to install top dozy UNIX for Dummies Questions & Answers 1 02-03-2004 05:42 AM
Install Syed Haider UNIX for Dummies Questions & Answers 1 12-25-2002 04:41 AM
new install grep UNIX for Dummies Questions & Answers 3 12-05-2002 01:22 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
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 (permalink)  
Old 07-22-2008
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,128
You don't need the "install" switch, just "pkg_add -r awstats" -r flag means remote fetch.
Reply With Quote
  #3 (permalink)  
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 (permalink)  
Old 2 Weeks Ago
Registered User
 

Join Date: Jul 2006
Posts: 49
looks like it. just make sure all the paths match up.
Reply With Quote
Google UNIX.COM
Reply

Tags
apache, awstats, freebsd, pkg_add

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:48 PM.


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

Content Relevant URLs by vBSEO 3.2.0