Today, I'll simply hit a few codes and introduce another command I've read to understand:
Full RPM Red Package Manager, which was first applied to Red Hat operating system in 1997,
1.rpm Installing and uninstalling RPM packages
Rpm-q XX (package name) to find out if a package has been installed, display the package name if it is installed, and if it does not, show packages XX is not installed
RPM-QA all package names that have been installed in the query system
Rpm-qi querying the details of a specified package
RPM-QL Query the installation path and file list of the specified software
RPM-QC querying the specified package configuration file information
RPM-QF Query the development of the file and which software installation
Rpm-v XX (package name) to see which properties of the software have been modified
YUM (Yellow Dog Update modified (yeller update modified))
As with RPM, Yum is also used to load and unload software packages, Yum is RPM-based, but Yum is a bit more than rpm, and the RPM does not automatically install dependencies, and Yum can query the dependencies of the software itself and install it automatically.
Yum-y non-interactive installation, assuming that all the prompt questions and answers that appear during the installation are answered Yes
Yum install XX uses the Yum source installation package
Yum update xx uses the Yum source update package
Yum Check-update checks the Yum source for all available upgrades
Yum Remove xx Uninstall package
Yum list lists all the packages that the system has installed and that can be used in the Yum source
Yum info [...] View package Information
Yum clean all clears all cache information
Another introduction, the source code compiled to install the software
That is, download the compressed package, unzip the kind.
1. The source code we obtain, the general situation will be packaged into. tar.gz or. tar.bz2 format, we can use the tar command to extract
2. Run the Configure script, you can view the instructions through configure--HELP, some do not configure script, they directly provide makefile, you can directly make compile
3. Run make to compile the software source code into machine-recognized machine language
4. Install the software to the specified location in a specific manner, using the path and function set by Mark install based on the configuration phase.
SYSTEMCTL Management Service Commands
The configuration files for packages that we install via Yum or RPM are typically placed in this directory "/usr/lib/systemd/system"
We can manage these services through SYSTEMCTL.
Systemctl Start xx Startup service
Systemctl Stop xx Shutdown service
Systemctl Restart XX Restart Service
Systemctl enable XX boot start service
Systemctl Disable XX boot disabled service
Task Scheduler
1.at One-time mission plan
2.cron Recurring Task Scheduler