-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsquid.html
More file actions
34 lines (34 loc) · 1.23 KB
/
Copy pathsquid.html
File metadata and controls
34 lines (34 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta http-equiv=pragma content=no-cache>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link rel="shortcut icon" href="favicon.ico">
<link rel="bookmark" href="favicon.ico">
<title>Squid安装配置笔记</title>
<style>pre {white-space: pre-wrap;white-space: -moz-pre-wrap;white-space: -pre-wrap;white-space: -o-pre-wrap;word-wrap: break-word;}</style>
</head>
<body>
<div class="container">
<p><a href="index.html">返回首页</a></p>
<h2 align=center>Squid安装配置笔记</h2>
<h3>注:网站系统为CentOS 7/8,使用systemd。</h3>
<p><b>一、安装依赖</b></p>
<pre>yum install perl gcc autoconf automake make sudo wget libxml2-devel libcap-devel -y</pre>
<p><b>二、下载源码、编译安装</b></p>
<p>1、下载</p>
<pre>wget http://www.squid-cache.org/Versions/v4/squid-4.9.tar.xz</pre>
<p>2、解压、编译</p>
<pre>tar xvf squid-4.9.tar.xz
cd squid-4.9
./configure --prefix=/usr/local/squid
make -j5
make install
</pre>
<p>暂未完成</p>
<p><a href="index.html">返回首页</a></p>
<p align="center">© 2016-2026 清风的个人笔记</p>
</div>
</body>
</html>