installation software : RPM-IVH softwareUpgrade software-UVH software is not installed, installed, installed on the upgrade-FVH software is not installed, will not be installed, installed on the upgradePackage Query (database file used for
After modifying the salt source code, you want to quickly compile the RPM package, which can be based on the salt src.rpm package.Pre-preparationSALT-2014.7.1-1.EL7.SRC.RPM # Salt Source package and Spec file rpm-build.rpm # tool to compile
The software installation of CentOS can be broadly divided into two types:
[centos]rpm file installation, using RPM directives similar to [Ubuntu]deb file installation, using DPKG instructions
[Centos]yum installation similar to [Ubuntu]
The software installation of CentOS can be broadly divided into two types:RPM file installation, using RPM directives similar to [Ubuntu]deb file installation, using DPKG instructionsYum installation similar to [Ubuntu]apt-get
First, Directory1. System log file storage/var/log/messages, the information inside the automatic polling, often look at this file, the system has a problem, first look at this file2.var/log/secure//record log in information by weekly
First heard elk, is Sina's @argv introduction internal use elk situation and scene, at that time touched very big, originally have so convenient way to collect log and show, have such tool, you do bad thing, delete log, it has no effect.A lot of
Firefoxbug
Time: July 18, 2014
RPM Package Naming specificationThe naming of RPM packages conforms to the following specifications.%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}.RPMNAME:RPM Package Name version:rpm Package version number (major
Main agenda:Build lamp quicklyApache virtual directoryApache Virtual HostAuthorization and authenticationMySQL Master/Slave Server ConfigurationRsync synchronization settingsAssume that the lamp image site experimentSite stress test
Obtain and
Rpm-qfQUERY OPTIONSThe general form of a RPM query command isRPM {-q|--query} [select-options] [query-options]Package SELECTION OPTIONS:-F,--file fileQuery package owning file. (check which package owns file)RPM-QF [FileName]It is possible to query
RpmPackage naming format
Name-version-relase.arch.rpm
Version: Major. Minor. Release:
Major: major version number minor: minor version number release: The Release Number of rpm, which is irrelevant to the release number of the program source code,
Rpm command:Rpm:Database:/var/lib/RPMRpmbuild: srpm: The software content provided by rpmbuild is not compiled. It provides the code source and needs to be compiled by itself. Precautions for RPM and srpm Installation1. The environment for software
There are two types of software packages:
Binary Package and source code package.
How do I select a software package that suits my binary format?
1. Select a software package based on the CPU architecture
A binary package converts a source program
Notes on how to streamline the rhel5-based CD installation process
After searching for a long time on the Internet, I didn't find a specific instance for rhel5-based CD customization. I only tried my best to study anaconda.The following is a record
[Introduction]
Linux system security cannot be ignored. However, system reinforcement is not very easy. The author briefly introduces the in-depth security reinforcement for Linux systems.
★Deep security reinforcement for Linux systems
Author:
Common installation and upgrade tools on Linux mainly include Yum and apt. Yum can better solve the dependency problem of RPM. We recommend that you use yum, for example, to install the lynx program on the server in the traditional installation
1. Uninstall JDK
The JDK is provided in Linux. If the built-in version is not used, uninstall it.
1. Uninstall the built-in JDK version.
View the built-in JDK
# Rpm-Qa | grep gcj
The following information is displayed:
Libgcj-4.1.2-44.el5
A very good Linux study note sharing (excellent for getting started with Linux)
Linux directory Architecture
/Root directory
/Bin command binary file
/Boot stores the files that must be read when the system starts, including the core (kernel
Rpm has five basic operations (excluding creating software packages): installation, uninstallation, upgrade, query, and verification. Let's explain them one by one.1. Install the RPM package
Rpm packages typically have file names similar to foo-1.0-1
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.