วันเสาร์ที่ 11 มิถุนายน พ.ศ. 2554

การติดตั้ง Squid Proxy Server

 
  1. Download software จากอินเตอร์เน็ต
  2. ขยาย Zip ไฟล์ ลงที่ Drive C: (c:\squid)
  3. ก็อปปีไฟล์ (c:\squid\etc)



  squid.conf.default > squid.conf
 

  mime.conf.default > mime.conf
 

   4. รันคำสั่งเพื่อติดตั้งใน Windows Service


  cd c:\squid\sbin


  squid -i


  squid -i [-f configfile] [-n servicename]


  (installs the servicename Squid service using the

  configfile configuration file, default configfile is 

  "c:/squid/etc/squid.conf", default servicename is 

  "SquidNT")


  5. รันคำสั่งเพื่อสร้าง cache directories

   squid -z
   squid -z [-f configfile]

   (creates the cache directories)

  6. เปิด Windows Service เพื่อตรวจสอบว่ามี SquidNT 
    service ติดตั้งลงไปหรือยัง
   7. เปิด Internet Explorer > Tools > Interne > Options… > Connections > LAN Setting > Proxy Server
   8. ช่อง Address: IP address ของ Squid Server
   9. ช่อง Port: 3128  

ไม่มีความคิดเห็น:

แสดงความคิดเห็น