Considerations for Linux

1. Precautions

  1. Strictly case sensitive
  2. Everything in Linux 文件形式保存including hardware.
    • The hard disk file is /dev/ad[ap]
    • The CD-ROM file is /dev/sr0, etc.
  3. Linux does not rely on extensions to distinguish file types
    • Compressed package: "*.*gz" ".bzx" ".tar.bz2" ".tgz" etc.
    • Binary package: ".rpm"
    • Web page file: “.html” “.php”
    • Script file: ".sh"
    • Configuration file: ".conf"

But for convenience, the extension will be written for the above files, and the system can recognize it normally without writing it.

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

    • Such as: hard disk USB CD-ROM
  2. Programs under windows cannot be installed and run directly in Linux.

2. Suggestions for server management and maintenance

maintenance advice

  • The remote server is not allowed to shut down, only to restart

  • The server should be shut down on reboot

  • Do not run high-load commands on the server peak

  • Configure the firewall remotely and don't lift yourself out of the server

  • Specify reasonable password specifications and update them regularly

  • Reasonable allocation of authority

  • Regularly back up important data and logs

Guess you like

Origin blog.csdn.net/xrgzky/article/details/123533636