This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
deb11:setup [2022/09/22 22:27] – [Install additional Apps] Bernard Condrau | deb11:setup [2024/12/13 12:04] (current) – [Install and configure packages] Bernard Condrau | ||
---|---|---|---|
Line 16: | Line 16: | ||
root: | root: | ||
- | ===== Install | + | ===== Install |
- | * < | + | * Additional packages< |
$ sudo apt install vim | $ sudo apt install vim | ||
$ sudo apt install zip | $ sudo apt install zip | ||
$ sudo apt install rename | $ sudo apt install rename | ||
- | $ sudo apt install rsync</ | + | $ sudo apt install rsync |
+ | $ sudo apt install openjdk-17-jre openjdk-17-jdk</ | ||
* Change visudo editor< | * Change visudo editor< | ||
+ | |||
+ | ===== 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:// | ||
+ |