LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 08-30-2006, 02:39 AM   #1
bradsmiley
Member
 
Registered: Aug 2006
Posts: 37

Rep: Reputation: 15
setup AWstats on CENTOS(linux)


Hi,

i have been trying to setup my web server with CENTOS, PHP, MYSQL, PHPMYADMIN, AWSTATS, VSFTPD for the past week and a half and have only managed to get centos and PHP set up.

I am constandtly finding problems with the setup of any application.
Can someone give me instucions on installing and seeting up AWSTATS on a linux (CentOS) web server.

thanks
kind regards
Bradley
 
Old 08-30-2006, 10:53 AM   #2
blankbmx
LQ Newbie
 
Registered: Aug 2006
Distribution: Debian/CentOS
Posts: 23

Rep: Reputation: 15
Check out this site: http://dag.wieers.com/home-made/apt/
Add the DAG repository to your yum.repos.d folder, and run
Code:
# yum install awstats
This will install the following:
awstats.noarch 6.5-1.2.el4.rf dag

viola, you are ready to go.
 
Old 08-30-2006, 11:05 AM   #3
blankbmx
LQ Newbie
 
Registered: Aug 2006
Distribution: Debian/CentOS
Posts: 23

Rep: Reputation: 15
To be even more specific, add these lines to a new file call "/etc/yum.repos.d/dag.repo":
Code:
[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
enabled=1
This works very well for me and I am running CentOS 4.3.
 
Old 08-30-2006, 02:26 PM   #4
bradsmiley
Member
 
Registered: Aug 2006
Posts: 37

Original Poster
Rep: Reputation: 15
I did the yum install awstats, and it progressed to search, download and install the program but it stopped, as follows:
[root@localhost ~]# yum install awstats
Setting up Install Process
Setting up repositories
update 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
http://ftp.udl.es/pub/centos/4.4/add...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 6.8 kB 00:00
update : ################################################## 18/18
Added 2 new packages, deleted 245 old in 0.20 seconds
primary.xml.gz 100% |=========================| 569 kB 00:09
base : ################################################## 1500/1500
Added 471 new packages, deleted 420 old in 5.13 seconds
primary.xml.gz 100% |=========================| 25 kB 00:00
extras : ################################################## 95/95
Added 0 new packages, deleted 127 old in 0.18 seconds
Parsing package install arguments
No Match for argument: awstats
Nothing to do
 
Old 08-30-2006, 02:58 PM   #5
blankbmx
LQ Newbie
 
Registered: Aug 2006
Distribution: Debian/CentOS
Posts: 23

Rep: Reputation: 15
You have not set up the DAG Yum Repository yet. Do this:

Code:
# rpm -Uhv http://dag.wieers.com/packages/rpmforge-release/rpmforge-release-0.3.4-1.rh7.rf.i386.rpm
# vi /etc/yum.repos.d/dag.repo
When the VI editor comes up, press "i" to enter insert mode, and enter the following information:
Code:
[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
enabled=1
then try the "yum install awstats" again.

You have to do this so that Yum will search the DAG repository, and not just the standard repositories that are configured during installation.
 
Old 08-30-2006, 03:04 PM   #6
blankbmx
LQ Newbie
 
Registered: Aug 2006
Distribution: Debian/CentOS
Posts: 23

Rep: Reputation: 15
You will then see something like
"dag 100% |=========================| "
when you run yum install awstats.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Need to setup a subdomain in Tomcat 5.5.9 CentOS 4.2 thedonkdonk Linux - General 2 09-27-2006 09:41 AM
setup PHPMYADMIN on CENTOS bradsmiley Linux - Server 1 08-30-2006 03:10 AM
Initial setup of Cyrus on CentOS 4.2 jjrowan cAos 0 01-13-2006 01:12 PM
AWstats setup on tinysofa tommytomato Linux - Newbie 4 10-24-2004 12:45 PM
Setup Crontab for AWSTATS hct224 Linux - Newbie 0 02-28-2004 11:34 AM


All times are GMT -5. The time now is 05:02 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration