From 7acc0ca6e501e7d530ddac07bf476bdf0bf8a8f1 Mon Sep 17 00:00:00 2001 From: Gardais Jeremy Date: Wed, 6 Sep 2017 12:04:23 +0200 Subject: [PATCH] Update doc. --- README.md | 15 ++++++--------- TODO.md | 3 +++ scripts/README.md | 13 +++++++++---- 3 files changed, 18 insertions(+), 13 deletions(-) create mode 100644 TODO.md diff --git a/README.md b/README.md index 5c11bbe..bf48d67 100644 --- a/README.md +++ b/README.md @@ -119,9 +119,8 @@ Preseeding provides a way to set answers to questions asked by the Debian-Instal | lv_free | /mnt/free | free space | See below | * APT : * Installation from internet (repository : ftp.fr.debian.org) - * Add a repository for Puppet (http://apt.puppetlabs.com) and the GPG key. * Select **ssh-server** and **standard** in _tasksel_ for installation. - * Add additionnals packages : **tmux**, **puppet**, **zsh** and **tftp-hpa** (to be able to download the [latecommand archive from the PXE server][debian latecommand howto]). + * Add additionnals packages : **tmux**, **zsh** and **tftp-hpa** (to be able to download the [latecommand archive from the PXE server][debian latecommand howto]). * Bootloader : * Install Grub on the MBR of the first disk. * late_command @@ -130,10 +129,14 @@ Preseeding provides a way to set answers to questions asked by the Debian-Instal * Download and extract a _latecommand_ archive from [this repository][debian latecommand description]. * Run the script from this archive. +* Specific to Debian Jessie and older : + * Add a repository for Puppet (http://apt.puppetlabs.com) and the GPG key. + * Add additionnal package : **puppet** + ------ **lv_free - /mnt/free** -: The preseed's partitionning need to allocate all the disk space. If it's not define, it will put it in the last defined partition all extra free space. So **lv_free** is a temporary LV that you can destroy and use the space to resize any other LV. +: The preseed's partitionning need to allocate all the disk space. If it's not define, it will put in the last defined partition all extra free space. So **lv_free** is a temporary LV that you can destroy and use the space to resize any other LV. #### Specific configurations * You can choose a desktop environment : @@ -175,12 +178,6 @@ See the [scripts's README.md][scripts readme.md] file for more informations. * Clonezilla : `sudo ./scripts/download_clonezilla.sh` * Generate the late_command archive : `cd scripts/ ; sudo tar czvf latecommand.tar.gz latecommand/` -## TODO -* Add a tiny preseed file that could be loaded for a manual install. -* Download the latecommand archive from this repository instead of the TFTPD server ? -* Add new tools #3 - - [main menu.cfg]: ./config/menu.cfg [debian menu.cfg]: ./config/debian/menu.cfg diff --git a/TODO.md b/TODO.md new file mode 100644 index 0000000..68e6892 --- /dev/null +++ b/TODO.md @@ -0,0 +1,3 @@ +## TODO +* Add a tiny preseed file that could be loaded for a manual install. +* Add new tools #3 diff --git a/scripts/README.md b/scripts/README.md index 3fcd191..aabd0dd 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -43,6 +43,15 @@ The script will provide Debian's netboot installers with **additionnals firmware #### Description Some useful configurations after a Debian installation : + * Smarter log management (mainly for rotation and old logs). + * Move `rsyslog` default configuration to two files (__/etc/rsyslog.conf__ and __/etc/rsyslog.d/99syslog.conf__). + * `logrotate` now rotate logs to specific directories (such as __/var/log/syslog.d__, __/var/log/mail/__,…) instead of __/var/log/__. + * Create these new directories. + * Remove some useless packages (nfs, tasksel,…). + * Permit root SSH login with password (no standard user…). + * … + +Specific to Debian Jessie and older : * Smarter rsyslog (more directories and less files in **/var/log**). * Shorter configuration file and use more files from /etc/rsyslog.d/ * Move log files to directory : @@ -56,10 +65,6 @@ Some useful configurations after a Debian installation : * _localX_ logs from /var/log/localX.log to __/var/log/syslog/localX.log__ * _syslog_ logs from /var/log/syslog.log to __/var/log/syslog/syslog.log__ * _authpriv_ logs from … to __/var/log/security/authpriv.log__ - * Smarter logrotate (add timestamp, move some old log files to the same directory,…). - * Remove some useless packages. - * Permit root SSH login with password (no standard user…). - * … #### How-to use it * First, make an archive of the script and directories :