First, the system installation principle:Linux System Installation Process:POST----> Bootloader (ramdisk)-----> Anaconda System InstallerIn fact, installing the operating system is to import the compiled binary format of the operating system into the target disk, you need to access the hardware. This involves the installation program Anaconda can drive the target disk. If the target disk cannot be driven, t
Thanksgiving. Although I have not had the habit of this holiday, but only to hear the message of Thanksgiving, can think of a picture. May everyone be well!
A preface to Learning Linux
When you choose Linux distributions, you will want to start learning Linux.
1. Install Linux of course, please go online to Google o
Linux first week study notes (a)2.3:ls Commandls–l Commands: Listing file detailsLs–i Command : View Inode numberLS–LH command: View file sizeLs–la commands: View all files and hidden filesLs–lt command: Sort by Time orderLs–ld command: Lists only the directory itself ( D do not add files and directories below the directory list)which ll commands: Viewing aliasesll is a ls–l an alias for2.4: File typeAfter viewing a file using the Ls-l command, the
installation program
CentOS System Installation
System Startup process:Bootloader-->kernel (INITRAMFS)-->rootfs-->/sbin/initAnaconda: System installation program>gui: Graphics window>tui: Text window based on curses of graphics library
Setup startup procedures
Mbr:isolinux/boot.catStage2:isolinux/isolinux.binConfiguration file: Isolinux/isolinux.cfg> Each of the corresponding menu options:> Load kernel: isolinuz/vmlinuz> Pass parameters to the kernel: Ap
In Linux, the link file is divided into hard-link and soft-link file two, where hard links are established through ln source_file dist_file, and soft links are established through Ln-s source_file Dist_file.The difference between soft and hard links: A hard link is equivalent to a file with two names, and a soft link is equivalent to creating a shortcut to the sourceNote: The source file is a file that already exists, and the destination file is the f
permissions of the soft link file, different from the original file4, modify any file, the other changes5, delete the original file, soft links can not be usedLess restrictive, and flexible[[email protected] ~]# lsAnacondalks.cfg Cangls Install.log Install.log.syslog[Ro[email protected] ~]# ln-s/root/anaconda-ks.cfg/tmp/cangls.soft[Email protected] ~]# Ln/root/cangls/tmp/cangls.hard[email protected] ~]# LLTotal Dosage 40-rw-r--r--. 2 root root 1207 J
/iso/isolinux/isolinux.cfg 2 default Linux ks=cdrom:/anaconda-ks.cfg #修改第一行Eight, make ISO image, and generate MD5 check code1 [[email protected] ~]# mkisofs-o Centos.iso-b isolinux/isolinux.bin-c isolinux/boot. Cat 4 -boot-Info-table-r-j-v-t/root/iso/2 [[email protected] ~]# implantisomd5 centos.isoThe freshly baked auto-install image is done, then the engraving, the installation of the sys
Linux file system and basic commandsInstructions and examples:1.PWD: This command displays the working directory[Email protected] sysconfig]# pwd/etc/sysconfig2.echo: This command displays the command back[Email protected] sysconfig]# echo $PATH/usr/lib64/qt3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root3.CD: This command is a toggle command[[Email protected] sysconfig]# CD[[email protected] ~]# This example to switch home d
1, Anaconda IntroductionAnaconda:fodora Maintenance of Linux system installation programAnaconda divides the entire Linux system installation process into 2 phases: Pre-installation configuration: Select keyboard type, language during installation , supported languages, time zoneSelect the disk device to use, partition format, select the package to installSet
If you often use Linux command lines, using the history (history) command can effectively improve your efficiency. This article describes the 15 use cases of the history Command. Use HISTTIMEFORMAT to display the timestamp when you execute the history command from the command line...
If you often use Linux command lines, using the history (history) command can effectively improve your efficiency. This arti
~ /Anaconda-ks.cfg/home/rhel5u3/isolinuxCD/home/rhel5u3/isolinuxMusic anaconda-ks.cfg ks. cfg
Then modify isolinux. cfg in isolinux to change default Linux to default Linux Ks = CDROM:/isolinux/KS. cfg.
At this point, all the required files are ready, and then execute the following command
CD/home/rhel5u3/Server
Creat
Linux installation and startup processes. linux installation process 1.1 Installation Process Overview 1. BIOS power-on self-check 2. run isolinux under the isolinux directory. binfile, which is isolinux. bind Files according to isolinux. cfg File option to load...
Linux installation and startup processes. linux instal
The best thing about Linux is that it's a multi-user, multitasking environment. However, in the same kernel system, multi-user presence is a risk, because each user may have their own private files, so this time you need to set the permissions of the file a series of access rights settings policy, to ensure that the user ordered the kernel call. For example, at the same time, some brothers in the use of FTP upload files, some brothers browsing the web
NIC or scsicard required for starting the instance.
In addition, you do not need to prepare a dedicated disk or CD for boot. As long as you can find a CD or DVD for Linux installation, you can use the CD to enter the Linux rescue mode, this method is more secure than the Windows protection mode, because it is not started by the original operating system. As for how to enter the
3.4 grep Command -Basic Search string: grep [Options] string file name [[email protected] ~]# grep "Size" anaconda-ks.cfg#part/boot--fstype=ext4--size=200#part Swap--size=4000#part/Home--fstype=ext4--size=2000#part/--FSTYPE=EXT4--grow--size=200 Note that the search is not a string-compliant file, but a corresponding string in the file--to distinguish from find --Options -V to reverse, that is, a string that does not contain -I is case insensitive --W
more info#[[Email protected] ~]# Example: replacing all/Replace with "@[email protected]"[Root@iZ28g26851kZ~]# sed ' s#/#@O@ #g '/etc/fstab## @O@etc@O@fstab # Created by Anaconda on Mon 16:27:41## Accessible filesystems, by reference, is maintained under '@O@dev@O@disk' # See mans Pages Fstab (5), Findfs (8), Mount (8) and@O@or blkid (8) for more info#UUID=e76a7b8d- -c2-4f94-bdd1-f4054a34c206@O@ ext4 defaults,barrier=0 1 1Tmpfs@O@dev@O@shmTMPFS defau
, redirected, deleted and other operations![Email protected] ~]# lsattr----I--------E./wu.txt-------------E./install.log.syslog-------------E./anaconda-ks.cfg-------------E./install.log----I--------E./shiyan[email protected] ~]# Touch Shiyan/test2Touch:cannot Touch ' shiyan/test2 ': Permission denied[Email protected] ~]# RM-RF ShiyanRm:cannot remove ' shiyan/test1 ': Permission deniedIn the above: To add the Shiyan directory I permissions, even under
Linux, you can access the CD into the Linux rescue mode, this way than Windows Protection mode is also more secure, Because it is not the original operating system on the boot, as to how to enter the Linux rescue mode, Red hat is the way to rely on the Anaconda program to help.
A
/rhel5u3/Server
If CentOS is installed, change cp-aR/media/Server/repodata/home/rhel5u3/Server to cp-aR/media/repodata/home/rhel5u3
3. prepare the automatic installation file, there is a anaconda-ks.cfg under the root directory to copy it over
Cp ~ /Anaconda-ks.cfg/home/rhel5u3/isolinux
Cd/home/rhel5u3/isolinux
Music anaconda-ks.cfg ks. cfg
Then modify isolin
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.