I have two server,then these servers need to install postgresql10
, server A could install postgresql10
using yum install
, but server B has a rule that is not allowed to connect the internet.
So I trying to install with rpm
file in server B.
- I download
postgresql10
with all depedencies usingyumdownloader
from my development server - I upload all
rpm
files into server B - I start to install with command
rpm -ivh *.rpm
inside server B - After I try that so many
depedenciess
are not downloaded byyumdownloader
My idea is make a file that contain the package and all depedencies in single file, like tar.gz
file then I install to other server as simple as extract file but I still research, then still stuck on it.
So if you has a story same as me, what best way did you have?
Is there any script
that could help my problem.
Please share with me, Thank you very much