Tags: LinuxRPM Toolsrpm is by Red Hat and other jobs. However, the dependencies between RPM packages are often cumbersome, especially when the software is made up of multiple RPM packages. Company developed software package management method, using RPM we can easily install, query, uninstall, upgradeRPM Package:650) this.width=650; "Src=" Https://s1.51cto.com/oss
The principle of rpm package creation is not complex. It can be understood as sorting out some information in a standard format, including basic software information and scripts executed before and after installation and uninstallation, decompress, patch, compile, and install the source code package.
1. Compile the spec File
1.1 spec script keywords
Name: the name of the software package, which can be referenced later in the form of % {Name}
Summary:
Install MySQL5.6 In the RPM package of Centos6.5
View information about the operating system.
[root@bj_db1~]
#cat/etc/issue
CentOSrelease6.5(Final)
Kernel\ronan\m
[root@bj_db1~]
#uname-a
Linuxbj_db12.6.32-431.el6.x86_64
#1SMPFriNov2203:15:09UTC2013x86_64x86_64x86_64GNU/Linux
2. Create a directory for downloading the rpm package.
[root@bj_db1~]
#mkdir-p/taokey/tools
3. check whether there are
RPM is short for RedHatPackageManager. although it is called RedHat software package management tool, RPM is used in many linux branch versions. The RPM file-based software installation method is an executable file-based software installation method. The RPM file can be used to install, delete, and ,...
The following describes how to install the software package in linux:
Rpm and yum Installation
First, I will introduce the rpm installation method and command
Rpm is a software package management method developed by RedHat. With rpm, we can easily install, query, uninstall, and upgrade software. However, the dependency
Source: http://blog.csdn.net/namesliu/article/details/6004388CENTOS5.5 has been integrated with the installation of Apache, MySQL, PHP as a sample, we have to explore the installation path and other information to facilitate our management and use. If you want to reinstall the latest version of these software, you will need to first go to the original path, back up the data and the configuration for future use.Because CentOS5.5 is a red hat product, the Red Hat should use the
RPM Installation operation
Command:
Rpm-i The package file name that needs to be installed
Examples are as follows:
Rpm-i example.rpm installation example.rpm package;
Rpm-iv example.rpm installs the example.rpm package and displays the file information that is being installed during the installation process;
Tags: blog account modified func sele CTE pop port BootReprinted from: http://blog.csdn.net/liumm0000/article/details/18841197 RPM Mode installation MySQL5.6 A. Check MySQL and related RPM packages, if installed, remove (rpm–e name)
1
[[emailprotected] ~]# rpm -qa | grep -i mysql
Introduction to the production of RPM packagesAccording to the format of its package, the common Linux distribution can be divided into two categories, class Readhat series and class Debian series , which provide their own software package management system and corresponding tools.The suffix of the package in the class Redhat system is RPM, which provides the RPM
Install MySQL5.6 in RPM Mode Under CentOS
All previous projects were deployed in the windows system environment. This time, we tried to deploy them in the Linux system environment, so this time, we have installed JDK, Maven, and Jboss on seven hosts, one of which has installed Mysql, and configured the lan. Finally, we are done. The installation steps are as follows!
System Version: centos6.3-i386 32-bit Operating System
Hardware configuration: Kernel
I recently made a "Hello, world" RPM package for a dish. I have been doing this for a whole day because I don't know anything. Here I will share my production solutions and experiences with you.
Rpm is the abbreviation of RedHat package manage. The source code is simply packaged into a file. The generated RPM package contains two file files: ix86.
Install MySQL5.5.48 in RPM Mode Under CentOS 7.0
The environment is CentOS7.0, the yum source is updated, and MySQL5.7 is installed first, but the initial password problem is not solved after one afternoon. The project progress is very tight, so you simply need to repeat MySQL5.7. It was finally installed today. The following are the basic steps: (skip this step)
1. Uninstall the original mysql
1 # List Installed mysql 2
RPM package Local files are located:/mnt/cdrom/packagesThe disadvantage of the RPM package installation is that it has strong dependencies, is cumbersome to install, and is prone to errors due to dependencies between certain installation files.The following is a list of RPM Package command management and some instructions:
In Linux, the RPM command parameters are described in detail in the Linux operating system. there is a system software package which functions similar to adding/deleting programs in Windows, however, the function is much better than adding/deleting programs. it is RedHatPackageManager (RPM ). This toolkit is first composed...
In Linux, the RPM command parameters
Rpm usage notes most open-source software is released in the form of source code. the procedure for installing a program in the form of source code is generally as follows: configure checks the compiling environment, related library files, and configuration parameters, and generates makefilemake to compile the source code into an executable file makeinst rpm. most open-source software is released in the for
Install MySQL5.6 in RPM mode in CentOS, centosmysql5.6
All previous projects were deployed in the windows system environment. This time, we tried to deploy them in the Linux system environment, so this time, we have installed JDK, Maven, and Jboss on seven hosts, one of which has installed Mysql, and configured the lan. Finally, we are done. The installation steps are as follows!
System Version:Centos6.3-i386 32-bit Operating SystemHardware configurat
RPM commandRPM is a powerful Redhat package management tool that allows you to create, install, query, validate, upgrade, and uninstall each package, which stores files, including the files and names, versions, descriptions, and other information you need to install.RPM supports 7 modes of operation by default, each with different options for installation, query, and verification. Signature confirmation, uninstallation, authoring, and rebuilding of th
Statement **********************************************Original works, from the "Blue Blog" blog, Welcome to reprint, please be sure to indicate the source, otherwise hold the copyright legal responsibility.Please leave a message or email ([email protected]) to indicate the error.This reprint must be kept here: http://blog.csdn.net/huangyanlong/article/details/39303989Deep Blue Blog: Http://blog.csdn.net/huangyanlong*****************************************************************************
The "preface" is explained in the blog post:This article will be introduced by personal tone what is binary package, RPM package, source RPM package (srpm package), source package, and rpm common commands, source RPM installation (*.src.rpm), source package installation steps knowledge (./configure,make,make Install) R
We all know that in a red hat-based Linux system, an RPM package must be installed with other packages that it depends on before it can work properly. For end users, the dependencies in RPM installation, update, and deletion have been transparent by tools (such as yum or DNF ). However, if you are a system administrator or RPM package administrator, You need to f
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.