เกิดเป็นคน ต้องมีน้ำใจ
เกิดเป็นไทย ต้องรักชาติ
มีอำนาจ ต้องเป็นธรรม

    Microsoft Network Monitor นั้นทำงานเหมือนกับโปรแกรม Ethereal เป็นโปรแกรมที่ทำหน้าคอยจับ Packet ที่ติดต่อกันระหว่าง Network และสามารถปรับปรุง Address ต่างๆให้เข้าใจได้ง่ายขึ้น การใช้งานแนะนำให้ไปดักจับ Packet ได้ที่ ISA Server หรือ Proxy Server หรือการทำ Port Mirror ซึ่งต้องให้ Switch นั้นรองรับด้วย ส่วนความแตกต่างระหว่าง Microsoft Network Monitor กับ Ethereal ต่างกันเพียงแต่ว่าโปรแกรมนี้เป็นของ Microsoft และมัน ฟรี!

โปรแกรมดู Logs files จาก Squid 

1. Lightsquid 1.7.1_1

bansang#cd /usr/ports/www/lightsquid
bansang#make install clean
bansang#cd /usr/local/www/lightsquid

 
ตั้งค่าให้ .cgi และ perl ทำงาน
bansang# chmod +x *.cgi
bansang# chmod +x *.pl

bansang#pico  /usr/local/etc/lightsquid/lightsquid.cfg   
แก้ไขรายการ ดังนี้

#path to tpl folder
$tplpath             ="/usr/local/www/lightsquid/tpl";
#path to lang folder
$langpath            ="/usr/local/www/lightsquid/lang";
#path to report folder
$reportpath          ="/usr/local/www/lightsquid/report";
#path to access.log
$logpath             ="/usr/local/squid/logs"; ## ที่อยู่ log Files

บางท่านที่เป็น Admin คงเคยใช้งาน MRTG หรือ Cacti เพื่อตรวจสอบ Traffic การใช้งานของ Router หรือ อุปกรณ์ Network ต่างๆ ซึ่งใช้ RDD Tool ในการสร้างกราฟในการแสดงผลมาบ้าง ในบทความนี้จะของนำเสนอ Munin ซึ่งเป็นเครื่องมือที่ช่วยในการติดตามสถานะของเครื่อง Server และนำเสนอในรูปแบบของกราฟ เพื่อใช้ในการติดตามว่าเครื่อง Server ของเรานั้นทำงานยังสามารถรองรับการทำงานไหวหรือไม่ มีสิ่งบอกเหตุว่าจะเกิดปัญหาหรือเปล่า เช่น CPU Load มากกว่าปกติ และควรจะ Upgrade ได้หรือยัง

 

 

ติดตั้ง FreeBSD แบบ minimal ให้เรียบร้อย อย่าลืมติดตั้ง port กับ sys kernel ด้วย แล้วมาติดตั้ง FAMP

1. MySQL51-SERVER

cd /usr/ports/databases/mysql51-server
make install

echo 'mysql_enable="YES"' >> /etc/rc.conf
cp /usr/local/share/mysql/my-medium.cnf /etc/my.cnf

2. Apache22

cd /usr/ports/www/apache22/
make  install clean
echo 'apache22_enable="YES"' >> /etc/rc.conf
echo ' apache22_flags="-DSSL"' >> /etc/rc.conf
echo 'accf_http_ready="YES"' >> /etc/rc.conf && kldload accf_http

pico  /usr/local/etc/apache22/httpd.conf   ค้นหา

# Secure (SSL/TLS) connections
Include etc/apache22/extra/httpd-ssl.conf << เอา # ออก

Calendar

ล็อกอิน

สมาชิกใหม่

  • ปัตตานี
  • sadis
  • Jameball
  • andy99
  • pook