[squid-users] Installing Squid as a service on Oracle Linux 7.2

Sebastien.Boulianne at cpu.ca Sebastien.Boulianne at cpu.ca
Tue Dec 15 21:08:24 UTC 2015


Hi,

Thanks you very much for your answer.
It tooks me about 1 min to get it too.

I reach the wiki where Eliezer give his repositery.

I just did a yum –y install squid-3.5.11 and I got the squid.service…

All is perfect now.

Thanks anyways.

Sébastien


De : squid-users [mailto:squid-users-bounces at lists.squid-cache.org] De la part de Yuri Voinov
Envoyé : 15 décembre 2015 15:58
À : squid-users at lists.squid-cache.org
Objet : Re: [squid-users] Installing Squid as a service on Oracle Linux 7.2


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Ok,

I'll just done your job.

See attachements. I wrote squid.service, it takes approx. 30 seconds.

PS. But note: you must install both files manually yourself. Read manuals anyway.

16.12.15 2:29, Sebastien.Boulianne at cpu.ca<mailto:Sebastien.Boulianne at cpu.ca> пишет:
> Hi,

      >

      > Your answer didn’t help me.

      > Does it have anyone who create a service file for squid and
      want to share it.

      > I tried the squid.service from the yum package (v3.3.8) but
      it didn’t work.

      >

      > Thanks

      >

      > Sébastien

      > De : squid-users
      [mailto:squid-users-bounces at lists.squid-cache.org] De la part de
      Yuri Voinov

      > Envoyé : 15 décembre 2015 10:35

      > À : squid-users at lists.squid-cache.org<mailto:squid-users at lists.squid-cache.org>

      > Objet : Re: [squid-users] Installing Squid as a service on
      Oracle Linux 7.2

      >

      >

      > Squid's source don't contain automatically installed
      autostart services for all possible platforms. You can do it
      yourself.

      >

      > 15.12.15 21:15,
      Sebastien.Boulianne at cpu.ca<mailto:Sebastien.Boulianne at cpu.ca><mailto:Sebastien.Boulianne at cpu.ca><mailto:Sebastien.Boulianne at cpu.ca>
      пишет:

      > > Hi,

      >

      >

      >

      >       > I hope all is going perfectly for you.

      >

      >

      >

      >       > Im trying to install Squid-3.5.12 from source.

      >

      >       > I followed the doc to compile it properly.

      >

      >

      >

      >       > When I ran squid -z, all is perfect.

      >

      >

      >

      >       > [root at squid /]# squid -z

      >

      >       > [root at squid /]# 2015/12/15 10:06:20 kid1| Set
      Current

      >       Directory to /var/spool/squid

      >

      >       > 2015/12/15 10:06:20 kid1| Creating missing swap
      directories

      >

      >       > 2015/12/15 10:06:20 kid1| /var/spool/squid exists

      >

      >       > 2015/12/15 10:06:20 kid1| Making directories in

      >       /var/spool/squid/00

      >

      >       > 2015/12/15 10:06:20 kid1| Making directories in

      >       /var/spool/squid/01

      >

      >       > 2015/12/15 10:06:20 kid1| Making directories in

      >       /var/spool/squid/02

      >

      >       > 2015/12/15 10:06:20 kid1| Making directories in

      >       /var/spool/squid/03

      >

      >       > 2015/12/15 10:06:20 kid1| Making directories in

      >       /var/spool/squid/04

      >

      >       > 2015/12/15 10:06:20 kid1| Making directories in

      >       /var/spool/squid/05

      >

      >       > 2015/12/15 10:06:20 kid1| Making directories in

      >       /var/spool/squid/06

      >

      >       > 2015/12/15 10:06:20 kid1| Making directories in

      >       /var/spool/squid/07

      >

      >       > 2015/12/15 10:06:20 kid1| Making directories in

      >       /var/spool/squid/08

      >

      >       > 2015/12/15 10:06:20 kid1| Making directories in

      >       /var/spool/squid/09

      >

      >       > 2015/12/15 10:06:20 kid1| Making directories in

      >       /var/spool/squid/0A

      >

     >       > 2015/12/15 10:06:20 kid1| Making directories in

      >       /var/spool/squid/0B

      >

      >       > 2015/12/15 10:06:20 kid1| Making directories in

      >       /var/spool/squid/0C

      >

      >       > 2015/12/15 10:06:20 kid1| Making directories in

      >       /var/spool/squid/0D

      >

      >       > 2015/12/15 10:06:20 kid1| Making directories in

      >       /var/spool/squid/0E

      >

      >       > 2015/12/15 10:06:20 kid1| Making directories in

      >       /var/spool/squid/0F

      >

      >

      >

      >       > But when I try to « service squid start », it
      fails... There

      >       is no squid.service.

      >

      >

      >

      >       > [root at squid /]# service squid start

      >

      >       > Redirecting to /bin/systemctl start  squid.service

      >

      >       > Failed to start squid.service: Unit squid.service
      failed to

      >       load: No such file or directory.

      >

      >

      >

      >       > I searched for a doc how to create this file but I
      can't find

      >       it.

      >

      >

      >

      >       > Can you help me please ?

      >

      >

      >

      >       > Sébastien Boulianne

      >

      >       > Administrateur réseau & système / Network
      & System

      >       Administrator.

      >

      >       > Gestion des infrastructures / Infrastructure
      Management.

      >

      >       > CCNA / CompTIA Server+ / Spécialiste en
      monitoring.

      >

      >

      >
sebastien.boulianne at cpu.ca<mailto:sebastien.boulianne at cpu.ca><mailto:sebastien.boulianne at cpu.ca><mailto:sebastien.boulianne at cpu.ca><mailto:sebastien.boulianne at cpu.ca><mailto:sebastien.boulianne at cpu.ca><mailto:sebastien.boulianne at cpu.ca><mailto:sebastien.boulianne at cpu.ca>

      >

      >

      >

      >       > [cid:image001.jpg at 01D13720.14E92580]

      >

      >

      >

      >

      >

      >       > 2323, du Versant Nord, suite 100

      >

      >       > Québec (Québec) G1N 4P4

      >

      >       > Téléphone : (418) 681 6974 poste 666

      >

      >       > Ligne sans frais : 1 888 681 6974

      >

     >       > Télécopieur : (418) 681 1444

      >

      >

      >

      >       > Information confidentielle : Le présent message,
      ainsi que

      >       tout fichier qui y est joint, est envoyé à l'intention
      exclusive

      >       de son ou de ses destinataires, il est de nature
      confidentielle et

      >       peut constituer une information privilégiée. Nous
      avertissons

      >       toute personne autre que le destinataire prévu que tout
      examen,

      >       réacheminement, impression, copie, distribution ou
      autre

      >       utilisation de ce message et de tout fichier qui y est
      joint est

      >       strictement interdit. Si vous n'êtes pas le
      destinataire prévu,

      >       veuillez en aviser immédiatement l'expéditeur par
      retour de

      >       courriel et supprimer ce message et tout document joint
      de votre

      >       système. Merci.

      >

      >

      >

      >       > Confidentiality Warning : This message and any
      attachments

      >       are intended only for the use of the intended
      recipient(s), are

      >       confidential, and may be privileged. If you are not the
      intended

      >       recipient, you are hereby notified that any review,

      >       retransmission, conversion to hard copy, copying,
      circulation or

      >       other use of this message and any attachments is
      strictly

      >       prohibited. If you are not the intended recipient,
      please notify

      >       the sender immediately by return e-mail, and delete
      this message

      >       and any attachments from your system. Thank you.

      >

      >

      >

      >       > « Gérer c'est prévoir (voir avant, avoir une
      vision de

      >       l'avenir) »

      >

      >       > [cid:image002.jpg at 01D13720.14E92580]

      >

      >

      >

      >

      >

      >

      >

      >

      >

      >       > _______________________________________________

      >

      >       > squid-users mailing list

      >

      >       >
squid-users at lists.squid-cache.org<mailto:squid-users at lists.squid-cache.org><mailto:squid-users at lists.squid-cache.org><mailto:squid-users at lists.squid-cache.org>

      >

      >       > http://lists.squid-cache.org/listinfo/squid-users

      >

      >

      >

      > _______________________________________________

      > squid-users mailing list

      > squid-users at lists.squid-cache.org<mailto:squid-users at lists.squid-cache.org>

      > http://lists.squid-cache.org/listinfo/squid-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJWcH7uAAoJENNXIZxhPexGDbQH/RTjH2cN53mXTAzKsN/zCHD9
b5NfyQsqYHxctnWG1fpZScNubbUP2kwGMEZOd+7ZpImHpt73QktJ1irAgW4Zv5NW
sgraQaCYPDzw1nWOHtDGnHaTI6UWa3BYNHQ6KklauBPcF3TRTAXf1n90CdTFpY0R
3OjJUgGc1nSQhDUN+tCK42JGL02+JkOTSiaOiF/DIBm/Yzs9JzW6J0F5HWsRn5GH
mg++cFx6zBkRm/Av7mV493P1wQxdo0IywV/x1lpu9DSDz+VdsmQTFhD6BUO0eDvB
NZCNJIcfLkFmCpEhR0UCf8OUepLrClgClzSIMcpnwJaf9OEb27+vJ6mKywDSCJE=
=wvB9
-----END PGP SIGNATURE-----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20151215/013c0eb9/attachment-0001.html>


More information about the squid-users mailing list