-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Server | ||
|
||
|
||
## Updates | ||
- [Update](./update.md) | ||
- [Automatic update](./atomatic_updates.md) | ||
|
||
## Resources | ||
- [Resources](./resources.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Automatic server updates with cron-apt | ||
|
||
## Install cron-apt | ||
|
||
apt install cron-apt | ||
|
||
|
||
## Configuration | ||
|
||
All of the configuration files for cron-apt are located in the directory “/etc/cron-apt/” and the default crontab entry is located at “/etc/cron.d/cron-apt.” To change the frequency in which cron-apt checks for updates you will need to edit the crontab entry. | ||
To configure cron-apt to send e-mail notifications, open the file “/etc/cron-apt/config” and adjust the following variables. | ||
|
||
# Configuration for cron-apt. For further information about the possible | ||
# configuration settings see /usr/share/doc/cron-apt/README.gz. | ||
|
||
MAILON="always" | ||
MAILTO="sysadmin@example.com" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Update Server | ||
|
||
Guide to update Debian-based server systems. | ||
|
||
## Update package lists | ||
|
||
sudo apt update | ||
|
||
## Perform system upgrades | ||
|
||
sudo apt upgrade | ||
sudo apt dist-upgrade | ||
|
||
## Reboot server | ||
|
||
sudo reboot | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
## List all installed packages with versions | ||
|
||
dpkg -l | ||
|
||
dpkg -l | grep '^ii' | ||
|