Portál AbcLinuxu, 30. dubna 2025 15:27
Author: Michal Prokeš (AToL - PV208, FI.MUNI)
Installation of Linux system is time consuming operation and administrator do same work on many systems. There are methods for making it easier.
For installing same set of packages to more computers is very useful to make a virtual package. Virtual package is package without software, but with dependencies and pre/post install scripts. We can make package mydepartment-desktop and set dependency to openoffice and gimp and in post install script change a welcome message and change desktop image to company logo.
If we need to install huge number of same computers (same hardware, same software configuration), the easiest way is to install one computer and then clone it. There are systems like SystemImager (distribution independent) which works as a network boot servers. SystemImager can clone disk image to a client booted over network and make individual post-install settings.
This method use standard installation program of selected distribution, but installation settings are predefined by script and not interactive. The configuration file can by located on installation media or loaded from network.
Kickstart is a name for automatic installation script. This script is used mostly by anaconda installer (RedHat Enterprise Linux, CentOS, Fedora). It is very simple text file, focused on easy using.
Autoyast is method for automatic configuration of Novell SuSE Linux installer (SuSE Linux Enterprise, OpenSuSE). It is a complex XML file and the method is focused on combining configuration files by classes and their priority and rules depending on detected hardware or mac address.
Debian installer (Debian 4 etch based distributions) accept text file with predefined parameters. It is possible to configure everything what is in interactive installation. If installator find it in configuration file, it stop detecting or asking for answer and use predefined values. It is also possible to preseed hardware configuration and stop detecting it and configure packages.
debconf-get-selections ; installer > preseed.file ; debconf-get-selections >> preseed.file
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.