OS
How to configure static IP on Debian server
Edit config: Usual default config: Change to: 1.1.1.1 & 8.8.8.8 are Cloudflare and Google’s free public DNS servers, you can add your own dns server beside these. Restart network service for changes to take effect:
Enable remote root login
or enable Root Login via SSH: find: change to: restart the SSH server:
Time Zone
Current time zone info: List available time zones: Europe/Belgrade Europe/Berlin Europe/Brussels Europe/Bucharest Europe/Budapest Europe/Chisinau Europe/Copenhagen Europe/Dublin Set your timezone Another way to set time zone Unlink localtime file: Seting local timezone: To set the timezone this way you must unlink localtime file.
Processes
Dynamic real-time view of processes: Search processes by name: List processes by user: Scroll the process list vertically and horizontally and search & kill processes: (apt install htop) Kill process by name without allowing process to do cleanup or restart Kill process by PID without allowing process to do cleanup or restart
Crontab
Crontab is a file containing instructions for the cron daemon. It is a job scheduler where you add commands to be executed at defined periods. Edit existing crontab file, or make new one if it doesn’t exist: List of cronjobs , display crontab file contents: Reload crontab: (not necessary since the system will check periodically … Read moreCrontab
OS Update
These are tested on Ubuntu 20.04 but probably work on other Debian distributions Full update (no questions, yes to all) Removes packages that are no longer needed: