wget - Install packages via yum without internet in centOS7 -


i guess there 2 metods same method 1:centos dvd iso yum repository

step 1:download/transfer centos dvd iso 

which not working me.

i used command via

wget  http://mirror.lihnidos.org/centos/7/isos/x86_64/ centos-7-x86_64-dvd-1511.iso 

but downloading html file not iso file

2nd method custom yum repository

maybe because there space in command ? use this

wget http://mirror.lihnidos.org/centos/7/isos/x86_64/centos-7-x86_64-dvd-1511.iso 

oh, , can download package want in .rpm format, , use command :

yum install mypackage.rpm 

make sure edit "mypackage" name of file :)


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -