RE: automated installation for RHL + JAVA

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




I install Sun's JDK 1.4.1_02 with no problems in the %post section. I downloaded their jdk.bin file, extracted the rpm from it(which is interactive), and then stored it on my nfs server where the post section install the rpm (non-interactively).

Or you can just copy the extracted RPM to the place where all the other RH-RPMs are (FTP or HTTP-Server in my case) and generate a new hdlist with genhdlist - this way you can put j2sdk1.4.1 (or whatever the package is called...) in the packages-section and it gets installed... there is no interaction required, when doing it this way. An advantage is that you can install packages, that require java, and you get no problems with dependencies or stuff like that - so for me this is the cleanest solution and your post-section is a bit smaller again :-)

cheers,
Andreas









[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux