The first command "yum install -downloadonly. It will require some dependencies packages, you will need to download, copy and install them together with openjdk too: yum install java-1.8.0-openjdk* dependency-packages-1.rpm dependency-packages-2.rpm. On box1 with Internet downloading only openjdk-1.8 rpm package: yum install -downloadonly -downloaddir= java-1.8.0-openjdkĪfter take the downloaded file and copy to box2.Īnd on the box2 now: yum install java-1.8.0-openjdk* CentOS uses yum to download/install/update packages.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |