Below you will find pages that utilize the taxonomy term “服务器”
November 7, 2008
搭建一个大型网站架构的实验环境(Squid缓存服务器篇)
"六、squid缓存服务器的配置 squid缓存服务器在这个实验环境中有两台(192.168.10.30,192.168.10.31)做成squid集群,我们首先安装一台,然后复制一台,再做配置,这样省事,哈! squid01服务器网络配置 # ee /etc/rc.conf ifconfig_lnc0=”inet 192.168.10.30 netmask 255.255.255.0″ defaultrouter=”192.168.10.10″ hostname=”squid01.rd.bj”\n# ee /etc/hosts 192.168.10.30 squid01.rd.bj # ee /etc/resolv.conf nameserver 192.168.10.40\n网络配置好后,我们开始安装squid,先把的藏身处找到: # whereis squid30 squid30: /usr/ports/www/squid30 # cd /usr/ports/www/squid30 # make config #配置安装选项 # make showconfig # …"