1_LINUX_ Catalogue Introduction

Source: Internet
Author: User

1. Linux so the content is saved as a file, including hardware, so when you configure the file with the command line, the configuration is only temporarily in effect.

?

2. Linux does not differentiate between types by extension, but by file permissions. The extension is for ease of administration.

. RPM Binary Packages

. html. PHP Web File

. sh Script File

. conf configuration file

?

3. All Linux storage devices must be mounted before they can be used

?

4. Programs under Windows cannot be installed and run directly on Linux

?

5. The role of various Linux directories

5.1/bin//sbin//usr/bin//usr/sbin/(s) the command in the directory that starts with only root can be used, in/usr/when the single-family mode cannot execute the command)

5.2/boot/system startup directory, generally do not put files in the inside, or cause the system will not start, the best backup

5.3/dev/device files for saving hardware

5.4/etc/configuration file save directory, linux default save location, recommended backup

5.5/home/Common user home directory, host directory

Library of functions called by the 5.6/lib/system

5.7/lost+found/backup restores the directory, the system crashes unexpectedly, and some file fragments are placed here, and the fsck tool checks here when the system starts and repairs the corrupted file system. /partition Under, there are also under the/boot/.

5.8

/media/mount directory, which is recommended for mounting media devices such as software and CDs.

/mnt/mount Directory, it is recommended to mount additional devices such as U-disk, mobile hard disk and other operating system partitions

/misc/mount directory, which is recommended for mounting a shared directory for NFS Services

However, as long as it is an already established empty directory can be used as a mount point to see personal habits

5.9/opt/third-party installed software locations, but generally not used, industry conventions are installed in the/usr/local/directory. usr = Unix Resource directory

5.10

/proc/and/sys/

Virtual file system, the data in this directory is stored in the content.

5.11

/srv/Service Data Catalog

5.12

/tmp temporary directory, the system holds the directory of temporary files, the directory can not save important data

5.13

/usr = Unix software resource system software resource Directory

5.14

/var/Dynamic Data save location, mainly save the cache, log and the files generated by the software running

6 precautions

Server does not allow shutdown, only reboot

Services should be turned off when restarting

Do not run high load commands during peak hours of server access

Remote configuration firewall don't kick yourself out of the server

When setting up a firewall, it's especially easy to kick yourself out.

1_LINUX_ Catalogue Introduction

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.