preface

  1. To set up a server, you must first have your own cloud server (local liunx host), if the cloud server needs a domain name.
  2. The CentOS system of Liunx (version 6.8 to 7.9, 8.0 or later cannot be used) will be installed on the cloud server. This tutorial uses system version 7.8 as an example.
  3. If it is a cloud server, then you need a domain name, the domain name has to record.
  4. Please follow each step of the tutorial to execute, if the exception can not be solved, please reinstall the system to start again.

Common directory

The commonly used directory column is pulled out

/usr/bin Specifies the system default executable file, such as the switch. /usr/ = /usr/ = /usr/local/ SRC Places downloaded installation packages, such as /usr/, in this location, including decompression operationslocal/usr/sbin Indicates the executable file of the user, such as the software installed by the userCopy the code

Yum run command

This command is the CentOS system installation dependency management tool, very easy to use

  • 1. Yum check-update: yum check-update
  • 2. Run the yum update command to update all software
  • 3. Install only the specified software command: yum install
  • 4. Update only the specified software command: yum update
  • 5. List all installable software: yum list
  • 6. Run the yum remove command to delete the software package
  • 7. Run yum search to find software packages
  • 8. Clear cache command:
    • Yum Clean Packages: Clears packages in the cache directory
    • Yum Clean headers: Clear headers from the cache directory
    • Yum clean oldheaders: clear the oldheaders from the cache directory
    • yum clean, yum clean all (= yum clean packages; Yum clean oldheaders) : clears packages and oldheaders in the cache directory

【 the original address: https://lolku.cn/web/details/posts/35