When I do install any package using yum/dnf the request goes to the internet and try to download the necessary things for the requested package. The problem is the proxy server which is restricting this and installation is failed.
How can I install packages offline so that it doesn't get effected by proxy server. Note that I'm able to transfer files to that server.
Help on ofline package installations
Re: Help on ofline package installations
Either add proxy related parameters to yum.conf or disable the repos (use yum-config-manager or edit the /etc/yum.repos.d/*.repo files directly). See man yum.conf for info on the proxy parameters.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Help on ofline package installations
I did proxy configuration and used to do the dnf/yum update/installation perfectly. But recently it is blocked at the proxy server end. Can I download all the necessary files from the internet on my laptop and then transfer them to the server. From there I will use dnf/yum install to install packages without going to the internet. How it is possibele?
Re: Help on ofline package installations
I simply use rsync to copy repository directory tree from nearby repo mirror and then define local repos that point to those copies.
Re: Help on ofline package installations
For information on how to go about setting up a local CentOS mirror please see https://wiki.centos.org/HowTos/CreateLocalMirror
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke