Scripts to install Debian
Go to file
gardouille af7c13a2f2 post_install_sid.sh: Modify one time only the ntp config. 2015-11-12 15:43:28 +01:00
apt Define apt periodic tasks (autoclean, dowload packages, …). 2015-11-04 09:17:21 +01:00
modprobe.d Forgot to add modprobe files … 2015-11-03 18:57:23 +01:00
seed Add preseed files. 2015-10-27 22:51:20 +01:00
.gitignore post_install_sid: Load some informations from another to avoid to enter 2015-11-03 12:10:27 +01:00
CHANGELOG.md post_install_sid.sh: write Graphic Environment doc. 2015-11-12 02:43:34 +01:00
README.md post_install_sid.sh: Write "Admin tools for cli" doc. 2015-11-12 15:33:29 +01:00
informations.template post_install_sid.sh: Modify one time only the ntp config. 2015-11-12 15:43:28 +01:00
post_install_sid.sh post_install_sid.sh: Write "Admin tools for cli" doc. 2015-11-12 15:33:29 +01:00

README.md

Table of Contents

  1. Post installation script for Debian Sid

post_install_sid.sh

Script to complete the installation of Debian Sid on my laptop.

How-to

  • You just have to use the template file to specify your own informations:
cp informations.template informations
vi informations
  • Then run the script:
sudo post_install_sid.sh

Description

Apt configuration

apt.conf files
  • Use apt.conf.d directory from git repository to provide additionnal configurations such as:
    • Update package lists every day.
    • Dowload upgradeable packages every day.
    • Automatically clean dowloaded packages every week
    • Set the default Debian version to Sid/Unstable.
    • … see apt/apt.conf.d/ files.
preferences files
  • Use apt/preferences.d directory from git repository to provide the preferences.d system directory.
  • Default preferences: Sid < Stretch < Stable < Old-stable < Experimental
  • Iceweasel/Icedove preferences: Experimental
sources-list files
  • Use sources-list.d directory from git repository to provide the sources-list.d system directory.
  • Add Wheezy (official + backports), Jessie (official + backports), Stretch (official), Sid (official + multimedia) and Experimental (official) repositories.

X11 Server

Pre-Configuration
  • Load x11-common seed file that allows anybody to run the X server.
Add
  • mesa-utils: Provides several utilities built by Mesa (glxinfo, glxgears, …).
  • xorg: Provides the X librairies, an X server, … for a standalone workstation running the X Window System.

Graphic Environment

Add
  • gtk2-engines-cleanice: Contains theme engine and 3 themes for GTK.
  • herbstluftwm: Manual tiling window manager for X11.
  • i3lock: Simple screen locker.
  • lxappearance: LXDE GTK+ theme switcher.
  • nitrogen: Wallpaper browser and changing utility.
    • Easy to manage multi-screen.
  • redshift: Adjusts the color temperature of your screen.
  • rofi: Can act as an application launcher, window switcher, ssh launcher and dmenu replacement.
  • roxterm: Multi-tabbed GTK+/VTE terminal emulator.
  • scrot: Command line SCReen shOT utility (screen capture).
  • suckless-tools: Simple commands for minimalistic window managers.
  • terminator: Multiple GNOME terminals in one window.
  • wmctrl: Command line tool to interact with an EWMH/NetWM compatible X Window Manager.
  • xbacklight: Simple utility to set the backlight level.
  • xclip: Command line interface to X selections/clipboard.
    • Used with VIM to copy the vim-selection into X11 buffer.
Remove
  • Sometimes automatically installed with GUI packages:
    • xscreensaver
    • xscreensaver-data

Gnome tools

Add
  • eog: Eye of GNOME graphics viewer program.
  • evince: Document (PostScript, PDF) viewer.
  • etherape: Graphical network monitor.
  • gedit: Official text editor of the GNOME desktop environment.
  • gnome-calculator: GNOME desktop calculator.
  • gparted: GNOME partition editor.
  • nemo: Official Cinnamon File Manager (Nautilus replacement).
  • nemo-fileroller: Nemo extension to manage (create, extract, …) archives.
  • planner: Project management application that supports Gantt.

Dev tools

Add
  • build-essential: Useful to build Debian packages.
  • binutils: GNU assembler, linker and binary utils.
  • cpp: GNU C preprocessor.
  • debconf-utils: Contains some small utilities for debconf developers.
    • Load pre-seed files (debconf-set-selections) or see current debconf database (debconf-get-selections).
  • gcc: GNU C compiler.
  • g++: GNU C++ compiler.
  • make: Utility for directing compilation.

Admin tools for cli

Pre-Configuration
  • Load hddtemp pre-seed file.
Add
  • acpitool: Command line ACPI client for laptop users (apm replacement).
  • alien: Convert and install rpm and other packages.
  • apt-file: Search tool for files within Debian packages.
  • apt-listbugs: Tool which lists critical bugs before each APT installation.
    • List all pending bugs of a package:
apt-listbugs -s all -S pending list PKG_NAME
  • apt-rdepends: Recursively lists package dependencies.
    • List the dependencies of a package:
apt-rdepends vim-tiny
  • List packages that depend of a package:
apt-rdepends -r vim-nox
  • Get a graph of dependencies:
apt-rdepends -d iceweasel|dot -Tsvg > iceweaseldep.svg
  • apt-show-source: Shouws source-package information.
  • apt-show-versions: Lists available package versions with version.
  • dctrl-tools: Tools to process Debian package information.
  • debian-goodies: Small toolbox-style utilities for Debian systems.
    • Show which installed packages occupy the most place:
dpigs
  • git: Fast, scalable and distributed revision control system (cvs).
  • git-svn: Git extension for SVN interoperability.
  • gpm: General Purpose Mouse interface.
    • e.g: Allows mouse in tty.
  • hddtemp: Hard drive temperature monitoring utility.
  • htop: Interactive processes viewer.
  • ifscheme: Scheme control for network interfaces.
    • Useful to manage multiple WLAN networks.
  • mlocate: Quickly find files on the filesystem based on their name.
  • lsof: Utility to list open files.
  • mercurial: Easy-to-use, scalable distributed version control system (cvs).
  • module-assistant: Tool to make module package creation easier.
  • ncdu: Ncurses disk usage viewer.
  • netdiscover: Active/passive network address scanner using ARP requests.
  • netselect-apt: Speed tester for choosing a fast Debian mirror.
  • nmap: The Network Mapper.
  • ntp: Network Time Protocol daemon and utility programs.
  • parted: Disk partition manipulator.
  • pastebinit: Command-line pastebin client.
    • Send the command result to a pastebinit:
ls -al /dev | pastebinit -
pastebinit - < <(ls -al /dev)
  • rsyslog: Reliable system and kernel logging daemon.
  • sysv-rc-conf: SysV init runlevel configuration tool for the terminal.
  • sudo: Provide limited super user privileges to specific users.
  • tcpdump: Command-line network traffic analyzer.
  • tree: Displays an indented directory tree,in color.
Post-Configuration
  • apt-file: Synchronize the package contents from their sources.
  • Grub: Add the possibility to set the GRUB_TIMEOUT
  • mlocate: Update the mlocate database.
  • Modprobe:
    • Disable the annoying console beeps
    • Ensure to disable dangerous modules such as firewire, thunderbolt, …
  • NTP:
    • Set a better NTP server (strate 1) for french computer.
    • Restart the NTP service.
  • Rsyslog: Display rsyslog in tty9.
  • Sudo: Add default user to the sudo group

System tools for shell

Remove
  • bluetooth packages (bluetooth, bluez)
Configuration
  • Disable Openvpn service.
    • Useful in case of many configuration files. A default vpn is launch by "post-up" instruction in '/etc/network/interfaces' file:
allow-hotplug enp0s25
iface enp0s25 inet dhcp
  post-up openvpn /etc/openvpn/XYZ_tunnel.conf

Network share

Add
  • keychain
  • knockd : small port-knock daemon.
  • nfs-common : NFS client. Useful network protocol for sharing between linux OS.
  • openssh-server : Secure SHell (SSH) server, for secure access from remote machines.
Remove
  • nfs-kernel-server : NFS server. Useful network protocol for sharing between linux OS.
  • samba : SMB/CIFS file, print and login server for Unix. One of the only Windows compatible protocole.
Configuration
  • Disable nfs-kernel-server service if still available.
  • Disable all samba service if still availables.

Internet tools for shell

Add
  • axel
    • Light command line download accelerator.
  • finch
    • Instant messaging client in ncurses.
  • postfix
    • High-performance mail transport agent.
  • weechat
    • Fast, light and extensible chat client.
Configuration
  • Ensure to forward root's mail to new user email address.

Office tools for shell

Add
  • cups
    • Common UNIX Printing System(tm) - PPD/driver support, web interface.
  • devtodo
    • Manipulate and display a hierarchical and prioritised list of tasks.
  • graphviz
    • Rich set of graph drawing tools.
  • imagemagick
    • ImageMagick is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of formats.
  • imagemagick-doc
    • Document files of ImageMagick.
  • odt2txt
    • Simple converter from OpenDocument Text to plain text.
    • Used with lesspipe for example.
  • pdftk
    • PDFtk is a simple tool for doing everyday things with PDF documents.
  • texlive
    • A decent selection of the TeX Live packages
  • texlive-latex-extra
    • A very large collection of add-on packages for LaTeX.
  • vim-latexsuite
    • View, edit and compile LaTeX documents from within Vim.
    • Activation in vim:
vim-addons install latex-suite
Remove
  • avahi-daemon
    • Avahi allows programs to publish and discover services and hosts running on a local network with no specific configuration.
  • cups-browsed
    • Browses the Bonjour broadcasts of shared remote CUPS printers and makes the printers available locally.
Configuration
  • Add the standard user to lpadmin group to be able to manage Cups administration via webgui.

Desktop tools for X11

Add

Manpages - Documentation

Add
  • info package