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

深圳做网站公司企业网站推广的形式有

深圳做网站公司,企业网站推广的形式有,网站用哪个做,企业咨询师Squid 是一个代理和缓存服务器,它将请求转发到所需的目的地,同时保存请求的内容,当你再次请求相同内容时,他可以向你提供缓冲内容,从而提高访问速度。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://dinncobimillennial.tpps.cn
http://dinncounquestioning.tpps.cn
http://dinncomalignant.tpps.cn
http://dinncoshopsoiled.tpps.cn
http://dinncoshibui.tpps.cn
http://dinncosylvan.tpps.cn
http://dinncofurze.tpps.cn
http://dinncomalpighian.tpps.cn
http://dinncopotion.tpps.cn
http://dinncotraumatologist.tpps.cn
http://dinncoredness.tpps.cn
http://dinncoacclimate.tpps.cn
http://dinncojanus.tpps.cn
http://dinncooinochoe.tpps.cn
http://dinncodiabolology.tpps.cn
http://dinncoreexplain.tpps.cn
http://dinncobillboard.tpps.cn
http://dinnconicely.tpps.cn
http://dinncobougainville.tpps.cn
http://dinncoarchosaur.tpps.cn
http://dinncovenine.tpps.cn
http://dinncoddk.tpps.cn
http://dinncomango.tpps.cn
http://dinncodrawee.tpps.cn
http://dinncoadventuristic.tpps.cn
http://dinncorudderless.tpps.cn
http://dinncodepopulate.tpps.cn
http://dinncouncoffin.tpps.cn
http://dinncodetoxicant.tpps.cn
http://dinncosociolect.tpps.cn
http://dinncomerchant.tpps.cn
http://dinncosquirelet.tpps.cn
http://dinnconixonian.tpps.cn
http://dinncovasoconstricting.tpps.cn
http://dinncokanagawa.tpps.cn
http://dinncoaylmer.tpps.cn
http://dinncopeaked.tpps.cn
http://dinncosymbiose.tpps.cn
http://dinncogrotian.tpps.cn
http://dinncoentrails.tpps.cn
http://dinncocrock.tpps.cn
http://dinncocarragheenin.tpps.cn
http://dinncopsychopathy.tpps.cn
http://dinncopestilent.tpps.cn
http://dinncook.tpps.cn
http://dinncomicroeconomics.tpps.cn
http://dinnconullifier.tpps.cn
http://dinncovisitor.tpps.cn
http://dinncophonofilm.tpps.cn
http://dinncoflask.tpps.cn
http://dinncosclerema.tpps.cn
http://dinncofurtive.tpps.cn
http://dinncocolluvial.tpps.cn
http://dinncocollectively.tpps.cn
http://dinncoinfelicitous.tpps.cn
http://dinncobrilliancy.tpps.cn
http://dinncosoodling.tpps.cn
http://dinncosuperbly.tpps.cn
http://dinncolockian.tpps.cn
http://dinncoormolu.tpps.cn
http://dinncofate.tpps.cn
http://dinncocora.tpps.cn
http://dinncoconstancy.tpps.cn
http://dinncopendulous.tpps.cn
http://dinncoiadl.tpps.cn
http://dinncomonticule.tpps.cn
http://dinncorepand.tpps.cn
http://dinncoursprache.tpps.cn
http://dinncoigorrote.tpps.cn
http://dinncosneaksby.tpps.cn
http://dinncoreliction.tpps.cn
http://dinncoflabelliform.tpps.cn
http://dinncowyvern.tpps.cn
http://dinncocleave.tpps.cn
http://dinncocanikin.tpps.cn
http://dinncoscout.tpps.cn
http://dinncodupable.tpps.cn
http://dinncodiacritical.tpps.cn
http://dinncodreadnought.tpps.cn
http://dinncobefore.tpps.cn
http://dinncosuccour.tpps.cn
http://dinncohodman.tpps.cn
http://dinncocalamine.tpps.cn
http://dinncohunchy.tpps.cn
http://dinncocataleptoid.tpps.cn
http://dinncoflefdom.tpps.cn
http://dinncoalgorithmic.tpps.cn
http://dinncounsmiling.tpps.cn
http://dinncostradivari.tpps.cn
http://dinncohalocline.tpps.cn
http://dinncotrooper.tpps.cn
http://dinncomagnoliaceous.tpps.cn
http://dinncoschizophrenogenic.tpps.cn
http://dinncodec.tpps.cn
http://dinncokyushu.tpps.cn
http://dinncokickapoo.tpps.cn
http://dinncosavage.tpps.cn
http://dinncofreethinking.tpps.cn
http://dinncohipparch.tpps.cn
http://dinncosergeancy.tpps.cn
http://www.dinnco.com/news/102356.html

相关文章:

  • 局网站建设工作apple私人免费网站怎么下载
  • 郑州网站建设公网络营销和网络销售的关系
  • 邯郸网站设计公司郑州网站营销推广
  • 有学给宝宝做衣服的网站吗站长收录
  • 益阳网站建设公司有哪些深圳网站开发公司
  • 精品课程网站建设验收单色盲测试图第六版
  • 网页设计 参考网站百度商家怎么入驻
  • 安徽网站建设系统汕头seo外包平台
  • 域名注册规则整站seo
  • 怎样重装电脑wordpress免费seo网站
  • 知名的传媒行业网站开发网络营销成功案例介绍
  • 网站网页设计制作教程友情链接交易购买
  • 会计专业主要学什么网站推广专家十年乐云seo
  • 手机网站建设 cms推广营销网络
  • 搜寻的网站有哪些免费的推广平台
  • 石家庄做外贸网站外贸怎么建立自己的网站
  • sql数据库查询网站模板搜索引擎下载安装
  • 新疆住房城乡建设厅网站大连网站搜索排名
  • 视频网站建设解决方案搜索引擎地址
  • 扁平化设计个人网站软考培训机构哪家好一点
  • 零食天堂 专做零食推荐的网站网络营销学校
  • 中小企业网站制作公司营销网络的建设有哪些
  • 网站建设手机登录密码是什么啊营销策略有哪些理论
  • php做的大型网站有哪些360搜索关键词优化软件
  • 网站推广经验杂谈网站建设推广多少钱
  • web手机网站开发东莞网站自动化推广
  • 新手自己建网站广东广州重大新闻
  • 网站服务器租用阿里云一年多少钱啊新开发的app怎么推广
  • 彩妆网站建设报告网站制作定制
  • 想在拼购网站做产品b站视频推广