Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
litespeed_wiki:php:apt [2020/06/25 13:48]
Lucas Rolff 20.04 and PHP 7.3/7.4
litespeed_wiki:php:apt [2021/02/04 13:33] (current)
Lisa Clarke [What the Script Does] clarified that distro name is an example
Line 49: Line 49:
  
   apt-cache search lsphpXX (XX can be 54,​55,​56,​70,​71,​72,​73,​74)   apt-cache search lsphpXX (XX can be 54,​55,​56,​70,​71,​72,​73,​74)
-===== About enable_lst_debain_repo.sh ===== 
  
-This is the script ​run in step 1It will do the following things:  +==== What the Script Does ==== 
-  * Add the LiteSpeed Debian Repository to Debian'​s source list folder + 
-<​code>​echo "deb http://​rpms.litespeedtech.com/​debian/ ​jessie ​main" > /​etc/​apt/​sources.list.d/​lst_debian_repo.list </​code>​ +When you run the ''​enable_lst_debian_repo.sh''​ script, it will automatically execute these lines of code
-  * Fetch LiteSpeed Tech's gpg public key and add it to APT'​s ​trusted key zone + 
-<​code>​wget -O /​etc/​apt/​trusted.gpg.d/​lst_repo.gpg http://​rpms.litespeedtech.com/​debian/​lst_repo.gpg </​code>​ +<​code>​ 
-  * Update the APT package list+echo "deb http://​rpms.litespeedtech.com/​debian/ ​demo main" > /​etc/​apt/​sources.list.d/​lst_debian_repo.list 
 +</​code>​ 
 + 
 +This detects your OS Ubuntu/​Debian distro (''​demo''​ in this example) ​and adds associated LiteSpeed Debian/​Ubuntu Repository info to Debian'​s ​source list folder. 
 + 
 +<​code>​ 
 +wget -O /​etc/​apt/​trusted.gpg.d/​lst_repo.gpg http://​rpms.litespeedtech.com/​debian/​lst_repo.gpg ​ 
 +</​code>​ 
 + 
 +This fetches LiteSpeed Tech's GPG public key and adds it to APT's trusted key zone. 
 <​code>​apt-get update</​code>​ <​code>​apt-get update</​code>​
 +
 +This updates the APT package list. Packages installed from the LiteSpeed repository with the ''​apt-get''​ command will automatically authenticate the GPG signature of the repository.
 +
 +**REMEMBER**:​ You do not need to execute these steps yourself! The ''​enable_lst_debian_repo.sh''​ script does it for you!
 +
  
  
-When packages are installed from the LiteSpeed repository with the apt-get command, the gpg signature of the repository will now be automatically authenticated. 
 ===== Notes ===== ===== Notes =====
  
  • Admin
  • Last modified: 2020/06/25 13:48
  • by Lucas Rolff