?
Solved

Offline Ubuntu Package Installation

Posted on 2013-01-03
5
Medium Priority
?
859 Views
Last Modified: 2013-01-03
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?
0
Comment
Question by:dale_abrams
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 1

Expert Comment

by:Shizzo
ID: 38741016
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
0
 
LVL 31

Accepted Solution

by:
farzanj earned 2000 total points
ID: 38741201
If you can get a package (deb) file you can issue the following command

sudo dpkg -i package.deb

Open in new window


You can get the deb for your version of Ubuntu from the following site
https://www.virtualbox.org/wiki/Linux_Downloads
0
 
LVL 79

Expert Comment

by:arnold
ID: 38741265
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.
0
 
LVL 1

Author Closing Comment

by:dale_abrams
ID: 38741602
Thanks. This was quick and easy and worked perfectly!
0
 
LVL 31

Expert Comment

by:farzanj
ID: 38741622
You are most welcome :)
0

Featured Post

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month10 days, 21 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question