The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-21-2008
jasonfrost jasonfrost is offline
Registered User
  
 

Join Date: Aug 2007
Location: Ohio
Posts: 5
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.
  #2 (permalink)  
Old 07-22-2008
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
  
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,318
You don't need the "install" switch, just "pkg_add -r awstats" -r flag means remote fetch.
  #3 (permalink)  
Old 07-22-2008
jasonfrost jasonfrost is offline
Registered User
  
 

Join Date: Aug 2007
Location: Ohio
Posts: 5
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>

*****************************************************************
  #4 (permalink)  
Old 08-18-2008
_R3d _R3d is offline
Registered User
  
 

Join Date: Jul 2006
Posts: 73
looks like it. just make sure all the paths match up.
Closed Thread

Bookmarks

Tags
apache, awstats, freebsd, pkg_add

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:31 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0