Server Maintenance: Difference between revisions

From Hackers & Designers
(add category)
(add list)
Line 5: Line 5:
To upgrade the system, your unix user needs to be in the <code>sudo</code> group. Following the basic process:
To upgrade the system, your unix user needs to be in the <code>sudo</code> group. Following the basic process:


- <code>sudo apt update</code> , upgrade local db packages
* <code>sudo apt update</code> , upgrade local db packages
 
* <code>sudo apt list --upgradable</code> , show upgradable packages
- <code>sudo apt list --upgradable</code> , show upgradable packages
* <code>sudo apt upgrade</code> , upgrade packages
 
- <code>sudo apt upgrade</code> , upgrade packages


To list all installed packages, run:
To list all installed packages, run:

Revision as of 11:46, 17 February 2023

H&D's VPS usually run on GNU/Linux Debian distribution.

Updating the system once a week (or every two weeks) is kinda good. It's good to cross-check the Debian mailing-list (debian-lts-announce@lists.debian.org) beforehand to see if anything major needs a security update or particular care.

To upgrade the system, your unix user needs to be in the sudo group. Following the basic process:

  • sudo apt update , upgrade local db packages
  • sudo apt list --upgradable , show upgradable packages
  • sudo apt upgrade , upgrade packages

To list all installed packages, run:

apt list --installed

MainNavigation No