In this article I will show you how to install VSFTP daemon for Centos/Red Hat and how to configure it to chroot user, so that only a given home directory can be accessed.
In this article I will describe how to install Python modules to an offline server. Example will show how to use Pip to download packages in an online server and then install those locally in an offline server.
Following prerequirements are assumed for this example:
Occasionally you can find a situation where you have a network admin server in a restricted customer environment or in some other offline environment. I came accross to this a while ago and I followed this procedure to install some essential network tools. Server in my case was RedHat 7.5, but process is similar to any distribution.
To begin with, I built an identical server to my own VM environment - if you need a RedHat server with licenses, check their Developer portal
Only requirement is that you are able to transfer files between your online server and your offline server - this may be tricky and in very restricted environments, might need so physical disk too. In my case I was luckily able to transfer the files through a Citrix RDP session.
In the code examples I have two servers: source is my online VM and target is the offline server.