SlideShare ist ein Scribd-Unternehmen logo
1 von 34
Downloaden Sie, um offline zu lesen
DNSPod               Squid                                    CDN


 Copyright   2007 Sam Wu, wuhongsheng.com. All rights reserved.




                           Page 1 of 34
DN SP OD                 SQU ID                                 C D N .....................................................................................................................1
     .............................................................................................................................................................................................2
     .............................................................................................................................................................................................3
1        CDN                    DNS .........................................................................................................................................................4
1.              CDN.........................................................................................................................................................................4
2.                 DNS                     DNSPOD.................................................................................................................................4

2                          ......................................................................................................................................................................6

3                               DNS.........................................................................................................................................................7
1. DNSPOD                        .................................................................................................................................................7
   A.Windows     .................................................................................................................................................................8
   B.Linux/Unix/Mac          .....................................................................................................................................................8
2.         DNS       DNSPOD .............................................................................................................................................9

4                                               .............................................................................................................................................. 10
1.                  .......................................................................................................................................................................... 10
2.                  .......................................................................................................................................................................... 18
3.                  .......................................................................................................................................................................... 18
4.LINUX                            ........................................................................................................................................................... 19
5.VIM                           .............................................................................................................................................................. 19
   A.                    ..................................................................................................................................................................... 20
   B.                    ..................................................................................................................................................................... 20
   C.                     .................................................................................................................................................................... 21
6.                          .................................................................................................................................................................. 21

5                                                     ........................................................................................................................................ 22

1.LINUX                                  .................................................................................................................................. 22
   A.                  .................................................................................................................................................... 22
   B.                          ............................................................................................................................................ 22
   C.                  .................................................................................................................................................... 22
   D.        configure                 .................................................................................................................................... 23
   E.                              ........................................................................................................................................ 23
   F.      make clean                             ......................................................................................................................... 23
2.                    ..................................................................................................................................................... 23
3.    SQUID             ................................................................................................................................................... 24

6                                            ................................................................................................................................................. 26

7                              ............................................................................................................................................................... 28

1.         HOSTS     .................................................................................................................................................................... 28
2.         SQUID ........................................................................................................................................................................ 28

8                                           .................................................................................................................................................. 33

1.       .......................................................................................................................................................................... 33
2.   SQUID ........................................................................................................................................................................ 33
3.   SQUID ........................................................................................................................................................................ 33
4.       SQUID................................................................................................................................................................ 34
5. SQUID                        ................................................................................................................................................... 34




                                                                                     Page 2 of 34
VeryCD
CDN


                                  Windows                     CentOS
Linux 5               Windows       Windows
Linux     Linux
                   Linux           FreeBSD     FreeBSD

                                                             Linux




              *   *
   1.         BBS
   2.




                                Page 3 of 34
1   CDN             DNS
1.         CDN
               CDN
     CDN                       CDN

                         CDN                                     CDN

                                             CDN

                           CDN


                                    CDN                    CDN
                                 CDN
                   CDN




2.                 DNS           DNSPod
        DNS                                                IP       DNS
              IP                                                  IP

     DNSPod                                         DNS           DNS
                   DNSPod
              DNSPod
                   DNSPod




                                     Page 4 of 34
Page 5 of 34
2



                                             P4               2G
     DVD R+                    CD-R 6
  DVD                      CD RW

                        CentOS     ISO


http://ftp.ncnu.edu.tw/Linux/CentOS/5.0/isos/i386/
http://ftp.cse.yzu.edu.tw/pub/CentOS/5.0/isos/i386/
http://ftp.cs.pu.edu.tw/Linux/CentOS/5.0/isos/i386/
http://ftp.tcc.edu.tw/Linux/CentOS/5.0/isos/i386/
http://mirror.mirr4u.com/centos/5.0/isos/i386/
http://mirror.tini4u.net/centos/5.0/isos/i386/
http://mirror.averse.net/centos/5.0/isos/i386/


CentOS-5.0-i386-bin-1of6.iso
…
CentOS-5.0-i386-bin-6of6.iso
      CD               6                                           DVD

CentOS-5.0-i386-bin-DVD.iso



            naizhao.com
                                     A                        B
     A                         B            CDN               B     A

     A          IP   1.1.1.1   B           IP     2.2.2.2

OK                                                      ISO
                     DNS




                                         Page 6 of 34
3                  DNS




1.   DNSPod




                  Page 7 of 34
A.Windows




B.Linux/Unix/Mac




                   Page 8 of 34
2.                DNS           DNSPod


                    DNS                               NS                        DNS                       TTL
                172800             48                                           TTL
                                                                       NS                48          48
                                                           DNS                                        A
                                                                   DNS                          47
          A                                                    *     *DNS
B                   DNS                                    B                *      *DNS
                  *    *DNS                       *        *
              DNS       48
                                  DNS                   2-3
                                                          DNS

                            DNS                                             TTL               3600
36000         10                                   10                DNS           DNS
               ADSL MODEM                                                          DNS
     10                                     DNS


                      DNS
      1.       DNS

      2.             DNS                                                    DNSPod       6 DNS
                                   4                                                      2
              diy.hichina.com           6


           DNSPod 6         DNS                                     .net    .com
      ns1.dnspod.net
      ns2.dnspod.net
      ns3.dnspod.net
      ns4.dnspod.net
      ns5.dnspod.net
      ns6.dnspod.net

                                                          ISO
                                                      Linux




                                                  Page 9 of 34
4
1.




         Page 10 of 34
Page 11 of 34
Page 12 of 34
Page 13 of 34
Page 14 of 34
Page 15 of 34
Page 16 of 34
Page 17 of 34
2.




3.




     Page 18 of 34
4.Linux




5.VIM




          Page 19 of 34
A.




B.




     Page 20 of 34
C.




6.

                                                        VIM
     CentOS                yum                         /etc/yum.repos.d/CentOS-Base.repo
         vi
     vi /etc/yum.repos.d/CentOS-Base.repo

                                             vi
     yum           mirrorlist=
                                         #               #mirrorlist=
                      vi                                     :%s/a/b/g                 a           b   g

     :%s/mirrorlist=/#mirrorlist=/g

                url          #baseurl=            #
     :%s/#baseurl=/baseurl=/g
       OK
                     centos                            be10.com          http://mirror.be10.com/
                                                      centos                                 url
     http://mirror.be10.com/centos/
     http://mirror.centos.org/centos/
                                             url              be10.com    centos.org
       centos.org        be10.com
     :%s/centos.org/be10.com/g

     yum update


                                                                  y
     y




                                             Page 21 of 34
5
                                                  Linux
                                                     Squid

1.Linux

A.
                  Windows

     Linux                                    Windows                   Linux

                                                                        zip rar
                rpm      redhat   suse                              deb debian ubuntu
                                                                                yum rpm            apt   deb


  tar.gz      tar.bz2


     yum install php (yum)
     apt-get install php5(apt)

     yum search php(yum)
     apt-cache search php(apt)



B.
                                                                                    1.
                configure         2.               make        3.               make install
     a.
               configure
                                                                        Makefile               Linux
                                                                                         configure

     b.
           configure                   Makefile

     c.
           make install



C.
                                            /usr/local                 php                 /usr/local/bin/php
php.ini                /usr/local/lib/php.ini                                              configure
  --prefix                                     prefix                   ./configure --

                                                    Page 22 of 34
prefix=/usr/local/php
/usr/local/php/bin/php /usr/local/php/lib/php.ini


D.                configure
             configure          --prefix             ./configure --help                          --
enable-    --with-                                      --disable- --without-



E.
     Linux               Windows                Windows                                 Linux

     yum remove php(yum)
     apt-get remove php5(apt)

                                                          make uninstall
                          make uninstall
                                  php                      mysql                      mysql
          php            mysql                      php              mysql
                                                          mysql      php              mysql



F.              make clean
     make clean
                      make install   make clean


2.
       Windows                                                             CPU
                    Windows
CPU                  Linux
                                                      CPU
          CPU

                          CPU

                                           export            CFLAGS        CXXFLAGS      configure
                         make

              Pentium 4 CPU                 Intel(R) Pentium(R) 4 CPU XXXXMHz                   cpu
family: 15 model: 0/1/2
    export CHOST="i686-pc-linux-gnu"
    export CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
    export CXXFLAGS="${CFLAGS}"




                                               Page 23 of 34
CPU
     cat /proc/cpuinfo


    processor      :0
    vendor_id       : AuthenticAMD
    cpu family      : 15
    model         : 47
    model name         : AMD Athlon(tm) 64 Processor 3200+
    stepping       :2
    cpu MHz          : 2000.336
    cache size     : 512 KB
    fdiv_bug       : no
    hlt_bug       : no
    f00f_bug        : no
    coma_bug          : no
    fpu        : yes
    fpu_exception : yes
    cpuid level : 1
    wp          : yes
    flags      : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush
mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm 3dnowext 3dnow up pni lahf_lm ts fid vid ttp tm
stc
    bogomips         : 4002.57

                                     AMD Athlon 64 3200+ CPU

     CPU                                         cpu family model


     http://gentoo-wiki.com/Safe_Cflags



3.       Squid


                    1024
1024           1024                                            Squid   Squid

                                a.              squid       squid
                         b.squid                                        squid   squid




     /usr/include/bits/typesizes.h
     /usr/include/linux/posix_types.h
        vi
     #define __FD_SETSIZE 1024
        1024      65536
               65536                            Linux

                                            Page 24 of 34
C/C++                        squid

                   ssh
                              (.profile .bash_rc)

                   pietty
                                      export


                     ulimit         ulimit




ulimit -Hs 65536
ulimit -n 65536

H                   s                n

                wget squid
wget http://www.squid-cache.org/Versions/v2/2.6/squid-2.6.STABLE13.tar.gz

wget   unix




                                         Page 25 of 34
6
              tar

    tar zxvf squid-2.6.STABLE13.tar.gz

                                    squid-2.6.STABLE13

    cd squid-2.6.STABLE13

       configure                          cflags               CPU intel core duo             cpu
family 6,model 14          http://gentoo-wiki.com/Safe_Cflags#Intel_Core_Solo.2FDuo


    CHOST="i686-pc-linux-gnu"
    CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
    CXXFLAGS="${CFLAGS}"

              export

    export CHOST="i686-pc-linux-gnu"
    export CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
    export CXXFLAGS="${CFLAGS}"

                                   env

                       configure                                 squid          /usr/local/squid


    ./configure --prefix=/usr/local/squid --enable-follow-x-forwarded-for --enable-storeio=aufs,ufs
--with-maxfd=65536 --with-pthreads --enable-dlmalloc --enable-poll --enable-stacktraces --enable-
removal-policies=heap,lru --enable-delay-pools

                                 ./configure --help
                            configure                ./
    configure          linux                                              ./
                                                    bin/run         ./bin/run
                                                      checking for …
                          configure

    config.status: creating tools/Makefile
    config.status: creating include/autoconf.h
    config.status: executing depfiles commands
    [root@cnc squid-2.6.STABLE13]#

                       make


    make[2]: Leaving directory `/root/squid-2.6.STABLE13/tools'
    make[1]: Leaving directory `/root/squid-2.6.STABLE13/tools'
    make[1]: Entering directory `/root/squid-2.6.STABLE13'

                                             Page 26 of 34
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/root/squid-2.6.STABLE13'
[root@cnc squid-2.6.STABLE13]#

                                              make install

make[2]: Leaving directory `/root/squid-2.6.STABLE13'
make[1]: Leaving directory `/root/squid-2.6.STABLE13'
[root@cnc squid-2.6.STABLE13]#

                                            error

  cflags
                               make clean             make              configure


           squid                                     /usr/local/squid

[root@cnc squid-2.6.STABLE13]# cd /usr/local/squid
[root@cnc squid]# ls -lh
total 72K
drwxr-xr-x 2 root root 4.0K Jul 7 02:27 bin
drwxr-xr-x 2 root root 4.0K Jul 7 02:27 etc
drwxr-xr-x 2 root root 4.0K Jul 7 02:27 libexec
drwx------ 2 root root 16K Jun 15 08:09 lost+found
drwxr-xr-x 3 root root 4.0K Jul 7 02:27 man
drwxr-xr-x 2 root root 4.0K Jul 7 02:25 sbin
drwxr-xr-x 4 root root 4.0K Jul 7 02:25 share
drwxr-xr-x 3 root root 4.0K Jul 7 02:25 var
[root@cnc squid]#

                       squid




                                     Page 27 of 34
7
1.        hosts
                                 squid   CDN                         squid    CDN
                                         squid
                          squid                       apache           web
                                                                     web

                            squid                                                           naizhao.com
     DNS                  squid                                          dns               naizhao.com
2.2.2.2  IP                                                  IP
                       1.1.1.1                                               naizhao.com          IP
1.1.1.1
                        IP                                      hosts                                     dns
             Windows                                       hosts         linux
             vim                                 dns                                              hosts
                                                  hosts
     linux        hosts            /etc/hosts              Windows


     1.1.1.1      naizhao.com www.naizhao.com cnc.naizhao.com

                                                 1.1.1.1

2.        squid
     squid                       /usr/local/squid/etc/squid.conf

                       squid
              rm           squid.conf
squid.conf.default                 linux                    apache                    .default

     squid.conf                          vi 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 /var/spool/squid 20480 16 256
     cache_swap_low 80
     cache_swap_high 97
     strip_query_terms off
     request_body_max_size 5 MB
     memory_pools on
     memory_pools_limit 50 MB
     access_log none
     cache_log /var/log/squid/cache.log

                                                     Page 28 of 34
cache_store_log none
pid_filename /var/run/squid.pid
hosts_file /etc/hosts
refresh_pattern ^ftp:        1440 20% 10080
refresh_pattern ^gopher:       1440 0%        1440
refresh_pattern -i naizhao.com        240 100% 1440 ignore-reload
refresh_pattern -i www.naizhao.com           240 100% 1440 ignore-reload
refresh_pattern -i .gif 180 20% 10080 override-expire ignore-reload reload-into-ims
refresh_pattern -i .jpg 180 20% 10080 override-expire ignore-reload reload-into-ims
refresh_pattern .                 120 50% 1440
acl all src 0.0.0.0/0.0.0.0
acl p-manager proto cache_object
acl s-localhost src 127.0.0.1/255.255.255.255
acl d-localhost dst 127.0.0.0/8
acl d-domains dstdomain .naizhao.com
acl p-ssl port 443 563
acl p-safe port 80 443 563
acl m-conn method CONNECT
acl m-purge method PURGE
acl n-maxconn maxconn 15
http_access allow p-manager s-localhost
http_access allow m-purge
http_access deny !p-safe
http_access deny m-conn !p-ssl
http_access deny n-maxconn
http_access allow p-manager
http_access allow d-domains
http_access deny all
http_reply_access allow all
acl r-url urlpath_regex realtime
cache deny r-url
icp_access allow all
follow_x_forwarded_for allow all
acl_uses_indirect_client offrange_offset_limit -1
dns_timeout 2 seconds
forward_timeout 10 seconds
connect_timeout 10 seconds
peer_connect_timeout 6 seconds
read_timeout 10 seconds
request_timeout 6 seconds
persistent_request_timeout 16 seconds
cache_mgr silence.z@gmail.com
cache_effective_user nobody
cache_effective_group nobody
visible_hostname cnc.naizhao.com
logfile_rotate 0
always_direct allow all
error_directory /usr/local/squid/share/errors/Simplify_Chinese
coredump_dir /var/spool/squid




                                       Page 29 of 34
cache_mem 1024 MB       squid                                          500M
                  2G                 1G squid

   cache_dir ufs /var/spool/squid 20480 16 256                            /var/spool/squid
   20G                   16                    256
                                                                  squid


   memory_pools_limit 50 MB


   cache_log /var/log/squid/cache.log log

   refresh_pattern -i naizhao.com      240 100% 1440 ignore-reload
   refresh_pattern -i www.naizhao.com        240 100% 1440 ignore-reload
   refresh_pattern -i .gif 180 20% 10080 override-expire ignore-reload reload-into-ims
   refresh_pattern -i .jpg 180 20% 10080 override-expire ignore-reload reload-into-ims

                                                             -i             naizhao.com .gif
      240                      1440


   acl d-domains dstdomain .naizhao.com
                      naizhao.com                         .           *.naizhao.com
                           naizhao.com                 www.naizhao.com

   cache_mgr silence.z@gmail.com

   cache_effective_user nobody
   cache_effective_group nobody
            squid                                           root                               linux
             root                                          root




   visible_hostname cnc.naizhao.com                                         squid


   coredump_dir /var/spool/squid         squid




            log                    log                  squid.conf

   mkdir /var/log/squid
   chown nobody:nobody /var/log/squid

    chown                                               squid             nobody    nobody
nobody:nobody


                                                 Page 30 of 34
squid                                         nobody:nobody

chown nobody:nobody /var/spool/squid

                                 ls -lh

ls -lh /var/spool/
……
drwxr-xr-x 3 nobody nobody 4.0K Jun 15 08:19 squid

                         squid                                          16                256
                                                squid

squid          /usr/local/squid/sbin                                         squid

./squid -h
Usage: squid [-hvzCDFNRYX] [-d level] [-s | -l facility] [-f config-file] [-u port] [-k signal]
     -d level Write debugging to stderr also.
     -f file Use given config-file instead of
              /usr/local/squid/etc/squid.conf
     -h        Print help message.
     -k reconfigure|rotate|shutdown|interrupt|kill|debug|check|parse
              Parse configuration file, then send signal to
              running copy (except -k parse) and exit.
     -s | -l facility
              Enable logging to syslog.
     -u port Specify ICP port number (default: 3130), disable with 0.
     -v        Print version.
     -z        Create swap directories
     -C        Do not catch fatal signals.
     -D         Disable initial DNS tests.
     -F        Don't serve any requests until store is rebuilt.
     -N         No daemon mode.
     -R        Do not set REUSEADDR on port.
     -S        Double-check swap during rebuild.
     -X         Force full debugging.
     -Y         Only return UDP_HIT or UDP_MISS_NOFETCH during fast reload.

               -z

./squid -z
2007/07/07 07:52:03| Creating Swap Directories

                                                                   ls /var/spool/squid


               squid




                                          Page 31 of 34
./squid -Nd 10

    2007/07/07 07:53:50| Starting Squid Cache version 2.6.STABLE13 for i686-pc-linux-gnu...
    2007/07/07 07:53:50| Process ID 3135
    2007/07/07 07:53:50| With 1024 file descriptors available
    2007/07/07 07:53:50| Using poll for the IO loop
    2007/07/07 07:53:50| Performing DNS Tests...
    2007/07/07 07:53:50| Successful DNS name lookup tests...
    2007/07/07 07:53:50| DNS Socket created at 0.0.0.0, port 1026, FD 4
    2007/07/07 07:53:50| Adding nameserver 211.147.6.3 from /etc/resolv.conf
    2007/07/07 07:53:50| Adding nameserver 61.233.9.9 from /etc/resolv.conf
    2007/07/07 07:53:50| Unlinkd pipe opened on FD 8
    2007/07/07 07:53:50| Swap maxSize 20971520 KB, estimated 1613193 objects
    2007/07/07 07:53:50| Target number of buckets: 80659
    2007/07/07 07:53:50| Using 131072 Store buckets
    2007/07/07 07:53:50| Max Mem size: 1048576 KB
    2007/07/07 07:53:50| Max Swap size: 20971520 KB
    2007/07/07 07:53:50| Store logging disabled
    2007/07/07 07:53:50| Rebuilding storage in /var/spool/squid (DIRTY)
    2007/07/07 07:53:50| Using Least Load store dir selection
    2007/07/07 07:53:50| Set Current Directory to /var/spool/squid
    2007/07/07 07:53:50| Loaded Icons.
    2007/07/07 07:53:52| Accepting accelerated HTTP connections at 0.0.0.0, port 80, FD 7.
    2007/07/07 07:53:52| Accepting ICP messages at 0.0.0.0, port 3130, FD 9.
    2007/07/07 07:53:52| WCCP Disabled.
    2007/07/07 07:53:52| Ready to serve requests.
    2007/07/07 07:53:52| Done scanning /var/spool/squid (0 entries)
    2007/07/07 07:53:52| Finished rebuilding storage from disk.
    2007/07/07 07:53:52|      0 Entries scanned
    2007/07/07 07:53:52|      0 Invalid entries.
    2007/07/07 07:53:52|      0 With invalid flags.
    2007/07/07 07:53:52|      0 Objects loaded.
    2007/07/07 07:53:52|      0 Objects expired.
    2007/07/07 07:53:52|      0 Objects cancelled.
    2007/07/07 07:53:52|      0 Duplicate URLs purged.
    2007/07/07 07:53:52|      0 Swapfile clashes avoided.
    2007/07/07 07:53:52| Took 2.0 seconds ( 0.0 objects/sec).
    2007/07/07 07:53:52| Beginning Validation Procedure
    2007/07/07 07:53:52| Completed Validation Procedure
    2007/07/07 07:53:52| Validated 0 Entries
    2007/07/07 07:53:52| store_swap_size = 0k
    2007/07/07 07:53:53| storeLateRelease: released 0 objects

                       http://2.2.2.2         Access Denied                  squid


                -d                 squid
ctrl+c           killall squid    squid             squid




                                           Page 32 of 34
8
1.
                Squid                          www.naizhao.com                      2.2.2.2     IP
                                                                        DNSPod             2.2.2.2
     IP                                          IP          2.2.2.2                     hosts
                                                                Squid      hosts
                        Squid        hosts
                hosts                                 curl                  Linux/Unix
                          Windows                                                  D:

      http://curl.haxx.se/latest.cgi?curl=win32-nossl        32
      http://curl.haxx.se/latest.cgi?curl=win64-nossl        64
                                             curl.exe


2.        Squid
                                                        squid
      cd /usr/local/squid/sbin
      ./squid -Nd 1
                                http://www.naizhao.com
                                              squid
                            squid


3.        Squid
                 curl                     Windows                                curl
      curl -I http://www.naizhao.com/

      HTTP/1.0 200 OK
      Date: Sun, 08 Jul 2007 12:16:27 GMT
      Server: NaiZhao Web Server/1.0.0
      Last-Modified: Wed, 13 Dec 2006 06:11:14 GMT
      ETag: "7665b-1983-4417e480"
      Accept-Ranges: bytes
      Content-Length: 6531
      Vary: Accept-Encoding
      Content-Type: text/css
      Age: 29155
      X-Cache: MISS from cnc.naizhao.com
      Via: 1.0 cnc.naizhao.com:80 (squid/2.6.STABLE13)
      Connection: close


                                                             MISS

      X-Cache: MISS from cnc.naizhao.com

      curl -I http://www.naizhao.com/

                                              Page 33 of 34
HTTP/1.0 200 OK
     Date: Sun, 08 Jul 2007 12:16:27 GMT
     Server: NaiZhao Web Server/1.0.0
     Last-Modified: Wed, 13 Dec 2006 06:11:14 GMT
     ETag: "7665b-1983-4417e480"
     Accept-Ranges: bytes
     Content-Length: 6531
     Vary: Accept-Encoding
     Content-Type: text/css
     Age: 29155
     X-Cache: HIT from cnc.naizhao.com
     Via: 1.0 cnc.naizhao.com:80 (squid/2.6.STABLE13)
     Connection: close

                                     HIT
                              MISS


     Last-Modified: Wed, 13 Dec 2006 06:11:14 GMT
                                     squid      squid


     Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
         no-store no-cache must-revalidate                  squid


     Expires: Thu, 19 Nov 1981 08:52:00 GMT


     Pragma: no-cache


                                       Squid


4.             Squid
     ulimit -Hs 65536
     ulimit -n 65536
     ./squid
                                      squid
                        http://www.naizhao.com


5.    Squid
     CentOS Squid                                          /etc/rc.local
     ulimit -Hs 65536
     ulimit -n 65536
     /usr/local/squid/sbin/squid


                                           Page 34 of 34

Weitere ähnliche Inhalte

Was ist angesagt?

History of development of Christian Theology...
History of development of Christian Theology...History of development of Christian Theology...
History of development of Christian Theology...Santosh Mote
 
Red hat enterprise_linux-7-beta-installation_guide-en-us
Red hat enterprise_linux-7-beta-installation_guide-en-usRed hat enterprise_linux-7-beta-installation_guide-en-us
Red hat enterprise_linux-7-beta-installation_guide-en-usmuhammad adeel
 
Ibm system storage ds8700 disk encryption redp4500
Ibm system storage ds8700 disk encryption redp4500Ibm system storage ds8700 disk encryption redp4500
Ibm system storage ds8700 disk encryption redp4500Banking at Ho Chi Minh city
 
Dushyant Joshi United Nations
Dushyant Joshi United NationsDushyant Joshi United Nations
Dushyant Joshi United NationsDushyant Joshi
 
09/30/11: Amicus Brief in Sackett v. EPA
09/30/11: Amicus Brief in Sackett v. EPA09/30/11: Amicus Brief in Sackett v. EPA
09/30/11: Amicus Brief in Sackett v. EPAartba
 
Ross_Cannon_4th_Year_Project_Mastercopy
Ross_Cannon_4th_Year_Project_MastercopyRoss_Cannon_4th_Year_Project_Mastercopy
Ross_Cannon_4th_Year_Project_MastercopyRoss Cannon
 
Case of the kichwa indigenous peoples of sarayaku v. ecuador
Case of the kichwa indigenous peoples of sarayaku v. ecuadorCase of the kichwa indigenous peoples of sarayaku v. ecuador
Case of the kichwa indigenous peoples of sarayaku v. ecuadorDr Lendy Spires
 
Our Land, Our Water: Case Studies in Local Success
Our Land, Our Water: Case Studies in Local SuccessOur Land, Our Water: Case Studies in Local Success
Our Land, Our Water: Case Studies in Local SuccessSotirakou964
 
Practitioner’s handbook for appeals to the 7th circuit 152 pages
Practitioner’s handbook for appeals to the 7th circuit   152 pagesPractitioner’s handbook for appeals to the 7th circuit   152 pages
Practitioner’s handbook for appeals to the 7th circuit 152 pagesUmesh Heendeniya
 
Deployment guide
Deployment guideDeployment guide
Deployment guidedonzerci
 

Was ist angesagt? (16)

History of development of Christian Theology...
History of development of Christian Theology...History of development of Christian Theology...
History of development of Christian Theology...
 
Red hat enterprise_linux-7-beta-installation_guide-en-us
Red hat enterprise_linux-7-beta-installation_guide-en-usRed hat enterprise_linux-7-beta-installation_guide-en-us
Red hat enterprise_linux-7-beta-installation_guide-en-us
 
Ibm system storage ds8700 disk encryption redp4500
Ibm system storage ds8700 disk encryption redp4500Ibm system storage ds8700 disk encryption redp4500
Ibm system storage ds8700 disk encryption redp4500
 
Dushyant Joshi United Nations
Dushyant Joshi United NationsDushyant Joshi United Nations
Dushyant Joshi United Nations
 
09/30/11: Amicus Brief in Sackett v. EPA
09/30/11: Amicus Brief in Sackett v. EPA09/30/11: Amicus Brief in Sackett v. EPA
09/30/11: Amicus Brief in Sackett v. EPA
 
Sec keeper en
Sec keeper enSec keeper en
Sec keeper en
 
Netfinity tape solutions sg245218
Netfinity tape solutions sg245218Netfinity tape solutions sg245218
Netfinity tape solutions sg245218
 
In The Shade Of The Qur’an Volume 9 surahs_10-11
In The Shade Of The Qur’an Volume 9 surahs_10-11In The Shade Of The Qur’an Volume 9 surahs_10-11
In The Shade Of The Qur’an Volume 9 surahs_10-11
 
Beginlatex 3.6
Beginlatex 3.6Beginlatex 3.6
Beginlatex 3.6
 
Ross_Cannon_4th_Year_Project_Mastercopy
Ross_Cannon_4th_Year_Project_MastercopyRoss_Cannon_4th_Year_Project_Mastercopy
Ross_Cannon_4th_Year_Project_Mastercopy
 
Case of the kichwa indigenous peoples of sarayaku v. ecuador
Case of the kichwa indigenous peoples of sarayaku v. ecuadorCase of the kichwa indigenous peoples of sarayaku v. ecuador
Case of the kichwa indigenous peoples of sarayaku v. ecuador
 
Our Land, Our Water: Case Studies in Local Success
Our Land, Our Water: Case Studies in Local SuccessOur Land, Our Water: Case Studies in Local Success
Our Land, Our Water: Case Studies in Local Success
 
Avi
AviAvi
Avi
 
Practitioner’s handbook for appeals to the 7th circuit 152 pages
Practitioner’s handbook for appeals to the 7th circuit   152 pagesPractitioner’s handbook for appeals to the 7th circuit   152 pages
Practitioner’s handbook for appeals to the 7th circuit 152 pages
 
Deployment guide
Deployment guideDeployment guide
Deployment guide
 
Csharp
CsharpCsharp
Csharp
 

Andere mochten auch

LaurenR 10
LaurenR 10LaurenR 10
LaurenR 10Year56
 
Tundra Georgia
Tundra GeorgiaTundra Georgia
Tundra GeorgiaYear56
 
Noah R10
Noah R10Noah R10
Noah R10Year56
 
Katherine R8
Katherine R8Katherine R8
Katherine R8Year56
 
Монтессори детский сад под управлением компании Восход Солнца
Монтессори детский сад под управлением компании Восход СолнцаМонтессори детский сад под управлением компании Восход Солнца
Монтессори детский сад под управлением компании Восход СолнцаSunrise child care
 
Final report b2 b_ blp team 5
Final report b2 b_ blp team 5Final report b2 b_ blp team 5
Final report b2 b_ blp team 5Shailendra Tewari
 
Midterm essay
Midterm essayMidterm essay
Midterm essayjadenna7
 
Clay R10
Clay R10Clay R10
Clay R10Year56
 
Backing up i pad through itunes
Backing up i pad through itunes Backing up i pad through itunes
Backing up i pad through itunes Year56
 
Презентация компании Восход Солнца
Презентация компании Восход СолнцаПрезентация компании Восход Солнца
Презентация компании Восход СолнцаSunrise child care
 
Chloee R11
Chloee R11Chloee R11
Chloee R11Year56
 
Noah R11
Noah R11Noah R11
Noah R11Year56
 
grasslands
grasslandsgrasslands
grasslandsYear56
 

Andere mochten auch (20)

2nd gen
2nd gen2nd gen
2nd gen
 
LaurenR 10
LaurenR 10LaurenR 10
LaurenR 10
 
Tundra Georgia
Tundra GeorgiaTundra Georgia
Tundra Georgia
 
Noah R10
Noah R10Noah R10
Noah R10
 
Katherine R8
Katherine R8Katherine R8
Katherine R8
 
Монтессори детский сад под управлением компании Восход Солнца
Монтессори детский сад под управлением компании Восход СолнцаМонтессори детский сад под управлением компании Восход Солнца
Монтессори детский сад под управлением компании Восход Солнца
 
Final report b2 b_ blp team 5
Final report b2 b_ blp team 5Final report b2 b_ blp team 5
Final report b2 b_ blp team 5
 
Midterm essay
Midterm essayMidterm essay
Midterm essay
 
Clay R10
Clay R10Clay R10
Clay R10
 
Backing up i pad through itunes
Backing up i pad through itunes Backing up i pad through itunes
Backing up i pad through itunes
 
Презентация компании Восход Солнца
Презентация компании Восход СолнцаПрезентация компании Восход Солнца
Презентация компании Восход Солнца
 
Presentatie digitale acties
Presentatie digitale actiesPresentatie digitale acties
Presentatie digitale acties
 
Chloee R11
Chloee R11Chloee R11
Chloee R11
 
Office 2010 documenten_tekenen
Office 2010 documenten_tekenenOffice 2010 documenten_tekenen
Office 2010 documenten_tekenen
 
Camera
CameraCamera
Camera
 
Educación
EducaciónEducación
Educación
 
Noah R11
Noah R11Noah R11
Noah R11
 
Kori2
Kori2Kori2
Kori2
 
grasslands
grasslandsgrasslands
grasslands
 
Presentation ICHC 2015
Presentation ICHC 2015Presentation ICHC 2015
Presentation ICHC 2015
 

Ähnlich wie Cdn配置方法

CALM DURING THE STORM:Best Practices in Multicast Security
CALM DURING THE STORM:Best Practices in Multicast SecurityCALM DURING THE STORM:Best Practices in Multicast Security
CALM DURING THE STORM:Best Practices in Multicast SecurityJohnson Liu
 
Cinelerra Video Editing Manual
Cinelerra Video Editing ManualCinelerra Video Editing Manual
Cinelerra Video Editing Manualduquoi
 
Ibm midrange system storage implementation and best practices guide sg246363
Ibm midrange system storage implementation and best practices guide sg246363Ibm midrange system storage implementation and best practices guide sg246363
Ibm midrange system storage implementation and best practices guide sg246363Banking at Ho Chi Minh city
 
RHEL-7 Administrator Guide for RedHat 7
RHEL-7  Administrator Guide for RedHat 7RHEL-7  Administrator Guide for RedHat 7
RHEL-7 Administrator Guide for RedHat 7Hemnath R.
 
Experiences with oracle 10g database for linux on z series sg246482
Experiences with oracle 10g database for linux on z series sg246482Experiences with oracle 10g database for linux on z series sg246482
Experiences with oracle 10g database for linux on z series sg246482Banking at Ho Chi Minh city
 
Report Vietnam INTERNET RESOURCES 2015
Report Vietnam INTERNET RESOURCES  2015Report Vietnam INTERNET RESOURCES  2015
Report Vietnam INTERNET RESOURCES 2015Ivan Kireev
 
Learn C# Includes The C# 3.0 Features
Learn C# Includes The C# 3.0 FeaturesLearn C# Includes The C# 3.0 Features
Learn C# Includes The C# 3.0 FeaturesZEZUA Z.
 
Red hat storage-3-administration_guide-en-us
Red hat storage-3-administration_guide-en-usRed hat storage-3-administration_guide-en-us
Red hat storage-3-administration_guide-en-usTommy Lee
 
Red hat storage-3-administration_guide-en-us
Red hat storage-3-administration_guide-en-usRed hat storage-3-administration_guide-en-us
Red hat storage-3-administration_guide-en-usTommy Lee
 
BOOK - IBM DB2 9 FOR zOS
BOOK - IBM DB2 9 FOR zOSBOOK - IBM DB2 9 FOR zOS
BOOK - IBM DB2 9 FOR zOSSatya Harish
 
Ibm Datamodeling
Ibm DatamodelingIbm Datamodeling
Ibm Datamodelingguest24adb7
 
Plesk 8.2 for Linux/Unix Domain Administrator's Guide
Plesk 8.2 for Linux/Unix Domain Administrator's GuidePlesk 8.2 for Linux/Unix Domain Administrator's Guide
Plesk 8.2 for Linux/Unix Domain Administrator's Guidewebhostingguy
 
XAdES Specification based on the Apache XMLSec Project
XAdES Specification based on the Apache XMLSec Project XAdES Specification based on the Apache XMLSec Project
XAdES Specification based on the Apache XMLSec Project Krassen Deltchev
 
Another example PDF
Another example PDFAnother example PDF
Another example PDFocchris
 
Another example PDF
Another example PDFAnother example PDF
Another example PDFocchris
 

Ähnlich wie Cdn配置方法 (20)

CALM DURING THE STORM:Best Practices in Multicast Security
CALM DURING THE STORM:Best Practices in Multicast SecurityCALM DURING THE STORM:Best Practices in Multicast Security
CALM DURING THE STORM:Best Practices in Multicast Security
 
Cinelerra Video Editing Manual
Cinelerra Video Editing ManualCinelerra Video Editing Manual
Cinelerra Video Editing Manual
 
Ibm midrange system storage implementation and best practices guide sg246363
Ibm midrange system storage implementation and best practices guide sg246363Ibm midrange system storage implementation and best practices guide sg246363
Ibm midrange system storage implementation and best practices guide sg246363
 
Health Care Cyberthreat Report
Health Care Cyberthreat ReportHealth Care Cyberthreat Report
Health Care Cyberthreat Report
 
RHEL-7 Administrator Guide for RedHat 7
RHEL-7  Administrator Guide for RedHat 7RHEL-7  Administrator Guide for RedHat 7
RHEL-7 Administrator Guide for RedHat 7
 
Experiences with oracle 10g database for linux on z series sg246482
Experiences with oracle 10g database for linux on z series sg246482Experiences with oracle 10g database for linux on z series sg246482
Experiences with oracle 10g database for linux on z series sg246482
 
Report Vietnam INTERNET RESOURCES 2015
Report Vietnam INTERNET RESOURCES  2015Report Vietnam INTERNET RESOURCES  2015
Report Vietnam INTERNET RESOURCES 2015
 
Ftk 1.80 manual
Ftk 1.80 manualFtk 1.80 manual
Ftk 1.80 manual
 
Learn C# Includes The C# 3.0 Features
Learn C# Includes The C# 3.0 FeaturesLearn C# Includes The C# 3.0 Features
Learn C# Includes The C# 3.0 Features
 
Red hat storage-3-administration_guide-en-us
Red hat storage-3-administration_guide-en-usRed hat storage-3-administration_guide-en-us
Red hat storage-3-administration_guide-en-us
 
Red hat storage-3-administration_guide-en-us
Red hat storage-3-administration_guide-en-usRed hat storage-3-administration_guide-en-us
Red hat storage-3-administration_guide-en-us
 
BOOK - IBM DB2 9 FOR zOS
BOOK - IBM DB2 9 FOR zOSBOOK - IBM DB2 9 FOR zOS
BOOK - IBM DB2 9 FOR zOS
 
Ibm Datamodeling
Ibm DatamodelingIbm Datamodeling
Ibm Datamodeling
 
Debian Handbook
Debian HandbookDebian Handbook
Debian Handbook
 
Debian handbook
Debian handbookDebian handbook
Debian handbook
 
Plesk 8.2 for Linux/Unix Domain Administrator's Guide
Plesk 8.2 for Linux/Unix Domain Administrator's GuidePlesk 8.2 for Linux/Unix Domain Administrator's Guide
Plesk 8.2 for Linux/Unix Domain Administrator's Guide
 
XAdES Specification based on the Apache XMLSec Project
XAdES Specification based on the Apache XMLSec Project XAdES Specification based on the Apache XMLSec Project
XAdES Specification based on the Apache XMLSec Project
 
R Data
R DataR Data
R Data
 
Another example PDF
Another example PDFAnother example PDF
Another example PDF
 
Another example PDF
Another example PDFAnother example PDF
Another example PDF
 

Kürzlich hochgeladen

Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 

Kürzlich hochgeladen (20)

Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 

Cdn配置方法

  • 1. DNSPod Squid CDN Copyright 2007 Sam Wu, wuhongsheng.com. All rights reserved. Page 1 of 34
  • 2. DN SP OD SQU ID C D N .....................................................................................................................1 .............................................................................................................................................................................................2 .............................................................................................................................................................................................3 1 CDN DNS .........................................................................................................................................................4 1. CDN.........................................................................................................................................................................4 2. DNS DNSPOD.................................................................................................................................4 2 ......................................................................................................................................................................6 3 DNS.........................................................................................................................................................7 1. DNSPOD .................................................................................................................................................7 A.Windows .................................................................................................................................................................8 B.Linux/Unix/Mac .....................................................................................................................................................8 2. DNS DNSPOD .............................................................................................................................................9 4 .............................................................................................................................................. 10 1. .......................................................................................................................................................................... 10 2. .......................................................................................................................................................................... 18 3. .......................................................................................................................................................................... 18 4.LINUX ........................................................................................................................................................... 19 5.VIM .............................................................................................................................................................. 19 A. ..................................................................................................................................................................... 20 B. ..................................................................................................................................................................... 20 C. .................................................................................................................................................................... 21 6. .................................................................................................................................................................. 21 5 ........................................................................................................................................ 22 1.LINUX .................................................................................................................................. 22 A. .................................................................................................................................................... 22 B. ............................................................................................................................................ 22 C. .................................................................................................................................................... 22 D. configure .................................................................................................................................... 23 E. ........................................................................................................................................ 23 F. make clean ......................................................................................................................... 23 2. ..................................................................................................................................................... 23 3. SQUID ................................................................................................................................................... 24 6 ................................................................................................................................................. 26 7 ............................................................................................................................................................... 28 1. HOSTS .................................................................................................................................................................... 28 2. SQUID ........................................................................................................................................................................ 28 8 .................................................................................................................................................. 33 1. .......................................................................................................................................................................... 33 2. SQUID ........................................................................................................................................................................ 33 3. SQUID ........................................................................................................................................................................ 33 4. SQUID................................................................................................................................................................ 34 5. SQUID ................................................................................................................................................... 34 Page 2 of 34
  • 3. VeryCD CDN Windows CentOS Linux 5 Windows Windows Linux Linux Linux FreeBSD FreeBSD Linux * * 1. BBS 2. Page 3 of 34
  • 4. 1 CDN DNS 1. CDN CDN CDN CDN CDN CDN CDN CDN CDN CDN CDN CDN 2. DNS DNSPod DNS IP DNS IP IP DNSPod DNS DNS DNSPod DNSPod DNSPod Page 4 of 34
  • 6. 2 P4 2G DVD R+ CD-R 6 DVD CD RW CentOS ISO http://ftp.ncnu.edu.tw/Linux/CentOS/5.0/isos/i386/ http://ftp.cse.yzu.edu.tw/pub/CentOS/5.0/isos/i386/ http://ftp.cs.pu.edu.tw/Linux/CentOS/5.0/isos/i386/ http://ftp.tcc.edu.tw/Linux/CentOS/5.0/isos/i386/ http://mirror.mirr4u.com/centos/5.0/isos/i386/ http://mirror.tini4u.net/centos/5.0/isos/i386/ http://mirror.averse.net/centos/5.0/isos/i386/ CentOS-5.0-i386-bin-1of6.iso … CentOS-5.0-i386-bin-6of6.iso CD 6 DVD CentOS-5.0-i386-bin-DVD.iso naizhao.com A B A B CDN B A A IP 1.1.1.1 B IP 2.2.2.2 OK ISO DNS Page 6 of 34
  • 7. 3 DNS 1. DNSPod Page 7 of 34
  • 9. 2. DNS DNSPod DNS NS DNS TTL 172800 48 TTL NS 48 48 DNS A DNS 47 A * *DNS B DNS B * *DNS * *DNS * * DNS 48 DNS 2-3 DNS DNS TTL 3600 36000 10 10 DNS DNS ADSL MODEM DNS 10 DNS DNS 1. DNS 2. DNS DNSPod 6 DNS 4 2 diy.hichina.com 6 DNSPod 6 DNS .net .com ns1.dnspod.net ns2.dnspod.net ns3.dnspod.net ns4.dnspod.net ns5.dnspod.net ns6.dnspod.net ISO Linux Page 9 of 34
  • 10. 4 1. Page 10 of 34
  • 18. 2. 3. Page 18 of 34
  • 19. 4.Linux 5.VIM Page 19 of 34
  • 20. A. B. Page 20 of 34
  • 21. C. 6. VIM CentOS yum /etc/yum.repos.d/CentOS-Base.repo vi vi /etc/yum.repos.d/CentOS-Base.repo vi yum mirrorlist= # #mirrorlist= vi :%s/a/b/g a b g :%s/mirrorlist=/#mirrorlist=/g url #baseurl= # :%s/#baseurl=/baseurl=/g OK centos be10.com http://mirror.be10.com/ centos url http://mirror.be10.com/centos/ http://mirror.centos.org/centos/ url be10.com centos.org centos.org be10.com :%s/centos.org/be10.com/g yum update y y Page 21 of 34
  • 22. 5 Linux Squid 1.Linux A. Windows Linux Windows Linux zip rar rpm redhat suse deb debian ubuntu yum rpm apt deb tar.gz tar.bz2 yum install php (yum) apt-get install php5(apt) yum search php(yum) apt-cache search php(apt) B. 1. configure 2. make 3. make install a. configure Makefile Linux configure b. configure Makefile c. make install C. /usr/local php /usr/local/bin/php php.ini /usr/local/lib/php.ini configure --prefix prefix ./configure -- Page 22 of 34
  • 23. prefix=/usr/local/php /usr/local/php/bin/php /usr/local/php/lib/php.ini D. configure configure --prefix ./configure --help -- enable- --with- --disable- --without- E. Linux Windows Windows Linux yum remove php(yum) apt-get remove php5(apt) make uninstall make uninstall php mysql mysql php mysql php mysql mysql php mysql F. make clean make clean make install make clean 2. Windows CPU Windows CPU Linux CPU CPU CPU export CFLAGS CXXFLAGS configure make Pentium 4 CPU Intel(R) Pentium(R) 4 CPU XXXXMHz cpu family: 15 model: 0/1/2 export CHOST="i686-pc-linux-gnu" export CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" export CXXFLAGS="${CFLAGS}" Page 23 of 34
  • 24. CPU cat /proc/cpuinfo processor :0 vendor_id : AuthenticAMD cpu family : 15 model : 47 model name : AMD Athlon(tm) 64 Processor 3200+ stepping :2 cpu MHz : 2000.336 cache size : 512 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm 3dnowext 3dnow up pni lahf_lm ts fid vid ttp tm stc bogomips : 4002.57 AMD Athlon 64 3200+ CPU CPU cpu family model http://gentoo-wiki.com/Safe_Cflags 3. Squid 1024 1024 1024 Squid Squid a. squid squid b.squid squid squid /usr/include/bits/typesizes.h /usr/include/linux/posix_types.h vi #define __FD_SETSIZE 1024 1024 65536 65536 Linux Page 24 of 34
  • 25. C/C++ squid ssh (.profile .bash_rc) pietty export ulimit ulimit ulimit -Hs 65536 ulimit -n 65536 H s n wget squid wget http://www.squid-cache.org/Versions/v2/2.6/squid-2.6.STABLE13.tar.gz wget unix Page 25 of 34
  • 26. 6 tar tar zxvf squid-2.6.STABLE13.tar.gz squid-2.6.STABLE13 cd squid-2.6.STABLE13 configure cflags CPU intel core duo cpu family 6,model 14 http://gentoo-wiki.com/Safe_Cflags#Intel_Core_Solo.2FDuo CHOST="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}" export export CHOST="i686-pc-linux-gnu" export CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" export CXXFLAGS="${CFLAGS}" env configure squid /usr/local/squid ./configure --prefix=/usr/local/squid --enable-follow-x-forwarded-for --enable-storeio=aufs,ufs --with-maxfd=65536 --with-pthreads --enable-dlmalloc --enable-poll --enable-stacktraces --enable- removal-policies=heap,lru --enable-delay-pools ./configure --help configure ./ configure linux ./ bin/run ./bin/run checking for … configure config.status: creating tools/Makefile config.status: creating include/autoconf.h config.status: executing depfiles commands [root@cnc squid-2.6.STABLE13]# make make[2]: Leaving directory `/root/squid-2.6.STABLE13/tools' make[1]: Leaving directory `/root/squid-2.6.STABLE13/tools' make[1]: Entering directory `/root/squid-2.6.STABLE13' Page 26 of 34
  • 27. make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/root/squid-2.6.STABLE13' [root@cnc squid-2.6.STABLE13]# make install make[2]: Leaving directory `/root/squid-2.6.STABLE13' make[1]: Leaving directory `/root/squid-2.6.STABLE13' [root@cnc squid-2.6.STABLE13]# error cflags make clean make configure squid /usr/local/squid [root@cnc squid-2.6.STABLE13]# cd /usr/local/squid [root@cnc squid]# ls -lh total 72K drwxr-xr-x 2 root root 4.0K Jul 7 02:27 bin drwxr-xr-x 2 root root 4.0K Jul 7 02:27 etc drwxr-xr-x 2 root root 4.0K Jul 7 02:27 libexec drwx------ 2 root root 16K Jun 15 08:09 lost+found drwxr-xr-x 3 root root 4.0K Jul 7 02:27 man drwxr-xr-x 2 root root 4.0K Jul 7 02:25 sbin drwxr-xr-x 4 root root 4.0K Jul 7 02:25 share drwxr-xr-x 3 root root 4.0K Jul 7 02:25 var [root@cnc squid]# squid Page 27 of 34
  • 28. 7 1. hosts squid CDN squid CDN squid squid apache web web squid naizhao.com DNS squid dns naizhao.com 2.2.2.2 IP IP 1.1.1.1 naizhao.com IP 1.1.1.1 IP hosts dns Windows hosts linux vim dns hosts hosts linux hosts /etc/hosts Windows 1.1.1.1 naizhao.com www.naizhao.com cnc.naizhao.com 1.1.1.1 2. squid squid /usr/local/squid/etc/squid.conf squid rm squid.conf squid.conf.default linux apache .default squid.conf vi 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 /var/spool/squid 20480 16 256 cache_swap_low 80 cache_swap_high 97 strip_query_terms off request_body_max_size 5 MB memory_pools on memory_pools_limit 50 MB access_log none cache_log /var/log/squid/cache.log Page 28 of 34
  • 29. cache_store_log none pid_filename /var/run/squid.pid hosts_file /etc/hosts refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern -i naizhao.com 240 100% 1440 ignore-reload refresh_pattern -i www.naizhao.com 240 100% 1440 ignore-reload refresh_pattern -i .gif 180 20% 10080 override-expire ignore-reload reload-into-ims refresh_pattern -i .jpg 180 20% 10080 override-expire ignore-reload reload-into-ims refresh_pattern . 120 50% 1440 acl all src 0.0.0.0/0.0.0.0 acl p-manager proto cache_object acl s-localhost src 127.0.0.1/255.255.255.255 acl d-localhost dst 127.0.0.0/8 acl d-domains dstdomain .naizhao.com acl p-ssl port 443 563 acl p-safe port 80 443 563 acl m-conn method CONNECT acl m-purge method PURGE acl n-maxconn maxconn 15 http_access allow p-manager s-localhost http_access allow m-purge http_access deny !p-safe http_access deny m-conn !p-ssl http_access deny n-maxconn http_access allow p-manager http_access allow d-domains http_access deny all http_reply_access allow all acl r-url urlpath_regex realtime cache deny r-url icp_access allow all follow_x_forwarded_for allow all acl_uses_indirect_client offrange_offset_limit -1 dns_timeout 2 seconds forward_timeout 10 seconds connect_timeout 10 seconds peer_connect_timeout 6 seconds read_timeout 10 seconds request_timeout 6 seconds persistent_request_timeout 16 seconds cache_mgr silence.z@gmail.com cache_effective_user nobody cache_effective_group nobody visible_hostname cnc.naizhao.com logfile_rotate 0 always_direct allow all error_directory /usr/local/squid/share/errors/Simplify_Chinese coredump_dir /var/spool/squid Page 29 of 34
  • 30. cache_mem 1024 MB squid 500M 2G 1G squid cache_dir ufs /var/spool/squid 20480 16 256 /var/spool/squid 20G 16 256 squid memory_pools_limit 50 MB cache_log /var/log/squid/cache.log log refresh_pattern -i naizhao.com 240 100% 1440 ignore-reload refresh_pattern -i www.naizhao.com 240 100% 1440 ignore-reload refresh_pattern -i .gif 180 20% 10080 override-expire ignore-reload reload-into-ims refresh_pattern -i .jpg 180 20% 10080 override-expire ignore-reload reload-into-ims -i naizhao.com .gif 240 1440 acl d-domains dstdomain .naizhao.com naizhao.com . *.naizhao.com naizhao.com www.naizhao.com cache_mgr silence.z@gmail.com cache_effective_user nobody cache_effective_group nobody squid root linux root root visible_hostname cnc.naizhao.com squid coredump_dir /var/spool/squid squid log log squid.conf mkdir /var/log/squid chown nobody:nobody /var/log/squid chown squid nobody nobody nobody:nobody Page 30 of 34
  • 31. squid nobody:nobody chown nobody:nobody /var/spool/squid ls -lh ls -lh /var/spool/ …… drwxr-xr-x 3 nobody nobody 4.0K Jun 15 08:19 squid squid 16 256 squid squid /usr/local/squid/sbin squid ./squid -h Usage: squid [-hvzCDFNRYX] [-d level] [-s | -l facility] [-f config-file] [-u port] [-k signal] -d level Write debugging to stderr also. -f file Use given config-file instead of /usr/local/squid/etc/squid.conf -h Print help message. -k reconfigure|rotate|shutdown|interrupt|kill|debug|check|parse Parse configuration file, then send signal to running copy (except -k parse) and exit. -s | -l facility Enable logging to syslog. -u port Specify ICP port number (default: 3130), disable with 0. -v Print version. -z Create swap directories -C Do not catch fatal signals. -D Disable initial DNS tests. -F Don't serve any requests until store is rebuilt. -N No daemon mode. -R Do not set REUSEADDR on port. -S Double-check swap during rebuild. -X Force full debugging. -Y Only return UDP_HIT or UDP_MISS_NOFETCH during fast reload. -z ./squid -z 2007/07/07 07:52:03| Creating Swap Directories ls /var/spool/squid squid Page 31 of 34
  • 32. ./squid -Nd 10 2007/07/07 07:53:50| Starting Squid Cache version 2.6.STABLE13 for i686-pc-linux-gnu... 2007/07/07 07:53:50| Process ID 3135 2007/07/07 07:53:50| With 1024 file descriptors available 2007/07/07 07:53:50| Using poll for the IO loop 2007/07/07 07:53:50| Performing DNS Tests... 2007/07/07 07:53:50| Successful DNS name lookup tests... 2007/07/07 07:53:50| DNS Socket created at 0.0.0.0, port 1026, FD 4 2007/07/07 07:53:50| Adding nameserver 211.147.6.3 from /etc/resolv.conf 2007/07/07 07:53:50| Adding nameserver 61.233.9.9 from /etc/resolv.conf 2007/07/07 07:53:50| Unlinkd pipe opened on FD 8 2007/07/07 07:53:50| Swap maxSize 20971520 KB, estimated 1613193 objects 2007/07/07 07:53:50| Target number of buckets: 80659 2007/07/07 07:53:50| Using 131072 Store buckets 2007/07/07 07:53:50| Max Mem size: 1048576 KB 2007/07/07 07:53:50| Max Swap size: 20971520 KB 2007/07/07 07:53:50| Store logging disabled 2007/07/07 07:53:50| Rebuilding storage in /var/spool/squid (DIRTY) 2007/07/07 07:53:50| Using Least Load store dir selection 2007/07/07 07:53:50| Set Current Directory to /var/spool/squid 2007/07/07 07:53:50| Loaded Icons. 2007/07/07 07:53:52| Accepting accelerated HTTP connections at 0.0.0.0, port 80, FD 7. 2007/07/07 07:53:52| Accepting ICP messages at 0.0.0.0, port 3130, FD 9. 2007/07/07 07:53:52| WCCP Disabled. 2007/07/07 07:53:52| Ready to serve requests. 2007/07/07 07:53:52| Done scanning /var/spool/squid (0 entries) 2007/07/07 07:53:52| Finished rebuilding storage from disk. 2007/07/07 07:53:52| 0 Entries scanned 2007/07/07 07:53:52| 0 Invalid entries. 2007/07/07 07:53:52| 0 With invalid flags. 2007/07/07 07:53:52| 0 Objects loaded. 2007/07/07 07:53:52| 0 Objects expired. 2007/07/07 07:53:52| 0 Objects cancelled. 2007/07/07 07:53:52| 0 Duplicate URLs purged. 2007/07/07 07:53:52| 0 Swapfile clashes avoided. 2007/07/07 07:53:52| Took 2.0 seconds ( 0.0 objects/sec). 2007/07/07 07:53:52| Beginning Validation Procedure 2007/07/07 07:53:52| Completed Validation Procedure 2007/07/07 07:53:52| Validated 0 Entries 2007/07/07 07:53:52| store_swap_size = 0k 2007/07/07 07:53:53| storeLateRelease: released 0 objects http://2.2.2.2 Access Denied squid -d squid ctrl+c killall squid squid squid Page 32 of 34
  • 33. 8 1. Squid www.naizhao.com 2.2.2.2 IP DNSPod 2.2.2.2 IP IP 2.2.2.2 hosts Squid hosts Squid hosts hosts curl Linux/Unix Windows D: http://curl.haxx.se/latest.cgi?curl=win32-nossl 32 http://curl.haxx.se/latest.cgi?curl=win64-nossl 64 curl.exe 2. Squid squid cd /usr/local/squid/sbin ./squid -Nd 1 http://www.naizhao.com squid squid 3. Squid curl Windows curl curl -I http://www.naizhao.com/ HTTP/1.0 200 OK Date: Sun, 08 Jul 2007 12:16:27 GMT Server: NaiZhao Web Server/1.0.0 Last-Modified: Wed, 13 Dec 2006 06:11:14 GMT ETag: "7665b-1983-4417e480" Accept-Ranges: bytes Content-Length: 6531 Vary: Accept-Encoding Content-Type: text/css Age: 29155 X-Cache: MISS from cnc.naizhao.com Via: 1.0 cnc.naizhao.com:80 (squid/2.6.STABLE13) Connection: close MISS X-Cache: MISS from cnc.naizhao.com curl -I http://www.naizhao.com/ Page 33 of 34
  • 34. HTTP/1.0 200 OK Date: Sun, 08 Jul 2007 12:16:27 GMT Server: NaiZhao Web Server/1.0.0 Last-Modified: Wed, 13 Dec 2006 06:11:14 GMT ETag: "7665b-1983-4417e480" Accept-Ranges: bytes Content-Length: 6531 Vary: Accept-Encoding Content-Type: text/css Age: 29155 X-Cache: HIT from cnc.naizhao.com Via: 1.0 cnc.naizhao.com:80 (squid/2.6.STABLE13) Connection: close HIT MISS Last-Modified: Wed, 13 Dec 2006 06:11:14 GMT squid squid Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 no-store no-cache must-revalidate squid Expires: Thu, 19 Nov 1981 08:52:00 GMT Pragma: no-cache Squid 4. Squid ulimit -Hs 65536 ulimit -n 65536 ./squid squid http://www.naizhao.com 5. Squid CentOS Squid /etc/rc.local ulimit -Hs 65536 ulimit -n 65536 /usr/local/squid/sbin/squid Page 34 of 34