웹마스터 팁

1. awstats 설치

# yum install awstats
* 패키지가 없을경우 epel repo 를 추가합니다.

2. conf 파일 수정하기

# vi /etc/awstats/awstats.세팅할도메인주소.conf
Lang="ko"
LogFile="/var/log/httpd/access_log" // 로그파일 주소가 다를경우 거기에 맞게 수정

3. crontab 에 스케쥴러 추가

# crontab -e
*/5     *       *       *       *       /usr/share/awstats/tools/awstats_updateall.pl now -confdir="/etc" -awstatsprog="/var/www/awstats/awstats.pl"

4. 아이피의 국가별 구문을 위해 geoip 설정

# yum install geoip perl-Geo-IP
# mkdir /usr/local/geo
# cd /usr/local/geo
# wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
# wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
# gzip -d GeoIP.dat.gz
# gzip -d GeoLiteCity.dat.gz
# vi /etc/awstats/awstats.도메인.conf

LoadPlugin="geoip GEOIP_STANDARD /usr/share/GeoIP/GeoIP.dat"
LoadPlugin="geoip_city_maxmind GEOIP_STANDARD /usr/local/geo/GeoIPCity.dat"

/usr/share/awstats/tools/awstats_updateall.pl now -confdir="/etc" -awstatsprog="/var/www/awstats/awstats.pl"

5. 아파치 설정파일 수정

# vi /etc/httpd/conf.d/awstats.conf
Allow from 127.0.0.1 을 Allow from All 로 수정

6. 접속

http://도메인/awstats/awstats.pl

제목 글쓴이 날짜
푸시알림 앱 소개 pushbullet 안드로이드와 아이폰, 데스크탑까지 되면서 공짜!! garnecia 2015.05.28
(version 1.6)새글과 새댓글을 알림받는 앱을 직접 만들어보세요(XE 홈페이지와 연동되는 GCM을 이용한 푸시 안드로이드 앱 만들기 가이드-XE 알림센터 연동) [23] 단희아빠 2015.03.21
네이버맵 좌표(Lat, Lng) 검색기 YJHOON 2015.05.27
공지목록의 추출기준을 문서번호가 아니라 글순서로 변경 sejin7940 2015.05.26
설문조사 컴퍼넌트의 종료일 관련 버그 수정 sejin7940 2015.05.26
외부이미지 링크 + 고해상도 이미지 섬네일 생성 팁 socialskyo 2015.05.26
XE Core 안정된 버젼 좀 알려주세요.. [1] 팔도준 2015.05.26
자바로 스크롤 구현 [1] 착한동구 2015.05.25
레이어형 로그인 사용시에 SSL 적용방법 (선택적 사용시) [1] 불금 2015.05.20
모바일뷰 사용 안 할때 (반응형등) 에도 '모바일에서 최적화된 화면으로 보기' 가 나오는 버그 패치 sejin7940 2015.04.10
XE 템플릿 문법 : 조건부 class 작성하기 AJKJ 2015.05.23
추천수로 제목에 효과주기 [15] こさき! 2014.04.29
확장 컴포넌트 밖으로 뺀 후 완전한 버튼화 [1] file 키스미베이베 2015.05.20
RSS 게시판 업데이터 모듈이 SSL 부분적용시 동작하지 않는 문제 해결하기 [25] Gunmania 2013.02.25
플렛모바일 네이버로 로그인하기 버튼 file LI-NA 2015.05.17
오늘 작성된 게시글수 [2] file kdp 2015.05.07
확장변수(textarea)에서 html 사용하기 [3] 하늘종 2010.11.01
선택된 카테고리의 공지글들만 나타나게 하는 팁 [1] sejin7940 2012.04.02
XE 외부페이지 직접접속 차단 및 다국어 설정팁 [4] 라르크앙시엘 2012.01.01
통합게시판 만들기 [30] Lansi 2013.10.20