-
ببینید، این فایل در واقع یک راهنمای مفصل و جامع در خصوص برچسب هایی است که شما میتوانید در کانفیگ اسکوئیدتان بکار ببرید، سرویس اسکوئید با این فایل هم میتواند شروع به کار کند، اما هیچ کدام از برچسب های موجود؛ آنقدرها کارا نیستند، پیشنهاد میکنم از یکی از کانفیگ های موجود در فروم استفاده کنید؛ آن را به مرور تغییر داده و مطابق شبکه و نیاز های خود Customize کنید .
این تغییر شکل را فقط در صورتی میتوانید با موفقیت انجم دهید که محتوای همین فایلی که گذاشته اید را با دقت بخوانید .
منظور این نیست که حتما سطر به سطر بخونید، از هر برچسب، مثال اون رو بخونید و توضیح اینکه این برچسب چه وظیفه ای رو بر عهده داره .
-
من الان يه مشكل بزرگتر دارم و اون اينه كه من 3 تا اسكوئيد زبر را روي فدورا نصب كرده ام
همراه فدورا نصب شد squid3 stable2
بوسيله كد سورس نصب كردم squid3 stable13
squid 2.6 بوسيله كد سورس نصب كردم
حالا ميخوام همشونو پاك كنم از چه دستوري استفاده كنم در ضمن فدوراي من بصورت گرافيكي نصب شده
-
من اصلا فولدری به نام squid ندارم که بخوام برم فایل کانفیگش رو edit کنم.
من موقعه نصب از web server گزینه squid تیکش رو برداشتم.
و اومدم با سورس نصب کنم که فولدری ساخته نمیشه تو شاخه /etc .
حالا سوال من اینه که چرا این فولدر نصب نشده.
آیا نصب کردن این ورژن فرق داره.
ممنون میشم راهنمایی کنید.
-
در خصوص عزل کردن اسکوئید، و چندین نصبی که فرمایش دادید :
اولا باید به عرض برسونم که اگرچه شما از محیط گرافیک استفاده میکنید، اما تقریبا میشه گفت 90% کارهایی که انجام خواهید داد از محیط کنسول (Terminal) انجام میپذیرد .
در خصوص عزل نرم افزار ها؛ معمولا آخرین نسخه ای که نصب کرده اید بر روی سیستم برپا هست، با این وجود؛ در محیط ترمینال وارد کنید :
yum uninstall package
که در قسمت نام package میبایست نام نرم افزار مورد نظرتون رو وارد کنید .
در این رابطه پیشنهاد میکنم این مقاله رو هم مطالعه بفرمایید :
[url=http://fedoraforum.org/forum/showthread.php?t=25880]How to use YUM to install and uninstall packages - FedoraForum.org[/url]
اما در خصوص نصب اسکوئید 3
خیر قربان نصب هیچ تفاوتی نداره، به احتمال 99% شما هم مثل من خیلی از Package های فدورا رو نصب نکردین و حالا برای کامپایل کردن اسکوئید، نرم افزار به اونها احتیاج داره و مشکل ساز شده . از جمله این ابزار های مورد نیاز، make gcc c و ... هستند . یکی از کلیدی ترین ها ابزار C++ Compiler هست که پس از وارد کردن دستور configure/. به شما پیامی داده میشه که هیچ کامپایلری جهت کامپایل دیده نشد و احتمالا یکی از همون چرت و پرت ها از نظر شما دیده شده...
-
موقعه ای که من configure/.رو میزنم اینها رو میده :
در واقع خیلی زیاد بود فقط تونستم نصفش رو اینجا past کنم :
checking for uint64_t... yes
checking size of uint64_t... 8
checking for pad128_t... no
checking for upad128_t... no
checking for pid_t... yes
checking for size_t... yes
checking size of size_t... 4
checking for ssize_t... yes
checking for off_t... yes
checking size of off_t... 4
checking for mode_t... yes
checking for fd_mask... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for socklen_t... yes
checking for mtyp_t... no
checking for main in -lnsl... yes
checking for main in -lsocket... no
checking for unix domain sockets... yes
checking for main in -lgnumalloc... no
checking for main in -lmalloc... no
checking for main in -lbsd... yes
checking for main in -lregex... no
checking for gethostbyname in -lbind... no
checking for inet_aton in -lresolv... yes
checking for inet_aton in -l44bsd... no
checking for main in -lresolv... yes
checking for main in -lm... yes
checking for crypt in -lcrypt... yes
checking for MD5Init in -lmd5... no
checking for main in -llber... yes
checking if dbopen needs -ldb... yes
checking for backtrace_symbols_fd... yes
checking for bcopy... yes
checking for bswap_16... no
checking for bswap_32... no
checking for bswap16... no
checking for bswap32... no
checking for fchmod... yes
checking for getdtablesize... yes
checking for getpagesize... yes
checking for getpass... yes
checking for getrlimit... yes
checking for getrusage... yes
checking for getspnam... yes
checking for gettimeofday... yes
checking for glob... yes
checking for htobe16... no
checking for htole16... no
checking for kqueue... no
checking for lrand48... yes
checking for mallinfo... yes
checking for mallocblksize... no
checking for mallopt... yes
checking for memcpy... yes
checking for memmove... yes
checking for memset... yes
checking for mkstemp... yes
checking for mktime... yes
checking for mstats... no
checking for poll... yes
checking for prctl... yes
checking for pthread_attr_setschedparam... yes
checking for pthread_attr_setscope... yes
checking for pthread_setschedparam... yes
checking for pthread_sigmask... no
checking for putenv... yes
checking for random... yes
checking for regcomp... yes
checking for regexec... yes
checking for regfree... yes
checking for res_init... no
checking for __res_init... yes
checking for rint... yes
checking for sbrk... yes
checking for select... yes
checking for seteuid... yes
checking for setgroups... yes
checking for setpgrp... yes
checking for setrlimit... yes
checking for setsid... yes
checking for sigaction... yes
checking for snprintf... yes
checking for socketpair... yes
checking for srand48... yes
checking for srandom... yes
checking for statfs... yes
checking for strsep... yes
checking for strtoll... yes
checking for sysconf... yes
checking for syslog... yes
checking for timegm... yes
checking for vsnprintf... yes
checking for drand48... yes
checking for initgroups... yes
checking for strerror... yes
checking for tempnam... yes
checking for crypt... yes
checking for epoll_ctl in -lepoll... no
checking for epoll_ctl... yes
checking if epoll works... yes
Using epoll for the IO loop.
checking if setresuid is implemented... yes
checking if strnstr is well implemented... no
checking if va_copy is implemented... yes
checking if __va_copy is implemented... yes
checking if GNUregex needs to be compiled... no
checking Default FD_SETSIZE value... 1024
checking Maximum number of filedescriptors we can open... 1024
checking Default UDP send buffer size... 112640
checking Default UDP receive buffer size... 112640
checking Default TCP send buffer size... 16384
checking Default TCP receive buffer size... 87380
Limiting receive buffer size to 64K
checking if sys_errlist is already defined... no
checking for libresolv _dns_ttl_ hack... no
checking if inet_ntoa() actually works... "yes"
checking for working statvfs() interface... yes
checking for _res.nsaddr_list... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating scripts/Makefile
config.status: creating scripts/RunCache
config.status: creating scripts/RunAccel
config.status: creating src/Makefile
config.status: creating src/fs/Makefile
config.status: creating src/repl/Makefile
config.status: creating src/auth/Makefile
config.status: creating contrib/Makefile
config.status: creating snmplib/Makefile
config.status: creating icons/Makefile
config.status: creating errors/Makefile
config.status: creating test-suite/Makefile
config.status: creating doc/Makefile
config.status: creating helpers/Makefile
config.status: creating helpers/basic_auth/Makefile
config.status: creating helpers/basic_auth/LDAP/Makefile
config.status: creating helpers/basic_auth/MSNT/Makefile
config.status: creating helpers/basic_auth/NCSA/Makefile
config.status: creating helpers/basic_auth/PAM/Makefile
config.status: creating helpers/basic_auth/SMB/Makefile
config.status: creating helpers/basic_auth/mswin_sspi/Makefile
config.status: creating helpers/basic_auth/YP/Makefile
config.status: creating helpers/basic_auth/getpwnam/Makefile
config.status: creating helpers/basic_auth/multi-domain-NTLM/Makefile
config.status: creating helpers/basic_auth/SASL/Makefile
config.status: creating helpers/basic_auth/POP3/Makefile
config.status: creating helpers/basic_auth/DB/Makefile
config.status: creating helpers/basic_auth/squid_radius_auth/Makefile
config.status: creating helpers/digest_auth/Makefile
config.status: creating helpers/digest_auth/password/Makefile
config.status: creating helpers/digest_auth/ldap/Makefile
config.status: creating helpers/digest_auth/eDirectory/Makefile
config.status: creating helpers/ntlm_auth/Makefile
config.status: creating helpers/ntlm_auth/fakeauth/Makefile
config.status: creating helpers/ntlm_auth/no_check/Makefile
config.status: creating helpers/ntlm_auth/SMB/Makefile
config.status: creating helpers/ntlm_auth/SMB/smbval/Makefile
config.status: creating helpers/ntlm_auth/mswin_sspi/Makefile
config.status: creating helpers/negotiate_auth/Makefile
config.status: creating helpers/negotiate_auth/mswin_sspi/Makefile
config.status: creating helpers/negotiate_auth/squid_kerb_auth/Makefile
config.status: creating helpers/external_acl/Makefile
config.status: creating helpers/external_acl/ip_user/Makefile
config.status: creating helpers/external_acl/ldap_group/Makefile
config.status: creating helpers/external_acl/session/Makefile
config.status: creating helpers/external_acl/unix_group/Makefile
config.status: creating helpers/external_acl/wbinfo_group/Makefile
config.status: creating helpers/external_acl/mswin_ad_group/Makefile
config.status: creating helpers/external_acl/mswin_lm_group/Makefile
config.status: creating tools/Makefile
config.status: creating include/autoconf.h
config.status: executing depfiles commands
=== configuring in lib/libTrie (/root/squid-3.0.STABLE13/lib/libTrie)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local/squid' --cache-file=/dev/null --srcdir=.
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking dependency style of g++... gcc3
checking whether to enable maintainer-specific portions of Makefiles... no
checking for ranlib... ranlib
checking whether compiler accepts -fhuge-objects... no
checking for an ANSI C-conforming const... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
[root@Cacheserver squid-3.0.STABLE13]#
-
روی همین سیستم یکبار وارد کنید : updatedb و سپس وارد کنید : locate squid.conf ببینید چیزی یافت میشه ؟