Author: mblum6180_l6d6qy
Things to do after installing Debian
Initial Setup and User Configuration
Add User to sudoers:
su - apt install sudo usermod -aG sudo [user] exit logout
Log back in as the user.
System Utilities and Services
Install Basic Services:
sudo apt install avahi-daemon sudo shutdown -r now
Reboot the system to apply changes. Log back in after reboot.
SSH Key Configuration:
ssh-copy-id (UserName)@(ComputerName).local
GUI Management (if needed):
Disable GUI:
sudo systemctl isolate multi-user.target
Enable GUI:
sudo systemctl isolate graphical.target
Serial Port Access
Adding a User to tty and dialout Groups:
sudo usermod -a -G tty [username] sudo usermod -a -G dialout [username]
System Updates and Package Installation
Update and Upgrade Packages:
sudo apt update sudo apt upgrade -y
Install Development Tools and Utilities:
sudo apt install build-essential screen fail2ban htop rsync vim -y sudo apt install tmux curl git ncdu python3-pip python-is-python3 python-dev-is-python3 -y
Create an Update Script
Script to Automate Updates:
Create a new script file, e.g.,
update_script.sh
and make it executable:nano update_script.sh # Add the following content to the file: #!/bin/bash sudo apt update sudo apt full-upgrade -y sudo apt autoremove -y sudo apt autoclean flatpak update sudo snap refresh # Make the script executable: chmod +x update_script.sh
1912 Bethlehem Steel
[vc_row][vc_column][vc_raw_html]JTNDZGl2JTIwaWQlM0QlMjJvcGVuc2VhZHJhZ29uMSUyMiUzRSUzQyUyRmRpdiUzRQ==[/vc_raw_html][vc_raw_js]JTNDc2NyaXB0JTIwc3JjJTNEJTIyJTJGd3AtY29udGVudCUyRnBsdWdpbnMlMkZvcGVuc2VhZHJhZ29uJTJGb3BlbnNlYWRyYWdvbi5taW4uanMlMjIlM0UlM0MlMkZzY3JpcHQlM0UlMEElM0NzY3JpcHQlMjB0eXBlJTNEJTIydGV4dCUyRmphdmFzY3JpcHQlMjIlM0UlMEElMjAlMjAlMjAlMjB2YXIlMjB2aWV3ZXIlMjAlM0QlMjBPcGVuU2VhZHJhZ29uJTI4JTdCJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwaWQlM0ElMjAlMjJvcGVuc2VhZHJhZ29uMSUyMiUyQyUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMHByZWZpeFVybCUzQSUyMCUyMiUyRndwLWNvbnRlbnQlMkZwbHVnaW5zJTJGb3BlbnNlYWRyYWdvbiUyRmltYWdlcyUyRiUyMiUyQyUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMHRpbGVTb3VyY2VzJTNBJTIwJTIyJTJGd3AtY29udGVudCUyRnVwbG9hZHMlMkZ6b29tJTJGQmV0aGxlaGVtU3RlZWwxOTEyLmR6aSUyMiUwQSUyMCUyMCUyMCUyMCU3RCUyOSUzQiUwQSUzQyUyRnNjcmlwdCUzRQ==[/vc_raw_js][/vc_column][/vc_row][vc_section][vc_row][vc_column][vc_column_text]
[/vc_column_text][/vc_column][/vc_row][/vc_section]