the root directory for creating the package, you can also create RPM packages that can only be created by the Super User (Root. The following uses ZZZ as an example to describe how to create an Lze package.
1) Create the directory used to create the RPM package under the Home Directory (/usr/ZZZ) of user ZZZ:$ CD/usr/zzz$ Mkdir-prpm/{build, RPMS/i386, sources, Specs, srpms}$
2) copy the description file lze-6.0-2.spec to the RPM/
[/ATTACH]
II. Download the Linux kernel source code
For: http://archives.fedoraproject.org/pub/archive/fedora/linux/core/updates/5/SRPMS/There are a lot of options to find 2.6.20, kernel-2.6.20-1.2320.fc5.src.rpm 21-Jun-2007 45 m rpm PackageThe size is 45 MB, which seems to be a little big.
3. Important Installation
[CODE] [shabi004 @ localhost ~] $ Su rootPassword:[Root @ localhost shabi004] # cd Desktop/[Root @ localhost Desktop] # lsKernel-2.6.20-1.2320.fc5.src.rpm[Root @ localhost Desktop]
/packages/rpms/x86_64 # RPM-IVH setarch-1.3-1.x86_64.rpm2), execute RPM-IVH directly under the non-specified directory *.src.rpm, switch to the/usr/src/packages/specs directory, execute the rpmbuild command to execute the spec file, specifically using what parameters to control the generation of source packages or RPM packages, Please choose your own (-ba parameter can generate both tar.gz format source package and RPM package,-BP is only generated ta
The company has a demand for encryption redis, there is a profile option Requirepass can set the password, but the company felt can be modified by the configuration file to disable the password, feel insecure, and then directly modify the source code (mandatory set Requirepass as a fixed password), The RPM package is perfectly safe.
1. Download the Redis source package
Http://redis.googlecode.com/files/redis-2.6.14.tar.gz
2. Modify the source code compilation
Tar zxvf redis-2.6.14.tar.gz
CD redi
, which has a platform-related sub-directory
SOURCES collection of source materials, patch storage location
SPECS Spec File storage directory
Srmps Store Srmps generated directory
5.2 Place the Sources in the right directory put the source material in the correct position
5.3 Create a spec file that ' tell ' rpmbuild command what does the creation of spec files, this is the program file, Rpmbuild command according to the spec file to make the appropri
Because If you change the the the-the-the-world and you can change the world and see.If you change the way you look at the world, you can change the world in front of you! -Microsoft Hololnes Promo linesWhat does Windows 10 bring?Windows 10 is a hot summer storm, sweeping the heat! A fresh air to the scientific and technological community to inject new vitality!HololnesMicrosoft Hololens, this is Microsoft's next-generation wearable computer. Built-in
Because If you change the the the-the-the-world and you can change the world and see.If you change the way you look at the world, you can change the world in front of you! -Microsoft Hololnes Promo linesWhat does Windows 10 bring?Windows 10 is a hot summer storm, sweeping the heat! A fresh air to the scientific and technological community to inject new vitality!HololnesMicrosoft Hololens, this is Microsoft's next-generation wearable computer. Built-in
2016 is destined to be a year of virtual reality technology booming. The most anticipated consumer-grade product in the foreign media cnet Eye is Oculus Rift. This Facebook-affiliated virtual reality system will require a PC-side fit and support for the Xbox GamePad compatibility. The consumer-grade Oculus is expected to be released in the first quarter of next year.HTC Vive:HTC Vive is another virtual reality product that needs to be used in conjunction with the PC, which was originally planned
Book Introduction: The author of this book is Wang Han, Qing Wei Long, Wang Zhaoxiang, Blue Sky Works (according to the book is the domestic and Silicon Valley geek). Earlier this year, I rubbed my classmate's Samsung Gear, feeling very shocked: Holy Shit,this is the future ... Then to the IRC lab experience of Microsoft HoloLens and HTC Vive, that immersive experience is really fascinating. In the spirit of reading magazines from the library to borro
Problem Description:
HoloLens encountered the following error message when publishing to the Windows store in Release vs:
The key file "xxxx.pfx" could not be imported. The key file may be password protected. To correct this problem, try to manually import the certificate into the current user's personal certificate store.
(Note: In other cases this error message is also the solution)
Workaround I was found by visiting the Web site it was prompted
Supplemental 1:-v is a generic parameter (General OPTIONS), that is, verbose, that is, query, install, upgrade, This parameter can be added to the unload. Add 2: When uninstalling packages, if you encounter a dependent package, use--nodeps (don't check dependencies before uninstalling the Packages.), which means that software that uses the software package may not work properly after it is unloaded without checking dependencies. Add 3: If you encounter a package to install. src.rpm, su
executing gem appears ... (OPENSSL::SSL::SSLERROR) hostname "upyun.gems.ruby-china.org" does not match the server certificate reason is that the previously used Ruby image source is Taobao , need to switch to https://gems.ruby-china.org/, in terminal input
$ gem Sources-remove https://ruby.taobao.org/
$ gem sources-a https://gems.ruby-china.org/
4, Installation Cocoapods
The first method: Git Clone method installation Cocoapods$ CD ~/.cocoapods/repos
Cloning a
contain source code and need to be compiled during installation. There are two ways to install such software packages:
Method 1:
1). Execute rpm-I your-package.src.rpm
2). cd/usr/src/redhat/SPECS
3). rpmbuild-bp your-package.specs A specs file with the same name as your package
4). cd/usr/src/redhat/BUILD/your-package/a directory with the same name as your package
5)./configure is the same as compil
package and needs to be compiled during installation. There are two installation methods for such software packages.
Method 1:
1. # rpm-I your-package.src.rpm
2. # cd/usr/src/redhat/SPECS
3. # rpmbuild-bp your-package.specs // A specs file with the same name as your package
4. # cd/usr/src/redhat/BUILD/your-package/a directory with the same name as your package
5. #./configure
6. # make
7. # make install
M
I just installed fc5, but I cannot find the NIC. It's depressing! But I finally got it out today. Let's share it;
1: Install the kernel source code. I found this part online. For more information, see
1. Check that the GCC and RPM packages are installed.
2. Install the corresponding kernel source code. Because fc5 does not provide the corresponding source code package on the installation disk, you must download it on the official website at the following URL. Ghost (I didn't use this. I'm afraid
. src.rpm is the source package, which is an unedited source code file that has been compressed to form a. src.rpm formatted file. So, this source package is not divided into what 64 bits, 32 bit. In other words, to give you a source code, you compiled on a 64-bit system executable file is 64-bit, the 32-bit system is compiled on the 32-bit.How to install:1.RPM-IVH xxx.src.rpm executes, the folder "~/rpmbuild" is generated under the current user directory, and this folder contains two subdirecto
) version 4.1The VCF specification is no longer maintained by the Genomes Project. The group leading the management and expansion of the format are the Global Alliance for Genomics and health Data working g Roup file Format team, Http://ga4gh.org/#/fileformats-teamThe main version of the specification can found on Https://github.com/samtools/hts-specsThis is under continued development, please check the Hts-specs page for the most recent specification
forced installation package cannot guarantee full functionality.
2. how to install the. src. rpm software package. some software packages end with. src. rpm. These software packages contain the source code rpm Package and need to be compiled during installation. There are two installation methods for such software packages,
Method 1: 1. run rpm-I your-package.src.rpm 2. cd/usr/src/redhat/SPECS 3. rpmbuild-bp your-package.specs a
;@ElementCollection @JoinTable(name ="T_specs_prize", Joincolumns =@JoinColumn(name ="product_id"))@Column(name ="Prize")//price for the corresponding specifications @MapKeyColumn(name ="Specs")//corresponding key-value column name PrivateMapHere are our test methods:new Product();product.setName("prodcut_with_many_prize"new HashMap();for(int05 ; i ++){prizes.put("specs"+i,1.2* i);}product.setPrize
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.