In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-26 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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.