Search squid archive

Re: How to build Squid 6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Alex
I realized it after I hit send. I have already resend it.
Sorry.

Regards
Henning


-----Oprindelig meddelelse-----
Fra: Alex Rousskov <rousskov@xxxxxxxxxxxxxxxxxxxxxxx> 
Sendt: 23. juli 2023 01:57
Til: Henning Svane <hsv@xxxxxxxxx>
Emne: Re: SV:  How to build Squid 6

For free Squid support, please keep the conversation on the mailing list, where others may benefit from the discussion. Thank you! --Alex.



On 7/22/23 19:39, Henning Svane wrote:
> Hi Alex
> 
> I have now followed the instruction below
> All compiling and building was done without problems.
> 
> When I run
> sudo systemctl status squid
> I get this message
> Unit squid.service could not be found.
> 
> What do I miss?
> 
> I can see that the directory /etc/squid is not create I guess I have to make it myself, correct?
> Can I used the old files from the old 5.2 installation?
> 
> Regards
> Henning
> 
> PS Here is the steps I used
> 
> sudo apt-get update
> sudo apt install build-essential       # to install C++
> sudo sed --in-place -E 's/# (deb-src.*updates main)/  \1/g' \ /etc/apt/sources.list
> sudo apt-get update
> sudo apt-get build-dep squid
> sudo apt-get install linuxdoc-tools
> sudo apt-get upgrade
> wget http://www.squid-cache.org/Versions/v6/squid-6.1.tar.gz
> tar -xzvf squid-6.1.tar.gz
> cd squid-6.1
> ./configure --with-openssl
> make -j2
> sudo make install
> 
> 
> 
> -----Oprindelig meddelelse-----
> Fra: squid-users <squid-users-bounces@xxxxxxxxxxxxxxxxxxxxx> På vegne af Alex Rousskov
> Sendt: 15. juli 2023 04:31
> Til: squid-users@xxxxxxxxxxxxxxxxxxxxx
> Emne: Re:  How to build Squid 6
> 
> On 7/14/23 19:07, Henning Svane wrote:
> 
>> I try to find a how to build Squid 6 on Ubuntu 22.04 (Jammy)
> 
> To build Squid v6 on Ubuntu from a source tarball with many optional features enabled, consider using the same commands that Squid CI tests are using:
> 
>       # deb-src sources are required for "apt-get build-dep" below,
>       # but you may find a better way to enable them in
>       # /etc/apt/sources.list, or you may already have them enabled
>       sudo sed --in-place -E 's/# (deb-src.*updates main)/  \1/g' \
>           /etc/apt/sources.list
>       sudo apt-get update
> 
>       # install various prerequisites and optional dependencies
>       sudo apt-get build-dep squid
>       sudo apt-get install linuxdoc-tools
> 
>       # download and unpack Squid sources; if you want a more secure
>       # option, use the official git repository instead; our CI commands
>       # use the git repository, not wget
>       wget http://www.squid-cache.org/Versions/v6/squid-6.1.tar.gz
>       tar -vzf squid-6.1.tar.gz
> 
>       cd squid-6.1
> 
>       # this step is not necessary when using bootstrapped sources
>       # as shown by the wget command above; this step is necessary
>       # if you get Squid sources from git
>       ./bootstrap.sh
> 
>       # you do not have to specify --with-openssl but if you need
>       # SslBump features, you should specify it (IMHO);
>       # see ./configure --help for many other options
>       ./configure --with-openssl
> 
>       # if you have n CPU cores available, then use "make -jn" or
>       # some such to speed the build up
>       make
> 
>       # this will install Squid into default directories unless
>       # you customize that during the ./configure step above
>       sudo make install
> 
> 
> HTH,
> 
> Alex.
> 
> 
> 
>> I have read the compile/build instruction on the Wiki
>>
>> Compiling Squid | Squid Web Cache wiki (squid-cache.org)
>> <https://wiki.squid-cache.org/SquidFaq/CompilingSquid>
>>
>> But I am not sure to do it after read the explanation.
>>
>> I have also looked at the build “example” from the
>>
>> dockerfiles/ubuntu-jammy/Dockerfile at master · kinkie/dockerfiles ·
>> GitHub
>> <https://github.com/kinkie/dockerfiles/blob/master/ubuntu-jammy/Docker
>> file>
>>
>> I have searched for a how to without luck.
>>
>> So do any one know where to find a description or how to.
>>
>> Regards
>>
>> Henning
>>
>>
>> _______________________________________________
>> squid-users mailing list
>> squid-users@xxxxxxxxxxxxxxxxxxxxx
>> http://lists.squid-cache.org/listinfo/squid-users
> 
> _______________________________________________
> squid-users mailing list
> squid-users@xxxxxxxxxxxxxxxxxxxxx
> http://lists.squid-cache.org/listinfo/squid-users

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux