Use Kickstart to install Linux in batches (2)-Linux Enterprise Application-Linux server application information. The following is a detailed description. -- Gateway 192.168.11.1 -- nameserver 202.96.134.20.
The machine with multiple NICS is a little more complicated. This article will not introduce it.
Row 27th specifies the method by which the system authenticates the user. This document uses the default Shadow password and MD5 encryption, which is the most common method.
Line 3 shut down the custom firewall. Because the ipchains firewall is used to install Red Hat, I suggest using iptables firewall after installation.
Line 30-33 shows the configuration of X-Window. This indicates the configuration that is automatically detected by the system. Linux generally correctly detects the model of the display card and display.
Line 1 indicates GNOME as the default Window Manager. The color is 16 bits, and the screen resolution is 33rd × 1024. If "-- startxonboot" is added at the end, it is the X-Window login after the boot.
Lines 34th-37 indicate the software to be installed. The preceding "@" symbol represents a group of RPM packages. Each package contains a list of installed software, the software can be found in the Redhat/base/comps file on the first installation disc of Red Hat. If no group is specified, the base combination in the Redhat/Base/comps file will be installed, that is, some basic RPM packages, such as Sendmail. Write @ Everything to install it completely. There is an RPM package with lynx installed separately in line 37th.
% Pre in line 38-39 indicates the Command executed before installation.
Line 40-41% post indicates the command to be executed after installation. Line 3 executes a simple command.
The final task is to copy the written ks. cfg to the floppy disk:
Cp ks. cfg/mnt/floppy
I have installed VMware in Windows 2000. I don't know why the drive speed is very slow when I use a CD to install Linux on a virtual machine. Therefore, the Server-u ftp Server is installed in Windows 2000, and Kickstart is installed in VMware. The result is very satisfactory. In addition, you can use Omni-NFS to implement the NFS Server function in Windows 2000 and use NFS for installation.
Use the % post command in Kickstart installation to directly Configure the server.
Kickstart installation is one of the key points of learning Linux. In the Red Hat RH133 training course, Kickstart installation courses are available, but there are still few Chinese materials in this field, I hope this article will serve as a reference. This article also applies to the latest Red Hat 8.0.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service