0
0

Squid のインストール

Last updated at Posted at 2024-07-25

はじめに

今更感ありますが、メモがてら記録します。

前提

  • Ubuntu 24.04 LTS (Noble Numbat)
  • Squid 6.10

手順

  1. インストールに必要なツールをインストールする

    sudo apt install gcc g++ make libcppunit-dev
    
  2. パッケージをダウンロードする (https://www.squid-cache.org/Versions/v6/)

    curl -LkvOf https://www.squid-cache.org/Versions/v6/squid-6.10.tar.gz
    
  3. パッケージを展開し、展開されたディレクトリの中に移動する

    tar xzf squid-6.10.tar.gz
    cd squid-6.10
    
  4. configure スクリプトを実行する

    ./configure \
    --prefix=/usr \
    --localstatedir=/var \
    --libexecdir=${prefix}/lib/squid \
    --datadir=${prefix}/share/squid \
    --sysconfdir=/etc/squid \
    --with-default-user=proxy \
    --with-logdir=/var/log/squid \
    --with-pidfile=/var/run/squid.pid
    
  5. 次のコマンドを実行する

    make
    make check
    sudo make install
    

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0