Link to home
Avatar of dale_abrams
dale_abrams

asked on

Offline Ubuntu Package Installation

I have an Ubuntu server that has firewall ports open for inbound web traffic as well as internal network SSH, but not for outbound server updates/upgrades. Unfortunately, I am unable to get the ports opened I need because of tight security restrictions. I need to install a VM on the machine and obviously cannot just use the sudo apt-get install virtualbox-ose command being that it can't get access out. My question is, if I download the virtualbox package on a secondary machine and transfer via USB drive or SSH, where would I upload it on the offline server in order to have the apt-get command find it and properly install it? Do I need to create a local repository for that to work?
Avatar of Shizzo
Shizzo

Normally with the linux package there will be a readme file that contains all the information in it to install the package on the machine. Apt-get will not work in this instance. http://www.virtualbox.org/manual/ch02.html#idp5512464
ASKER CERTIFIED SOLUTION
Avatar of farzanj
farzanj
Flag of Canada image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Look at ssh tunneling/proxy.

Does this server have access to NFS shares

mkdir -p /mnt/repos
mount -t NFS 192.168.0.2:/location/of/downloads /mnt/repos
You can either point and/or aptitude or dpkg and other means to do it.
Avatar of dale_abrams

ASKER

Thanks. This was quick and easy and worked perfectly!
You are most welcome :)