# Bootstrapping a Debian Workstation

[![Debian_Project](https://img.shields.io/badge/Debian_Project-indigo?style=flat-square)](https://www.debian.org/)
[![Download Debian](https://img.shields.io/badge/Download_Debian-forestgreen?style=flat-square)](https://www.debian.org/distrib/netinst)
[![Debian](https://img.shields.io/badge/Debian-555555?style=flat-square&logo=github)](https://github.com/debian)

Installation
-------------

[![Bootstrapping a Debian Machine](https://img.shields.io/badge/Bootstrapping_a_Debian_Machine-4F46E5?style=flat-square)](https://kb.havlas.me/books/debian-guides/page/bootstrapping-a-debian-machine)

### GNOME Desktop

[![GNOME_Project](https://img.shields.io/badge/GNOME_Project-indigo?style=flat-square)](https://www.gnome.org/)
[![GNOME](https://img.shields.io/badge/GNOME-555555?style=flat-square&logo=gitlab)](https://gitlab.gnome.org/GNOME)

#### Clean Up the Standard Installation

```shell
sudo apt purge gnome-clocks gnome-connections gnome-contacts gnome-maps gnome-music gnome-remote-desktop gnome-snapshot gnome-sound-recorder gnome-tour gnome-user-docs gnome-user-share gnome-weather \
    libreoffice* lynx rygel shotwell simple-scan yelp
```

```shell
sudo apt --purge autoremove
```

#### Install Desktop Goodies

```shell
sudo apt install bmap-tools chromium firefox-esr rsync tcpdump tpm2-tools wakeonlan whois
```

#### Install Development Tools

```shell
sudo apt install git jq make pngquant podman python3-venv qrencode uuid xxd yq
```

```shell
sudo apt install cockpit cockpit-podman
sudo mkdir -p "/etc/systemd/system/cockpit.socket.d"
sudo tee "/etc/systemd/system/cockpit.socket.d/10-localhost.conf" >/dev/null <<'EOF'
[Socket]
ListenStream=
ListenStream=127.0.0.1:9090
EOF
```

```shell
curl --proto '=https' --tlsv1.2 -sSf "https://just.systems/install.sh" | sudo bash -s -- --to "/usr/local/bin"
```

Configuration
--------------

#### Schedule Cron Jobs During Work Hours

```crontab
17 *	* * *	root	cd / && run-parts --report /etc/cron.hourly
25 14	* * *	root	test -x /usr/sbin/anacron || { cd / && run-parts --report /etc/cron.daily; }
47 14	* * 2	root	test -x /usr/sbin/anacron || { cd / && run-parts --report /etc/cron.weekly; }
52 14	1 * *	root	test -x /usr/sbin/anacron || { cd / && run-parts --report /etc/cron.monthly; }
```