Linux System Management-(-CENTOS6) installation program

Source: Internet
Author: User
Tags administrator password

CentOS installation program:

Anaconda

Tui Text Installation Interface

GUI Graphical Installation Interface

CentOS Installer startup process:

CD MBR:boot.cat

Stage2:

1) isolinux/isolinux.bin (boot loader)

2) configuration file: Isolinux/isolinux.bin

3) Depending on the selected menu options:

Load kernel: Isolinuz/vmlinuz

Pass parameters to the kernel: Append initrd=initrd.img ...

4) Load the root file system and start Anaconda

#资源足够默认启动GUI接口

To specify the use of the Tui interface:

Passing the text parameter to the kernel

such as: Linux text or press TAB to print text on the Graphics menu

Note: The above content should generally be located on the boot device;

The following Anaconda and installation related packages can be placed in:

Local Disc

Local hard disk

FITP Server:yum Repository

HTTP Server

NFS Server

Manually select the installation source

Boot:linux method

Anaconda Application Work process:
Pre-installation configuration phase

The installation process uses language

Keyboard type

Installing the target storage device

Basic Storage: Local Disk

Special Equipment: ISCSI

Set host name

Configuring network Interfaces

Time

Administrator password

Setting the partitioning method and the installation location of the MBR

Create a normal user

Select the packages to install

Installation phase

Create a partition on the target disk, perform a format operation, etc.

Install the selected package

Installing bootloader

First boot

Iptables

SELinux (security-enhanced Linux, a Linux security subsystem in which the process can access only the files needed in his task)

Core Dump

Anaconda Configuration Process:

(1) Interactive configuration method:

(2) automatic configuration by reading a given configuration file in advance

The configuration options are given by specific syntax:
Kickstart file:



To install boot options:
Boot

Text: How to install texts

Method: Manually Specify the installation methods used

Network-related boot options:

Ip=ipaddr

Netmask=mask

Geteway=gm

Dbs=dns

Ifnamename:mac_addr

Options related to the remote access feature:

Vnc

Vncpassword= ' PASSWORD '

Indicate kickstart file location
ks= File Location
DVD Drive:ks=cdrom:/path/to/kickstart_file
Hard drive:ks=hd:/Disk/directory/kickstart_file
HTTP Server:ks=http://host:port/path/to/kickstart_file
FTP Server:ks=ftp://host:port/path/to/kickstart_file
HTTPS Server:ks=https://host:port/path/to/kickstart_file
Activate emergency rescue mode:
Rescue

Official document: "Installation Guide"


Kickstart file format:
Command segment: Indicates pre-installation configuration, such as installation language
Program Baotang: Indicates which package group or package is not installed to install, etc.;
%packages----Apocalypse
@group_name-Package Group
Package------Packages to install
-package-----Packages that you do not need to install
%end----------Terminator
Script segment:
%pre: Pre-installation scripts
Operating environment: Micro-Linux environment running on installation media

%pst: Post-installation script
Operating environment: installation of completed systems

Commands in the command paragraph;
Required commands
Authconfig: Authentication Mode configuration
Authconfig-usershadow--passalgo=sha512
Bootloader:bootloader installation location and related configuration
Keyboard Setting the keyboard type
Lang: Language type
Part: Creating Partitions
ROOTPW: Indicates the root password
TimeZone: Time zone

Optional commands

Network----Initial Networking configuration
Firewall---firewall configuration
SELinux----Security Subsystem
Halt-------Installation Complete shutdown
Poweroff---shutdown after completion
Rebot------Reboot after completion
Repo Extra Yum Source
Service: Start Services after installation
Text: Installation Interface
User: Create a new user after installation is complete
VNC: Set VNC function
ZEROMBR: First condition MBR
URL: Indicates the installation source

How to create a Kickstart file:
1) Direct Manual editing
2) Creation Tool available
Centos6:system-config-kickstart
Can be configured according to template

Check KS file syntax error: ksvalidator/path/to/ks.cfg


Install Linux in Isolinux via http:
Linux ip=ipaddr netmask=mask ks=http.




Linux System Management-(-CENTOS6) installation program

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.