Archive for July 8, 2010
linux查看系统版本和系统位数
1. uname -a you will view kernel name、network node hostname、kernel release、kernel version、machine hardware name、processor type 、hardware platform、operating system 2. cat /proc/version his file will not show you the name of the actual OS release, but will instead give you specifics about the version of Linux kernel used in your distribution, and confirm the version of [...]
[转]SQUID FOR WIN + DNSPOD 搭建CDN服务器手记
呵呵,今天没事做,学了下搭建CDN,先用公司的一个域名试了一下,成功.www.uduu.sh.cn 说名一下,www.uduu.sh.cn主服务器IP为61.129.33.42为上海电信 因为中国网络问题,一些网通用户访问速度较慢, 所以,我选择了用大连网通服务器做CDN,服务器IP为218.61.10.172 也就是 主服务器:61.129.33.42 CDN服务器:218.61.10.172 首先下载squid for windows安装包 squid-2.7.STABLE5-bin.zip 然后解压缩,放到C盘squid目录内. 进入目录C:\squid\etc内,将所有文件的.default全部删掉 编辑下squid.conf,将所有内容删掉,替换以下内容,并保存 http_port 80 vhost vport=80 acl apache rep_header Server ^Apache broken_vary_encoding allow apache cache_mem 1024 MB maximum_object_size 4096 KB minimum_object_size 0 KB maximum_object_size_in_memory 256 KB cache_dir ufs c:/squid/var/cache 40960 16 256 cache_swap_low 80 cache_swap_high 97 strip_query_terms off request_body_max_size 5 MB memory_pools on [...]
