How do I install Python in Linux with no Internet access?
76
The cache solution in Mark Smith's answer is a great idea; I've done that succesfully.
Another solution, having on my machine internet connection and SSH connection to the VM's is: Install a proxy (squid) on my machine that has SSH connection to the firewalled VM's. Declare on the firewalled VM's a local proxy 127.0.0.1:3128 and make an SSH tunnel from that port to my own machine's port.
This way you can install, update, and patch dynamically.
Related videos on Youtube
Author by
zoolle
Updated on September 18, 2022Comments
-
zoolle over 1 year
I am using the following code for a menu sliding bar. But when I click a href I want to go on page and get ".gs-hamburger" function to sliding up the menu bar after it is going to page.
<nav class="gs-nav-right" id="gs-nav-right"> <i class="icon-menu55 gs-hamburger" id="gs-close-nav-right"></i> <div class="gs-nav-right-content"> <ul class='text-center'> <li><a href="#/home">Home</a></li> <li><a href="#/choose">Choose your Image</a></li> <li><a href="#/vote" onClick="GSnavRight();">Gallery</a></li> </ul> </div> </nav> <!-- ========================================================================= --> <script src="vendors/jquery/jquery-1.11.0.min.js"></script> <script> jQuery(document).ready(function($) { 'use-strict'; var $window = $(window); var GSnavRight = function(){ $('.gs-hamburger').on('click', function(event) { event.preventDefault(); $('.gs-hamburger').toggleClass('gs-close'); $('#gs-nav-static-hamburger').toggleClass('gs-nav-right-appear'); $('main,#gs-navfix,#gs-nav-static').toggleClass('gs-nav-right-appear'); $('#gs-nav-right').toggleClass('gs-appear'); }); }; GSnavRight(); }); </script>
-
Raptor over 9 yearsWeird style to write HTML & JavaScript. Can you make a JSFiddle?
-
zoolle over 9 yearsjsfiddle.net/pj5s6ho5/1 this is but I can't run a bootstramp.css file as external resources
-
jordanm about 8 yearsDo you need to do it while blindfolded also?
-
Journeyman Geek about 8 yearsThe easy thing to do might be to set up the docker container elsewhere and move over the whole image. I wouldn't replace python that way too - there's a reasonble risk you may break something. Also, that's an xz compressed file and needs another application for it
-