Linux notes (cont.)

Source: Internet
Author: User

Partition partition file and mount 1, hardware Device file name
hardware device file name
ide hardware /dev /HD[A-D]
scsi/sata/usb hard disk /dev/sd[ A-P]
optical drive /dev/cdrom or/DEV/HDC
floppy /dev/fd[0-1]
printer (25-pin) /dev/lp[0-2]
printer (USB) /dev/usb/lp[0-15]
mouse /dev/mouse
The first "/" indicates the root directory, the dev directory is the partition device file name used to put the hardware device file name:l /dev/hda1 (IDE hard disk Interface) l /dev/sda1 (SCSI hard disk interface, SATA hard drive interface) Where HD.SD represents the hardware interface, a represents the first hard disk, B represents the second hard disk, and so on; 1 represents the first partition SDA1 on behalf of the first SATA interface hard disk The first partition mount: The process of linking the drive letter and the directory, the directory is called the mount point must be partitioned:/(Root partition) Swap partition (swap partition (that is, virtual memory), memory twice times, not more than 2GB (recommended memory when learning, strictly speaking when the memory is less than or equal to 4GB, the proposed twice times, when greater than 4GB, the recommendation and memory as Large)) 1-4 only to the primary partition, the logical partition can only start from 5, Boot is the boot partition recommended partition:/boot (boot partition, 200MB)   Linux system installation Note: The virtual machine can not press the off button to force shutdown, to use power off or hang, otherwise the virtual machine is prone to crash process: Enter the BIOS interface, Select Boot boot entry, select CD-ROM drive (CD-ROM boot), second, 1, hard drives (HDD boot) platoon first, exit, select Exit discarding changes (do not save exit), the virtual machine automatically Drive Start 2, install the Welcome interface l  "Install or upgrade an existing system": Install or upgrade an existing system (first boot) l  "Install system with basic video Dr Iver ": Using basic graphics Driver l " Rescue installed System ": Enter the recovery mode l " boot from the local drive ": Exit the installation from the hard disk boot (boot after installing the operating system) l  "Memory Test": Storage media Detection 3, Package Selection l  Desktop (desktop) l  Minimal Desktop (minimized) l  Minimal (minimized) l  Basic Server (base server) (√) l  database server (database server) l  WEB server (Web server) l  virtual host (virtual hosting) l  software Development Workstation (software development workstation) cut out the mouse:ctrl+alt     cut full screen:ctrl+alt+enter   localhost login: ROOT4, installation log l /root/install.log: Stores the packages and their version information installed in the system l /root/install.log.syslog: Stores the event records that were left during installation l / Root/anaconda-ks.cfg: Record the option information set during installation in the format of the Kickstart configuration file (can do a batch installation)

Linux Notes (cont.)

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.