Skip to content

wildfielded/samples-ubuntu

Repository files navigation

Configuration samples and tips for Ubuntu/Kubuntu

Based on my dummy experience.

  1. Users and their Environment tuning
    /home/ded/.bashrc - Prompt shortening
    /home/ded/.bash_aliases - Some useful aliases
    /root/.bash_aliases - Same, but feel difference
    /etc/adduser.conf - Template for creating users with admin (sudo) rights
    /etc/login.defs - User policies
    /etc/systemd/logind.conf - It used to work with 9 ttys
    /etc/default/console-setup 9 ttys and Russian locale
    /etc/default/keyboard - Russian locale
    /etc/default/locale - Russian locale

  1. Networking
    /etc/netplan/00-installer-config.yaml - Set interfaces through netplan with networkd (Ubuntu)
    /etc/netplan/01-network-manager-all.yaml - Let NetworkManager working (Kubuntu), "he" is Ironman =)

  1. Proxy configuration
    /etc/apt/apt.conf.d/proxy - For apt only (old way)
    /etc/environment - System-wide proxy configuration sample
    /etc/wgetrc - Possible overrides for wget
    /etc/profile - The most universal (except of apt) proxy configuration sample via profile-file.

  1. SSH
    /home/ded/.ssh/config - It works (Old ssh clients and Git accounts)

  1. NTP
    /etc/systemd/timesyncd.conf - Don't forget it with timedatectl set-timezone Asia/Moscow

  1. Logging
    /etc/rsyslog.conf - Main config for rsyslogd
    /etc/rsyslog.d/bsdsrv - Sample for external event sources
    /etc/logrotate.conf - Defaults for logrotate
    /etc/logrotate.d/rsyslog - For example

  1. Bind
    /etc/bind/ - All the given configs provide the same functionality as in the example FreeBSD servers
    /etc/default/named - and don't forget to add -4 flag for operating with IPv4 only

  1. Git matters
    /home/ded/.gitconfig - Some tips which may be used both globally or locally
    /home/ded/.git-cded0 - Format sample for personal access token

  1. New mc skin
    /usr/share/mc/skins/_ded.ini
    I don't know why Midnight Commander has too light and gouged out the default blue background on some screens. We can create our own skin based on the default skin and make the blue background darker.

  1. Unplugged
    /home/ded/.config/sublime-text-4/Packages/User/Preferences.sublime-settings - Sublime-Text customization
    /home/ded/.netrc - Makes Heroku login simple

About

Configuration samples for Ubuntu/Kubuntu

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages