How to configure squid

First install Squid
yum -y install Squid
configuration file /etc/squid/squid.conf
vim /etc/squid/squid.conf

Here Insert Picture Description

Here Insert Picture Description
Here Insert Picture Description
Profiles see above
start squid after changing for the better
systemctl start squid

then there is a problem
Here Insert Picture Description
starting to see the emergence of this
just look at the error log squid's
error log file path /var/log/squid/squid.out
Open results log to see is

Here Insert Picture Description
this is question authority, then give permission to
chmod -R 777 / dev / shm
given complete authority after the start squid
which is not being given squid starts successfully

Guess you like

Origin blog.csdn.net/weixin_42691754/article/details/85257312