How to build Your own CDN server (Lumanager) _linux

Source: Internet
Author: User
Tags md5 free cdn node server

How to build your CDN server

At present, in Free CDN market, 360 because of "free" and the bigger, accelerate the music to do very early. But because the free node is not many, many users have been strong away. Safety treasure is also good now. At present, the free CDN market in China has shown tripod trend.

But why do I also need to build a CDN server to achieve Web site acceleration? There are three reasons.

1. To use the domestic CDN server domain name need to record.

2. Free CDN Server Stability and Acceleration effects are not very good.

3. The paid CDN server is generally expensive to die, some grassroots owners can not afford to use.

First, the CDN server to set up before (this article with Lumanager to build CDN server)

1. Find a domestic Access speed server to install the Lumanager Control Panel. For example you are in Zhengzhou, you can choose Zhengzhou Server.

2.LuManager Control Panel supports Nginx, Tengine, Apache, with CDN cache acceleration, simple setup and powerful function.

3, after the tribe test, Lumanager CDN will automatically generate mirror cache for accelerated Web site, user access will no longer be the source site, but the Cdn acceleration node, for static file acceleration effect best.

Second, Lumanager CDN Cache Accelerated Creation Tutorial

1, Login Lumanager background Control Panel, click "Add site" input you want to bind the domain name.

2, and then click the "Optional" option, in the creation of special sites to choose "CDN Web Site Acceleration", fill in your source site domain name and source site IP address. (Click to enlarge)

3, below select "Open CDN Normal Cache", CDN cache file Type default value:

Html|htm|shtml|shtm|gif|jpg|jpeg|png|bmp|swf|js|css|mp3|mav|doc|dot|xls|pdf|txt|zip|rar|gz|tgz|bz2|tgz|rm|rmvb |ico

4, the use of a number of Half-width | separated, such as jpg|png|gif, please do not cache the content of dynamic Web pages such as php|asp|jsp|cgi|aspx, leave the default value blank.

5, file types can be used to match, if you want to match the attachment of discuz, you can use Php.mod=attachment (because of the php?mod=attachment? In the regular is a special symbol, required.) (Click to enlarge)

6, set up can go to the website management to see the site CDN acceleration has been created successfully.

Iii. setting DNS domain name resolution enabling CDN Cache acceleration Access

1, to the domain name of the DNS management, the different network of user settings access to different CDN acceleration nodes, such as foreign and domestic user differentiation, telecommunications and unicom user differentiation, there are search engine differentiation.

2, for the use of U.S. host friends, let users direct access to the domestic CDN cache Acceleration Server, will be to a large extent to enhance the loading speed of the Web page. This is my GoDaddy host set to the domestic CDN computer room.

Four, Lumanager CDN to accelerate the access effect

1, from ping value, set Lumanager CDN after the site user access is no longer the source station, and CDN node.

2, with the Webmaster Speed tool, with the domestic CDN Accelerated Web page loading speed than no use of the increase of one times. (Click to enlarge)

3, view Lumanager CDN Web site file management, found that Lumanager CDN has been automatically generated in the server for the source station Mirror, CSS, JS, pictures, HTML and other static files have been successfully composed. (Click to enlarge)

Five, Lumanager CDN Advanced cache mode and delete cached content

1, if you want to open the Lumanager CDN Advanced caching mode, please select this when creating CDN acceleration Web site.

2, the advanced cache is free to choose the index file of the website (the default homepage), the cache file on the node server is "misplaced" and encrypted, and frequently accessed files will use memory cache, fast. It is recommended that file confidentiality and access speed be higher, and that users with ample memory choose this method.

3, to delete the Lumanager CDN cache content, you can set a password, you can not set.

4, such as tribes to delete cached files, direct access to the URL: http://10.204.164.9:8888/index.php?m=Public&a=cache_delete&id=2&hash= ha Dilute value &file= file name

5, Ha dilute the value of the algorithm: the MD5 value of the password, that is, MD5 (password). If the password is left blank, you can delete the password without verifying it (omitting the hash parameter)

6, FileName: file name relative to the site root directory, to/start, if you want to delete the site root directory mydir/file files, with/mydir/file can be (we recommend the file name with UrlEncode encoding). If it is "file + memory" mode, the file name is/lum_high_cache

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.