This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| deb13:minisetup [2026/09/10 15:30] – [Network] Bernard Condrau | deb13:minisetup [2026/09/10 15:53] (current) – Bernard Condrau | ||
|---|---|---|---|
| Line 20: | Line 20: | ||
| gateway 192.168.3.1 | gateway 192.168.3.1 | ||
| dns-nameservers 192.168.3.1</ | dns-nameservers 192.168.3.1</ | ||
| + | * Add the nameserver to ''/ | ||
| * Reboot with either of the following commands:< | * Reboot with either of the following commands:< | ||
| sudo shutdown -r now</ | sudo shutdown -r now</ | ||
| + | * Don't forget to bridge the interface if it is a VirtualBox virtual machine. | ||
| ===== Security ===== | ===== Security ===== | ||
| * Configure [[deb9: | * Configure [[deb9: | ||
| Line 35: | Line 36: | ||
| $ sudo apt install rename | $ sudo apt install rename | ||
| $ sudo apt install rsync | $ sudo apt install rsync | ||
| - | $ sudo apt install curl | + | $ sudo apt install curl</ |
| - | $ sudo apt install hping3 | + | |
| - | $ sudo apt install openjdk-17-jre openjdk-17-jdk</ | + | |
| * Change visudo editor< | * Change visudo editor< | ||
| * Check install< | * Check install< | ||
| - | ===== Upgrade linux headers ===== | ||
| - | * Check remaining space on the boot partition with:< | ||
| - | * Remove outdated kernel packages:< | ||
| - | * First check your kernel version, so you won't delete the in-use kernel image, running:< | ||
| - | * Delete the kernels you don't want/need anymore by running this:< | ||
| - | * Update grub kernel list:< | ||
| - | |||
| - | ===== System Startup ===== | ||
| - | Debian 11 uses Systemd, not SysV, that's why your commands in ''/ | ||
| - | - Create a rc.local unit file, follow [[deb10: | ||
| - | - Create file rc.local in /etc with the following content:< | ||
| - | #!/bin/sh -e | ||
| - | # | ||
| - | # rc.local | ||
| - | # | ||
| - | # This script is executed at the end of each multiuser runlevel. | ||
| - | # Make sure that the script will "exit 0" on success or any other | ||
| - | # value on error. | ||
| - | # | ||
| - | # In order to enable or disable this script just change the execution | ||
| - | # bits. | ||
| - | # | ||
| - | # By default this script does nothing. | ||
| - | exit 0</ | ||
| - | - Add execute permissions and start daemon:< | ||
| - | systemctl daemon-reload | ||
| - | systemctl start rc-local | ||
| - | systemctl status rc-local | ||
| - | |||
| - | ● rc-local.service - / | ||
| - | | ||
| - | Drop-In: / | ||
| - | | ||
| - | | ||
| - | Process: 1443 ExecStart=/ | ||
| - | Tasks: 0 (limit: 4915) | ||
| - | | ||
| - | </ | ||
| - | |||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | ===== System Shutdown ===== | ||
| - | - Put a symbolic link to the script to be run at shutdown into / | ||
| - | * [[https:// | ||
| - | * [[https:// | ||