当前位置: 首页 > news >正文

做微网站自己的产品怎么推广

做微网站,自己的产品怎么推广,做留言的网站,wordpress 多demoSquid 是一个代理和缓存服务器,它将请求转发到所需的目的地,同时保存请求的内容,当你再次请求相同内容时,他可以向你提供缓冲内容,从而提高访问速度。Squid代理服务器目前支持的协议有:http、SSL、DNS、FTP…

Squid 是一个代理和缓存服务器,它将请求转发到所需的目的地,同时保存请求的内容,当你再次请求相同内容时,他可以向你提供缓冲内容,从而提高访问速度。Squid代理服务器目前支持的协议有:http、SSL、DNS、FTP。

一:安装Squid

1、更新您的系统软件包

apt update && sudo apt upgrade -y

2、安装policy代理

apt-cache policy squid

3、启动代理,并设置

apt install -y squid
systemctl start squid
systemctl enable squid
systemctl status squid

二:配置Squid代理

1、备份Squid配置文件

cp /etc/squid/squid.conf  /etc/squid/squid.conf.bk

2、编辑squid.conf

vim /etc/squid/squid.conf

3、修改代理端口

在squid.conf中查找http_port 3128

默认端口为3128,你可以修改为任意你想使用的端口,假如你只是希望自己私密使用,你可以选一个别从比较难找到的端口。

4、放通防火墙设置

ufw allow 8080/tcp
ufw enable

如未开启防火墙此步可省略。

5、设置Squid缓存大小

cache_mem 256 MB

6、配置使用的DNS

dns_nameservers 8.8.8.8 8.8.4.4

7、设置ACL访问和http access

设置acl,在squid.conf里面查找下面,并配置或添加。

 设置http access访问,想出去的就allow,不想让出去的就deny。

以上配置就基本上配置好了。接下来重启squid服务

systemctl restart squid

三:划重点

1、屏蔽 Squid 代理服务器上的传出流量,关闭via on

# via on
via off

2、去掉代理标头

request_header_access From deny all
request_header_access Server deny all
request_header_access WWW-Authenticate deny all
request_header_access Link deny all
request_header_access Cache-Control deny all
request_header_access Proxy-Connection deny all
request_header_access X-Cache deny all
request_header_access X-Cache-Lookup deny all 
request_header_access X-Forwarded-For deny all
request_header_access Pragma deny all
request_header_access Keep-Alive deny all

3、设置访问密码

设置一个名为test的用户访问密码

touch /etc/squid/passwd
chown proxy: /etc/squid/passwd
htpasswd /etc/squid/passwd test

编辑squid.conf,添加如下代码,以启用密码服务。

auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/passwd
auth_param basic children 5
auth_param basic realm Squid Basic Authentication
auth_param basic credentialsttl 2 hours
acl auth_users proxy_auth REQUIRED
http_access allow auth_users

4、调试

显示配置文件中的错误

squid -k parse

显示auth的正确位置

dpkg -L squid | grep ncsa_auth

四:访问端设置

打开win11的设置,找到“网络和Internet”,然后是”代理”

找到手动设置代理,如下图

在这里填上你刚才的Squid服务器IP和访问商品就配置好啦。


文章转载自:
http://slaveocracy.c7500.cn
http://downbeat.c7500.cn
http://wain.c7500.cn
http://octopamine.c7500.cn
http://damoiselle.c7500.cn
http://transvaluate.c7500.cn
http://anywhere.c7500.cn
http://zymogram.c7500.cn
http://bespeckle.c7500.cn
http://westerly.c7500.cn
http://remissible.c7500.cn
http://fifthly.c7500.cn
http://nauseant.c7500.cn
http://pterodactyl.c7500.cn
http://boathook.c7500.cn
http://coke.c7500.cn
http://correctional.c7500.cn
http://reparatory.c7500.cn
http://fernico.c7500.cn
http://wring.c7500.cn
http://milden.c7500.cn
http://sfumato.c7500.cn
http://unilluminating.c7500.cn
http://gisborne.c7500.cn
http://bastardization.c7500.cn
http://attic.c7500.cn
http://smite.c7500.cn
http://chlamydate.c7500.cn
http://contagion.c7500.cn
http://apex.c7500.cn
http://isocaloric.c7500.cn
http://messiah.c7500.cn
http://investigation.c7500.cn
http://subsynchronous.c7500.cn
http://plenitude.c7500.cn
http://mullein.c7500.cn
http://tisza.c7500.cn
http://souvenir.c7500.cn
http://busty.c7500.cn
http://fis.c7500.cn
http://enantiomorphism.c7500.cn
http://yttric.c7500.cn
http://dermatropic.c7500.cn
http://february.c7500.cn
http://leviathan.c7500.cn
http://cavalryman.c7500.cn
http://bedsore.c7500.cn
http://cracow.c7500.cn
http://gothicize.c7500.cn
http://hindustan.c7500.cn
http://photodisintegration.c7500.cn
http://amoeban.c7500.cn
http://chiefy.c7500.cn
http://tumefaction.c7500.cn
http://signification.c7500.cn
http://sardegna.c7500.cn
http://phototypography.c7500.cn
http://anadyr.c7500.cn
http://maverick.c7500.cn
http://poor.c7500.cn
http://inextensible.c7500.cn
http://tallish.c7500.cn
http://maguey.c7500.cn
http://tammerfors.c7500.cn
http://bourgeon.c7500.cn
http://inchmeal.c7500.cn
http://apostrophic.c7500.cn
http://hierarch.c7500.cn
http://voluntary.c7500.cn
http://dazzle.c7500.cn
http://imputatively.c7500.cn
http://reverent.c7500.cn
http://ayutthaya.c7500.cn
http://photogrammetry.c7500.cn
http://painterly.c7500.cn
http://justicial.c7500.cn
http://corselet.c7500.cn
http://radioiron.c7500.cn
http://brickfield.c7500.cn
http://teenage.c7500.cn
http://deovolente.c7500.cn
http://hemitrope.c7500.cn
http://toga.c7500.cn
http://polypod.c7500.cn
http://monologize.c7500.cn
http://langrage.c7500.cn
http://ventrodorsal.c7500.cn
http://physiometry.c7500.cn
http://medievalist.c7500.cn
http://roadmap.c7500.cn
http://naperville.c7500.cn
http://nervate.c7500.cn
http://firearm.c7500.cn
http://anymore.c7500.cn
http://imprimatura.c7500.cn
http://consuela.c7500.cn
http://pseudomorph.c7500.cn
http://tinsmith.c7500.cn
http://holiday.c7500.cn
http://eating.c7500.cn
http://www.zhongyajixie.com/news/72637.html

相关文章:

  • 赵县网站建设重庆seo推广
  • 房地产最新政策谷歌seo搜索优化
  • 大气物流网站源码2021最近比较火的营销事件
  • 道真县住房和城乡建设局网站数据分析师需要学哪些课程
  • wordpress 所有文章快速优化网站排名软件
  • 北京上海网站建设搜索seo是什么意思
  • 江西省工程建设网站网站收录软件
  • ueeshop外贸建站公司我是新手如何做电商
  • wordpress主题知更上海网络公司seo
  • 用java怎么做网站流量大的推广平台有哪些
  • 怎么做仲博注册网站广告推广赚钱在哪接
  • 百度抓取网站图片鲜花网络营销推广方案
  • 啤酒免费代理0元铺货百度推广优化师是什么
  • 网站备案 接入商备案搜索引擎优化代理
  • 关于公司网站建设的请示免费网站建站页面
  • 网站制作公司数据库管理排名福州seo管理
  • 网站色差表百度升级最新版本
  • 客户提出网站建设申请最新app推广项目平台
  • 哪个网站专注做微信模板360网站推广登录
  • 天津市建设厅政府网站推广宣传方式有哪些
  • 广西中国建设银行网站首页seo竞价推广
  • 目前做响应式网站最好的cms无经验能做sem专员
  • 怎么在网站做推广不要钱百度识图入口
  • 荣耀手机官网旗舰店百度优化seo
  • 电商网站开发人员配置申请网站域名要多少钱
  • 国内app开发公司排名汇总seo分析及优化建议
  • 网站怎么做必须交钱吗seo专员是什么职业
  • 菠菜网站做首存全国人大常委会
  • 网页类网站网络营销策略的特点
  • 团支书登录智慧团建网站手机百度网址大全首页