Squid For Windows
Squid For Windows
Squid.conf
dns_nameservers 202.73.99.8 61.247.0.8 202.162.220.110
Pada contoh diatas, port http default 3128 telah diubah menjadi 8080
http_port 8080
squid –z [enter]
Tampilan di prompt
C:\squid\sbin>squid -z
2009/03/25 11:45:30| Creating Swap Directories
squid –d 1 –D [enter]
Tampilan di prompt
C:\squid\sbin> squid –d 1 –D
2009/03/25 23:11:42| Starting Squid Cache version 2.7.STABLE6 for i686-pc-winnt...
2009/03/25 23:11:42| Running on Windows XP
2009/03/25 23:11:42| Process ID 2976
2009/03/25 23:11:42| With 2048 file descriptors available
2009/03/25 23:11:42| With 512 CRT stdio descriptors available
2009/03/25 23:11:42| Windows sockets initialized
2009/03/25 23:11:42| Using select for the IO loop
2009/03/25 23:11:42| DNS Socket created at 0.0.0.0, port 4947, FD 4
2009/03/25 23:11:42| Adding nameserver 202.73.99.8 from squid.conf
2009/03/25 23:11:42| Adding nameserver 61.247.0.8 from squid.conf
2009/03/25 23:11:42| Adding nameserver 202.162.220.110 from squid.conf
2009/03/25 23:11:42| User-Agent logging is disabled.
2009/03/25 23:11:42| Referer logging is disabled.
2009/03/25 23:11:42| logfileOpen: opening log c:/squid/var/logs/access.log
2009/03/25 23:11:42| Unlinkd pipe opened on FD 7
2009/03/25 23:11:42| Swap maxSize 102400 + 8192 KB, estimated 0 objects
2009/03/25 23:11:42| Target number of buckets: 425
2009/03/25 23:11:42| Using 8192 Store buckets
2009/03/25 23:11:42| Max Mem size: 8192 KB
2009/03/25 23:11:42| Max Swap size: 102400 KB
2009/03/25 23:11:42| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2009/03/25 23:11:42| logfileOpen: opening log c:/squid/var/logs/store.log
2009/03/25 23:11:42| Rebuilding storage in c:/squid/var/cache (CLEAN)
2009/03/25 23:11:42| Using Least Load store dir selection
2009/03/25 23:11:42| Set Current Directory to c:/squid/var/cache
2009/03/25 23:11:42| Loaded Icons.
2009/03/25 23:11:42| Accepting proxy HTTP connections at 0.0.0.0, port 8080, FD13.
2009/03/25 23:11:42| Accepting ICP messages at 0.0.0.0, port 3130, FD 14.
2009/03/25 23:11:42| Accepting HTCP messages on port 4827, FD 15.
2009/03/25 23:11:42| Accepting SNMP messages on port 3401, FD 16.
2009/03/25 23:11:42| Ready to serve requests.
2009/03/25 23:11:42| Done reading c:/squid/var/cache swaplog (0 entries)
2009/03/25 23:11:42| Finished rebuilding storage from disk.
2009/03/25 23:11:42| 0 Entries scanned
2009/03/25 23:11:42| 0 Invalid entries.
2009/03/25 23:11:42| 0 With invalid flags.
2009/03/25 23:11:42| 0 Objects loaded.
2009/03/25 23:11:42| 0 Objects expired.
2009/03/25 23:11:42| 0 Objects cancelled.
2009/03/25 23:11:42| 0 Duplicate URLs purged.
2009/03/25 23:11:42| 0 Swapfile clashes avoided.
2009/03/25 23:11:42| Took 0.3 seconds ( 0.0 objects/sec).
2009/03/25 23:11:42| Beginning Validation Procedure
2009/03/25 23:11:42| Completed Validation Procedure
Instalasi Squid di Windows XP
Lalu, Ctrl-C
Tampilan di prompt
2009/03/25 23:13:08| Preparing for shutdown after 0 requests
2009/03/25 23:13:08| Waiting 0 seconds for active connections to finish
2009/03/25 23:13:08| FD 13 Closing HTTP connection
2009/03/25 23:13:08| Shutting down...
2009/03/25 23:13:08| FD 14 Closing ICP connection
2009/03/25 23:13:08| FD 15 Closing HTCP socket
2009/03/25 23:13:08| FD 16 Closing SNMP socket
2009/03/25 23:13:08| Closing unlinkd pipe on FD 7
2009/03/25 23:13:08| storeDirWriteCleanLogs: Starting...
2009/03/25 23:13:08| Finished. Wrote 0 entries.
2009/03/25 23:13:08| Took 0.0 seconds ( 0.0 entries/sec).
2009/03/25 23:13:08| logfileClose: closing log c:/squid/var/logs/store.log
2009/03/25 23:13:08| logfileClose: closing log c:/squid/var/logs/access.log
2009/03/25 23:13:08| Squid Cache (Version 2.7.STABLE6): Exiting normally.
sumber:
http://tinyurl.com/dmvt5z
http://tinyurl.com/cgtzud