# ray16

*—–h—————|—–7———–g—–>*

# ray16 RSS Feed
 

Archive for Computer

awstats di backtrack 4

root@bt:~# apt-get install awstats

edit konfigurasi awstats (gw edit yang simple aja, so lo bisa terserah edit deh kalo banyak waktu)

root@bt:~# nano /etc/awstats/awstats.conf

edit jadi:

LogFile="/var/log/apache2/access.log"
SiteDomain="gxrg.org"

jalanin script perl update

root@bt:~# perl /usr/lib/cgi-bin/awstats.pl -update -config=gxrg.org
Create/Update database for config "/etc/awstats/awstats.conf" by AWStats version 6.7 (build 1.892)
From data in log file "/var/log/apache2/access.log"...
Phase 1 : First bypass old records, searching new record...
Direct access after last parsed record (after line 241950)
Jumped lines in file: 241950
 Found 241950 already parsed records.
Parsed lines in file: 2822
 Found 0 dropped records,
 Found 0 corrupted records,
 Found 0 old records,
 Found 2822 new qualified records.

buat dan edit file awstats untuk aliases apache2

root@bt:~# nano /etc/apache2/conf.d/awstats

copy paste text ini

Alias /awstatsclasses "/usr/share/awstats/lib/"
Alias /awstats-icon/ "/usr/share/awstats/icon/"
Alias /awstatscss "/usr/share/doc/awstats/examples/css"
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
ScriptAlias /awstats/ /usr/lib/cgi-bin/
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch

<Directory "/usr/share/awstats/">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>

sip tinggal lo jalanin pake cron setiap 1 jam sekali biar awstats update stats apache

root@bt:~# crontabe -e

tambahin baris

@hourly /usr/lib/cgi-bin/awstats.pl -update -config=gxrg.org >/dev/null

akses awstats di http://domain/awstats/awstats.pl

Good Luck! ;p


## E O F
/* Wanna Share? */
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • email
  • PDF
  • Slashdot
  • StumbleUpon
  • Technorati
  • BarraPunto
  • Bitacoras.com
  • HackerNews
  • Ping.fm
  • Reddit
  • RSS
  • Twitter
  • Yahoo! Bookmarks
  • Yahoo! Buzz
  • BlinkList
  • blogmarks
  • Blogosphere News
  • blogtercimlap
  • connotea
  • Current
  • Design Float
  • Diigo
  • DotNetKicks
  • DZone
  • eKudos
  • Fark
  • Faves
  • Fleck
  • FriendFeed
  • FSDaily
  • Global Grind
  • Gwar
  • Haohao
  • HealthRanker
  • HelloTxt
  • Hemidemi
  • Hyves
  • Identi.ca
  • IndianPad
  • Internetmedia
  • Sphinn
  • Suggest to Techmeme via Twitter
  • ThisNext
  • Tipd
  • Tumblr
  • Upnews
  • Webnews.de
  • Webride
  • Wikio
  • Wikio FR
  • Wikio IT
  • Wists
  • Wykop
  • Xerpi
  • Yigg
  • Kirtsy
  • laaik.it
  • LinkaGoGo
  • LinkArena
  • LinkedIn
  • Linkter
  • Live
  • Meneame
  • MisterWong
  • MisterWong.DE
  • Mixx
  • MSN Reporter
  • muti
  • MyShare
  • MySpace
  • N4G
  • Netvibes
  • Netvouz
  • NewsVine
  • NuJIJ
  • Posterous
  • Propeller
  • Ratimarks
  • Rec6
  • Scoopeo
  • Segnalo
  • Simpy
  • Socialogs
  • SphereIt
  • Add to favorites
  • Blogplay
  • Diggita
  • LaTafanera
  • MOB
  • QQ书签
  • SheToldMe
  • viadeo FR
  • 豆瓣
  • 豆瓣九点

error install apt-get bt4

kalo ada error saat install / upgrade :

Errors were encountered while processing: /var/cache/apt/archives/linux-image-2.6.34_2.6.34-10.00.Custom-bt8_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) 

yang mengharuskan kita untuk install secara -f, fix nya:

root@bt:~# dpkg -i --force-overwrite /var/cache/apt/archives/linux-image-2.6.34_2.6.34-10.00.Custom-bt8_i386.deb 

atau kalo mau clean (semua kernel di upgrade ke kernel terbaru bt yaitu: 2.6.34 kita command

root@bt:~# apt-get remove --purge 2.6.30*
root@bt:~# apt-get update
root@bt:~# apt-get install linux-image 

Good Luck!


## E O F
/* Wanna Share? */
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • email
  • PDF
  • Slashdot
  • StumbleUpon
  • Technorati
  • BarraPunto
  • Bitacoras.com
  • HackerNews
  • Ping.fm
  • Reddit
  • RSS
  • Twitter
  • Yahoo! Bookmarks
  • Yahoo! Buzz
  • BlinkList
  • blogmarks
  • Blogosphere News
  • blogtercimlap
  • connotea
  • Current
  • Design Float
  • Diigo
  • DotNetKicks
  • DZone
  • eKudos
  • Fark
  • Faves
  • Fleck
  • FriendFeed
  • FSDaily
  • Global Grind
  • Gwar
  • Haohao
  • HealthRanker
  • HelloTxt
  • Hemidemi
  • Hyves
  • Identi.ca
  • IndianPad
  • Internetmedia
  • Sphinn
  • Suggest to Techmeme via Twitter
  • ThisNext
  • Tipd
  • Tumblr
  • Upnews
  • Webnews.de
  • Webride
  • Wikio
  • Wikio FR
  • Wikio IT
  • Wists
  • Wykop
  • Xerpi
  • Yigg
  • Kirtsy
  • laaik.it
  • LinkaGoGo
  • LinkArena
  • LinkedIn
  • Linkter
  • Live
  • Meneame
  • MisterWong
  • MisterWong.DE
  • Mixx
  • MSN Reporter
  • muti
  • MyShare
  • MySpace
  • N4G
  • Netvibes
  • Netvouz
  • NewsVine
  • NuJIJ
  • Posterous
  • Propeller
  • Ratimarks
  • Rec6
  • Scoopeo
  • Segnalo
  • Simpy
  • Socialogs
  • SphereIt
  • Add to favorites
  • Blogplay
  • Diggita
  • LaTafanera
  • MOB
  • QQ书签
  • SheToldMe
  • viadeo FR
  • 豆瓣
  • 豆瓣九点