Update doc.

This commit is contained in:
Jeremy Gardais 2017-09-06 12:04:23 +02:00
parent d9f5eedc7d
commit 7acc0ca6e5
3 changed files with 18 additions and 13 deletions

View File

@ -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 | | lv_free | /mnt/free | free space | See below |
* APT: * APT:
* Installation from internet (repository: ftp.fr.debian.org) * 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. * 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: * Bootloader:
* Install Grub on the MBR of the first disk. * Install Grub on the MBR of the first disk.
* late_command * 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]. * Download and extract a _latecommand_ archive from [this repository][debian latecommand description].
* Run the script from this archive. * 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** **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 #### Specific configurations
* You can choose a desktop environment: * 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` * Clonezilla: `sudo ./scripts/download_clonezilla.sh`
* Generate the late_command archive: `cd scripts/ ; sudo tar czvf latecommand.tar.gz latecommand/` * 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 [main menu.cfg]: ./config/menu.cfg
[debian menu.cfg]: ./config/debian/menu.cfg [debian menu.cfg]: ./config/debian/menu.cfg

3
TODO.md Normal file
View File

@ -0,0 +1,3 @@
## TODO
* Add a tiny preseed file that could be loaded for a manual install.
* Add new tools #3

View File

@ -43,6 +43,15 @@ The script will provide Debian's netboot installers with **additionnals firmware
#### Description #### Description
Some useful configurations after a Debian installation: 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**). * Smarter rsyslog (more directories and less files in **/var/log**).
* Shorter configuration file and use more files from /etc/rsyslog.d/ * Shorter configuration file and use more files from /etc/rsyslog.d/
* Move log files to directory: * 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__ * _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__ * _syslog_ logs from /var/log/syslog.log to __/var/log/syslog/syslog.log__
* _authpriv_ logs from … to __/var/log/security/authpriv.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 #### How-to use it
* First, make an archive of the script and directories: * First, make an archive of the script and directories: