Files
debian/README.md
julien cb1519ecb0 doc
2025-10-24 14:03:58 +02:00

53 lines
1.5 KiB
Markdown
Executable File

# debian
Debian 13 NETig configuration for `server` or `desktop` profiles.
What it does :
* Update the system
* Install a firewall
* Install a set of packages accordingly to the selected profile
* Install Docker
* Add a ZRAM
* Apply any needed system configuration for your profile
What it doesn't :
* Add `contrib` nor `non-free` repositories
* Add server [maintenance scripts](https://git.netig.net/netig/srv-scripts)
* Configure the desktop for you
## Prerequisites
A fresh Debian 13 install without `Debian desktop environment` nor any desktop installed.
## Usage
> Warning ! The `server` profile will disable passwords SSH connection in favor of SSH keys, make sure to `ssh-copy-id` your key before rebooting the server.
Downlad and extract the archive :
```
# cd /tmp
# wget https://git.netig.net/netig/debian/archive/main.tar.gz
# tar -xvzf main.tar.gz
# cd debian/
```
And then run the `./run.sh` script, choose your profile and reboot the machine once done.
> If the script is not executed for the first time configuration will be skipped. If you don't want so, set the `config` variable to false into `/etc/netig.conf`.
## Tips
### Docker Rootless mode
If you want to use Docker as normal user first disable the system-wide Docker daemon :
```
# systemctl disable --now docker.service docker.socket
# rm /var/run/docker.sock
```
Then run `dockerd-rootless-setuptool.sh install` as a non-root user to set up the daemon.
## Links
* [Official Debian website](https://www.debian.org/index.html)