Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of using Squid to set up CDN Server under CentOS

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces the method of using Squid to set up CDN server under CentOS. Friends who need it can refer to it.

In the process of building large-scale websites, many webmasters often encounter the problem of slow opening speed of websites in specific areas. At this time, a website image is usually made in that area, and the intelligent DNS is used to determine which mirror server the user accesses.

Here we use WDCP and WDCDN to establish our CDN acceleration point. Because WDCDN depends on WDCP, let's install WDCP first.

The specific steps are as follows:

Step 1: install WDCP 1.x

1wget http: / / dl .wdlinux.cn: 5180 / rpms/rpm_install_1xsh rpm_install_1x

The middle will prompt you to choose to install lamp or lnmp

Uninstall execution:

1sh rpm_install_1x un

Step 2: install WDCDN

1wget http: / / www .wdlinux.cn / in_scripts/wdcdn_installsh wdcdn_install

Uninstall method:

1service squid stopchkconfig-- level 3 squid offvi / http: / / www .bbqmw.net / / www/wdlinux/nginx/conf/nginx .confvi / www/wdlinux/apache/conf/httpd .conf

Remove the comments at the bottom

1service httpd restartservice nginxd restart

Log in to WDCP's management system after installation to add the domain name of the website to be accelerated

After adding, do a good job of domain name resolution.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report