Go to file
Alban Vidal 8a265289a8 Update comment
Signed-off-by: Alban Vidal <alban.vidal@zordhak.fr>
2019-04-07 11:35:45 +02:00
etc/ssh Update comment 2019-04-07 11:35:45 +02:00
root Modification des infons de connexions 2019-03-26 08:19:37 +01:00
.gitignore Add conf file and parameters values 2018-05-15 17:06:02 +00:00
auto_config.sh Add procps package - Close #10 2019-03-27 06:41:24 +01:00
LICENSE Initial commit 2018-05-14 00:41:35 +02:00
parameters.conf Add Time Zone configuration 2018-05-29 00:07:53 +02:00
README.md Update repository URL 2019-03-27 06:51:44 +01:00

Basic config for Debian

This script configures a basic configuration for Debian

The following components are configured:

  • Install git and tig
  • Set git username and email
  • Install bash-completion
  • Install and configure auto updates (unattended-upgrades and apt-listchanges
  • Install and tune logrotate
  • Disable IPv6 (or no, see parameters.conf)
  • Tune .vimrc
  • Tune .bashrc
  • Tune .profile
  • Send alert email for new ssh connexion
  • Set Time Zone (see parameters.conf to edit, default "Europe/Paris")

You just need to clone this repository in /srv/git/basic_config_debian and to execute the auto_config.sh script

apt install git
mkdir -p /srv/git
git clone https://framagit.org/zorval/config_system/basic_config_debian.git /srv/git/basic_config_debian
cd /srv/git/basic_config_debian
./auto_config.sh

New aliases and available functions

Hard drive

  • hddtop: print hard drive usage

Memory

  • memtop: print top usage memory

Network

  • ipa, ip4a, ip6a and ip4all: print interfaces list

Systemd / Journald

  • jf: alias for journalctl -f
  • jfu <units>: function for journalctl -f -u <unit> -u <unit>...
  • scf: alias for systemctl list-units --failed
  • scs <units>: function for systemctl status <units>
  • scc <units>: function for systemctl cat <units>