CD are lower than those in the yum source of the network, so nginx cannot be used properly, because we do not know what the GD library has been upgraded. The solution is to write down the packages that need to be depended on during packaging and download these packages. Install these packages on the host system. Of course, these packages are also dependent on each other. So you have to find all dependencies and install them accordingly.
2. RPM package creation process
1. Install the tool
Yum-y
:2345 '/etc/init.d/httpd
Sed-i ' 2a # description:apache Web server '/etc/init.d/httpd
Chkconfig--add httpd
%preun
/ETC/INIT.D/HTTPD stop
Chkconfig--del httpd
%changelog
* Tue Mar 3 2015 Ilanni
2.2.27
--
Iv. Generate related Catalogs
To generate the relevant directory for the RPM package, we can create it either by hand or through the Rpmbuild command. As follows:
Rpmbuild Httpd.spec
Note: When using Rpmbuild to generate the relevant directory of the RPM package, the erro
/driver/release.fclibs.txt[Root@blog.hexu.org ~]$ CD server/linux/driver/[Root@blog.hexu.org driver]$ RPM-IVH netxtreme2-7.8.56-1.src.rpm
To reconstruct the RPM package for the corresponding system:
The code is as follows
Copy Code
[Root@blog.hexu.org driver]$ cd/usr/src/redhat/specs/[Root@blog.hexu.org specs]$ RPMBUILD-BB Netxtreme2.spec
To install a new RMP
skilled use:
echo "%_topdir/usr/src/redhat" > ~/.rpmmacros
Then install the source src.rpm package:
RPM-IHV kernel-2.6.32-220.el6.src.rpm
Cd/usr/src/redhat/specs
RPMBUILD–BP--target x86_64 Kernel.spec
The kernel source can be installed into the/usr/src/redhat/directory.
F ensure that the remaining space is at least 10G, or the remaining space will be reported at compile time. 1.2 kernel patch 1.2.1 A real-world patch to the kernel
Take the
the subclasses of the enumeration TrafficlameRED (30) {//Inner class@Override PublicTrafficlamp Nextlamp () {//implementing an abstract method returnGREEN; }}, GREEN (45) {@Override PublicTrafficlamp Nextlamp () {returnYELLOW; }}, YELLOW (5)/*call the yellow subclass with a parameter construct, subclass. Super (5) called the Trafficlamp of the parent class.*/{@Override PublicTrafficlamp Nextlamp () {returnRED; } }; Private intTime ; Public AbstractTrafficlamp Nextl
install, the tar package. faac1.25 download, faad2.5 download.3GP support: When compiling ffmpeg to join--ENABLE-AMR_NB--ENABLE-AMR_WB, there will be prompt, download: http://www.3gpp.org/ftp/Specs/archive/26_series/ 26.204/26204-510.zip, unzip the source code file after the files are copied into the FFmpeg source code directory libavcodec/amrwb_float; then download: http://www.3gpp.org/ftp/ Specs/archive/
I fill in my +86-28-86808642Type the text in the image below:* enter the verification code belowI accept the above tick agreeRegistration Successful! Adbrite has automatically logged in for you. We're trying to make money, so look to the left.Your AccountSelling AdsHere is where we sell our website to customers. The right is to buy someone else's ad location buying ads, whatever he.Your earnings The money you earn (the income statement, I like the most)Manage your zones to manage your adInfo an
compile the source format rpm package -----à and make the RPM package in binary formatInstance#useradd mockbuild (need to compile with mockbuild user)#rpm –IVH nginx......src.rpm (the rpmbuild directory is generated under the current directory )#cd Rpmbuild;ls ( below is an introduction to subdirectories )SOURCES: Store The program source code, patches, scripts and so on. The SPECS:nginx.spec file indicates how to decompress, patch, how to./configure,make,makeinstall, how to encapsulate the ngin
People who have used Maven know that the directory structure of the MAVEN project is somewhat different from the traditional Dynamicweb project. Of course we do the best with Maven's specs, but what if you don't exactly follow Maven's specs and just need to use Maven to pack? In fact, it is simple, these can be changed by configuring the Pom file.MAVEN Standard directory structure:myproject/ |--pom.xml
variable effective without restarting the computer:
Corresponding method one: #source/ROOT/.BASHRC
Corresponding method two: # Source/etc/profile
5. Check to see if you want to add paths to path:
# echo $PATH
There is a/usr/local/arm/bin in the display, which shows that the path to the cross compiler has been added. At this point, pay
Fork compilation environment Installation complete.
6. Test whether the installation was successful
# arm-linux-gcc-v
The above command displays ARM-LINUX-GCC inf
Install the Basic Development packroot@ubuntu:~# apt-get update apt-get install-y build-essential Bison Flex Manpages-devroot@ubuntu:~# echo $?0
Install ARM-LINUX-GCCDecompression arm-linux-gcc-3.4.5-glibc-2.3.6.tar.bz2 from Vedon teaching CDTar XF arm-linux-gcc-3.4.5-glibc-2.3.6.tar.bz2
Install sudo apt-get install Lsb-coreOtherwise, no such file or directory may appearroot@ubuntu:~/leds# arm-linux-objcopyBASH:/home/username/gcc-3.4.5-glibc-2.3.6/bin/arm-linux-objcopy:no such file or directory
compile. There are two ways to install this type of package.Method One:1. Implementation of Rpm-i your-package.src.rpm2. Cd/usr/src/redhat/specs3. RPMBUILD-BP your-package.specs A specs file with the same name as your package4. cd/usr/src/redhat/build/your-package/a directory with the same name as your package5./configure This step is the same as compiling common source software, you can add parameters6. Make7. Make Install
Method Two:
1. Implementat
other is a short or short type, then the expression is the short type otherwise, the binocular value is lifted (binary numeric Promotion) is used in the type of operand, the type of the conditional expression is the second and third operand of the promoted type. Note: When the binocular value is lifted, the unboxing conversion and value set conversion (value set conversion)
For more information about the trinocular operator (Conditional Operator ? : ), you can view the offi
The Open () method opens a new browser window or looks for a named window. Grammar window.open (Url,name,specs,replace)
Parameters
Description
Url
Optional. Opens the URL for the specified page. If no URL is specified, open with a new blank window
Name
Optional. Specifies the name of the target property or window. The following values are supported:
The _blank-url is loaded into a n
point functions (we use the commonjs jsgi 0.3 standard as entry-points ).
Each request has a specific URL that loads a ing module and calls the jsgi entry point function. According to the commonjs 1.0 module specification, other JavaScript modules can also be loaded.
Every time a request is made for a specific URL, A mapped module is loaded and the jsgi entry point function is called. Other JavaScript modules can be loaded according to commonjs module 1.0
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.