Hadyai Internet R&D LAB
ผลงานของ Hadyai Internet R&D LAB => คุยกับทีมวิจัย => ข้อความที่เริ่มโดย: pphat21 ที่ 10 สิงหาคม 2008, 00:09:17
-
ถ้าเราติดตั้งเรียบร้อยแล้ว ต้องการให้โปรแกรมจัดเก็บ 90 วัน ต้องไปเซ็ตที่ไหน แล้วถ้าจะลบตัวที่เกิน 90 วันต้องทำอย่างไรบ้างครับ
-
version WebInterface เตรียมเรื่องนี้ไว้ให้แล้วครับ
-
ขอวิธีเซ็ตด้วยครับ
-
วิธีการติดตั้ง sarg นะครับ
ใช้คำสั่ง
apt-get install sarg
ก็เรียบร้อยแล้วครับ
ส่วนวิธีการ gen report ให้ใช้ Webmin เป็นตัวทำการสร้าง report ให้
และ URL สำหรับดู report ก็จะเป็น
http://server-ip/squid-reports/
ลองศึกษาดูครับ
-
มันขึ้นมาว่า...
root@netcafe:~# apt-get install sarg
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package sarg is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package sarg has no installation candidate
root@netcafe:~#
แล้วพอเข้าไป
http://192.168.2.1/squid-reports/
มันก็...ดูไม่ได้ครับ
โปรดชี้แนะทีครับ
-
version WebInterface เตรียมเรื่องนี้ไว้ให้แล้วครับ
แล้วเดือนใหนจะออกละท่านน่าจะบอก ประมาณเดือน ให้มีรุ้นบ้างนะครับจะได้มี แฮ ;D
-
ก่อนที่จะทำการ apt-get install sarg
ต้องใช้คำสั่ง apt-get update มาก่อนครับ ถึงจะ ติดตั้ง sarg ได้
แต่ท่าน admin ได้กล่าวไว้ว่า
เวอร๋ชั่นแผ่นใหม่ที่ได้รับจะทำการแก้ตัว LogFormat ทำให้ Sarg อ่านค่า Log ไม่ได้
ถ้าต้องการใช้ Sarg ให้เอา LogFormat ออก หรือไม่ก็สร้างเป็น LogFile 2 ไฟล์ก็ได้ครับ
-
ได้แล้วครับ ขอบคุณมากครับ