Difference between revisions of "How to upgrade SafeSquid from CLI(Command Line Interface)"

From Secure Web Gateway
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Overview=
=Overview=


Upgrading SafeSquid from its web interface https://safesquid.cfg/ is the default and recommend way to upgrade SafeSquid.
Upgrading SafeSquid from its web interface https://safesquid.cfg/ is the default and '''recommend way''' to upgrade SafeSquid.


However, with SafeSquid version 2022.0718.1917.3 and older upgrading from its web interface does not work because of inconsistent directive in monit configuration.
However, with SafeSquid version '''2022.0718.1917.3''' and older, upgrading from SafeSquid's web interface does not work because of inconsistent directive in monit configuration.


Also, there might be certain situations where you do not have access to SafeSquid’s web interface but you have access to its CLI.
Also, there might be certain situations where you do not have access to SafeSquid’s web interface but you do have access to its command line interface.


You can proceed to upgrade SafeSquid from its CLI.
In '''such situations''' you can upgrade SafeSquid from its command line interface.


= How to upgrade SafeSquid from CLI.=
= Procedure =
<br>
Visit https://downloads.safesquid.com
Visit https://downloads.safesquid.com
[[File:Slide1-cliupgrade.png|left]]
[[File:Slide1-cliupgrade.png|center]]
[[File:Slide2-cliupgrade.png|left]]
<br>
[[File:Slide3-cliupgrade.png|left]]
[[File:Slide2-cliupgrade.png|center]]
[[File:Slide4-cliupgrade.png|left]]
<br>
[[File:Slide5-cliupgrade.png|left]]
[[File:Slide3-cliupgrade.png|center]]
<br>
Latest version of SafeSquid as of writing this document is: '''2022.1101.1921.3-swg-standard'''
[[File:Slide4-cliupgrade.png|center]]
<br>
[[File:Slide5-cliupgrade.png|center]]
<br>
  ls -lrt /opt/safesquid/bin/safesquid
  ls -lrt /opt/safesquid/bin/safesquid
[[File:Slide6-cliupgrade.png|left]]
[[File:Slide6-cliupgrade.png|center]]
<br>
  cd /usr/local/src
  cd /usr/local/src
  wget <paste_link>
 
[[File:Slide7-cliupgrade.png|left]]
  wget <copied_link>
[[File:Slide7-cliupgrade.png|center]]
<br>
  tar -xzvf <safesquid_tar_file>
  tar -xzvf <safesquid_tar_file>
[[File:Slide9-cliupgrade.png|left]]
[[File:Slide9-cliupgrade.png|center]]
[[File:Slide10-cliupgrade.png|left]]
<br>
[[File:Slide10-cliupgrade.png|center]]
<br>
  _mkappliance/installation/setup.sh
  _mkappliance/installation/setup.sh
[[File:Slide12-cliupgrade.png|left]]
[[File:Slide12-cliupgrade.png|center]]
[[File:Slide13-cliupgrade.png|left]]
<br>
[[File:Slide13-cliupgrade.png|center]]
<br>
  ls -lrt /opt/safesquid/bin/safesquid
  ls -lrt /opt/safesquid/bin/safesquid
[[File:Slide14-cliupgrade.png|left]]
[[File:Slide14-cliupgrade.png|center]]
<br>
https://safesquid.cfg/
https://safesquid.cfg/
[[File:Slide15-cliupgrade.png|left]]
[[File:Slide15-cliupgrade.png|center]]
 
[[Category:How To]]

Latest revision as of 15:32, 9 February 2023

Overview

Upgrading SafeSquid from its web interface https://safesquid.cfg/ is the default and recommend way to upgrade SafeSquid.

However, with SafeSquid version 2022.0718.1917.3 and older, upgrading from SafeSquid's web interface does not work because of inconsistent directive in monit configuration.

Also, there might be certain situations where you do not have access to SafeSquid’s web interface but you do have access to its command line interface.

In such situations you can upgrade SafeSquid from its command line interface.

Procedure


Visit https://downloads.safesquid.com

Slide1-cliupgrade.png


Slide2-cliupgrade.png


Slide3-cliupgrade.png


Latest version of SafeSquid as of writing this document is: 2022.1101.1921.3-swg-standard

Slide4-cliupgrade.png


Slide5-cliupgrade.png


ls -lrt /opt/safesquid/bin/safesquid
Slide6-cliupgrade.png


cd /usr/local/src
wget <copied_link>
Slide7-cliupgrade.png


tar -xzvf <safesquid_tar_file>
Slide9-cliupgrade.png


Slide10-cliupgrade.png


_mkappliance/installation/setup.sh
Slide12-cliupgrade.png


Slide13-cliupgrade.png


ls -lrt /opt/safesquid/bin/safesquid
Slide14-cliupgrade.png


https://safesquid.cfg/

Slide15-cliupgrade.png