Linux Learning 1

Source: Internet
Author: User

Here is mainly a summary of some things to listen, thanks to lamp brother

____ Installing the virtual machine

VMware 8.0.4, because the high version occupies a large space, no need

Cent OS 6.3 Linux version

____linux system

1, partition

Primary partition Max 4

Extended partition, Max 1, and, extended partition + primary partition Max 4

The extended partition itself cannot be used to hold data, only for logical partitions

2, formatted (advanced format): Write to File system

File System win:fat16, Fat32,ntfs

LINUX:EXT2,WXT3,EXT4 (cent OS with this)

Format includes, 1) partition block, small partition, eg 4KB

2) Determine a node number, which is equivalent to the room

3, partition device file name. Define the device file name for each partition

Hardware Device file name

IDE/DEV/HD[A-D]

SCSI/SATA/USB/DEV/SD[A-D]

SATA speeds up to 500mb/s, faster than other types, and now uses SATA, so you will often see

/dev/sda1

The above 1 represents the partition number, which can only be 1-4.

Logical partition counting starting from 5

4, mount to each partition allocation mount point, Mount point is an empty directory

Equivalent to the allocation letter in win

Required Partitions:

/root Partition

Swap partition (swap partition, Memory 2 bay, not more than 2GB)

Recommended partitions:

/boot (boot partition, up to MB)

--------

The root partition is a primary directory,/boot,/etc, and/home is a level two directory, but the physical storage space for/boot, and/home directory is separate from the root directory, not in an address area. (See figure more intuitively,/boot,/home has a separate area, but they are subordinate to the/root directory.)

----------

_____ Learning Linux Considerations

1,linux Strictly case-sensitive

2, all content is saved in file form, including hardware,

Hard disk File:/dev/sd[a-p]

Disc File:/dev/sro

3, Linux does not differentiate file types by extension, file types are defined in file permissions

The extension is just a bit more intuitive, not mandatory.

Compressed package *.gz, *.bz2, *.tar.bz2, *.tgz

Binary packages. rpm

Script *.sh

Web page file *html, *php

Configuration file *.conf

4, all Linux storage devices must be mounted before the user can use them. (win in its own detection, can be used directly)

_______ Server Management and maintenance recommendations

Command: Binary file

/bin/,/sbin/,/usr/bin/,/usr/sbin/

Above, S represents the heart of only/root root directory super User

USR representative cannot execute under single user, single user equals win in secure mode

/boot/at! Backup will not start up otherwise

/dev/

/etc/configuration file at! Backup

/home/General User Home Directory

Library functions for/lib/systems

/lost+found/

Mount Directory, mount point, any directory is possible, not mandatory

/media/Multimedia

/MNT/U Plate

Shared directory for/MISC/NFS services

/opt/third-party software, which is actually more commonly used/usr/local/, is equivalent to programs in Windows

/proc/

/sys/

Linux Learning 1

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.