制作jdk1.6rpm包

Posted by 4Aiur on 04/06/2010 in Linux |

制作jdk1.6rpm包 制作rpm包的几个步骤: 制作Makefile 生成jdk压缩包 生成build rpm使用的spec文件 生成rpm包 1) 制作Makefile [root@localhost foo]# cat Makefile # Makefile all: @echo Make jdk-1.6.0_08-fcs @echo Java(TM) Platform Standard Edition Development Kitinstall: mkdir -p /usr/java/ tar -zxf jdk1.6.0_18.tar.gz -C /usr/java cp -pf /etc/profile /etc/profile.save if ! grep JAVA_HOME /etc/profile >/dev/null 2>&1 ; then\ echo ‘export JAVA_HOME=/usr/java/jdk1.6.0_18/’ >> /etc/profile; \ echo ‘export […]

Tags: ,

Copyright © 2010-2019 4Aiur All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from BuyNowShop.com.