Method of erecting CDN server with squid under CentOS _linux

Source: Internet
Author: User
Tags centos

Many webmaster in the process of building a large web site, often encounter the site in a specific area to open the problem of slow speed. This is usually done in that area to do a site image, through smart DNS to determine the user access to which mirror server.

Here we use WDCP and WDCDN to build our CDN acceleration point. Because WDCDN relies on WDCP, we first install WDCP.
The specific steps are as follows:

First step: Install WDCP 1.X

wget http://dl.wdlinux.cn:5180/rpms/rpm_install_1x
Sh rpm_install_1x

The middle will be prompted to choose to install lamp or LNMP
Uninstall execution:

SH rpm_install_1x un 

Step Two: Install Wdcdn

wget http://www.wdlinux.cn/in_scripts/wdcdn_install
Sh wdcdn_install

Uninstall method:

Service squid stop
chkconfig--level 3 squid off
vi/www/wdlinux/nginx/conf/nginx.conf
vi/www/wdlinux/ Apache/conf/httpd.conf

Comments at the bottom remove

Service httpd Restart
service nginxd restart

After installation, login to WDCP's management system to add the website domain name to be accelerated
After the addition, do a good job of domain name analysis can be.

Related Article

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.