Alban Vidal
aa55e7fd64
Modification des infons de connexions See merge request alban.vidal/basic_config_debian!3 |
||
---|---|---|
etc/ssh | ||
root | ||
.gitignore | ||
auto_config.sh | ||
LICENSE | ||
parameters.conf | ||
README.md |
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/alban.vidal/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
andip4all
: print interfaces list
Systemd / Journald
jf
: alias forjournalctl -f
jfu <units>
: function forjournalctl -f -u <unit> -u <unit>...
scf
: alias forsystemctl list-units --failed
scs <units>
: function forsystemctl status <units>
scc <units>
: function forsystemctl cat <units>