Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
Im trying to figure out how ansible executes the commands on the remote host, I get that it uses ssh/winrm to connect to the remote host but from there it would have to assume the remote host has python/powershell (depends on the os) and all the libraries their code need to run.
so basically what im asking is :
does ansible require the remote host to have python in the right version on it.
does it require the remote host to have the libraries their code uses.
if not does it transfer the modules when it connects and removes them afterwards.
else it may "compile" the modules and transfer them
Ansible works by connecting to your nodes and pushing out small programs, called "Ansible modules" to them. These programs are written to be resource models of the desired state of the system. Ansible then executes these modules (over SSH by default), and removes them when finished.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed last year.
Improve this question
I've got a problem with a script for port scan at my virtual network1 at virtualbox. I tried many scripts in python. I want to scann ,,WAN" port but the scripts are frozen at first port, what you can see at picture below2( 192.168.3.101 is Kali Linux address). Do you know how can I fix it?
One of many scripts which i tried: Python3 Portscanner can't solve the socket pr0blem
I've got a network simulation in virtualbox:
Network topology
PfSenseLogs
the problem was probably that pfsense was refusing to scan multiple ports from the same address in a short amount of time and I had to add delay after each port.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
So I am using VSCode Insiders to connect via SSH to my Ubuntu Server where I have all my project clones. Everything up to here works so far. I am doing a bit of pandas/matplotlib in python and say, I wanted to plot a graph and see it. Is it possible to do this?
In order to view graphical linux applications over SSH, you need to do a couple of things. First of all, you need to make sure that your Ubuntu Server is running an X windows server so the system knows how to process GUI events. Once you've verified this, you need to configure your SSH client to communicate with the X windows server. This will vary based on your host operating system and the SSH client you're using.
This guide could be helpful:
https://statistics.berkeley.edu/computing/x11-forwarding
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I have Linux Ubuntu installed and I want to code my Flask app in Linux only.But certain tutorials are coding the web app in a VPS.Why do I need a VPS?Can't I build my web app locally and directly host my site on Heroku?
You can host your application in any form you like.
VPS are an abstraction of a machine, giving you all the resources your application would need often at a fraction of the price required to get a physical server just for you. So it may be a good idea to use a VPS for the development and first phase in the life of your website.
You may also directly choose to deploy your website in one of the many cloud providers. Often they will not charge you until you start hitting a certain amount of resource utilization. So that may also be a cost saver.
You can find some additional info about the benefits of VPS here.
Note I am not associated with the website in any way, I just found it to be quite thorough in talking about VPS.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I am trying to deploy my application but did not know which is the best:
Using Heroku or Using a VPS ?
Regards;
Let's assume by VPS you mean AWS.
Heroku runs on AWS.
What Heroku does is it makes your deployment easier for you. You don't have to install dependencies, you don't have to run load balancers, you don't have to do anything more than a
'git push'. This is good if all you want to do is check how your code runs during development.
However when going deploying your code for production, it would be better if you use a VPS service like AWS. It gives you much more control over the environment in which your code runs and will be easier to add tweaks.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm in the midst of trying to get my first website up and running all of the sudden I get to the point where I need to get my file online and I have zero idea on how to do that. I thought it would be as easy as selecting your files and clicking upload but so far it has not been that easy. Currently I'm using djangoeurope.com. So if anyone has experience with that site that would help extra.
If you have ssh access, confirm that it's working by using
ssh [username]#[hostname]
If you can log in using ssh, you can use scp to put your files onto the server (log out of the remote server first)
scp [local_file_path] [hostname]:[remote_file_path]
For example,
scp local.txt files.server.com:/home/local.txt
This should work from a terminal on a Mac or Linux system. If you're on Windows, you should look at WinSCP
If you sign up with Heroku, your deployment process is very straightforward, and as an added bonus you do not have to deal with FTP and server configuration.
There are different tools for FTP and SSH file transfer. Which one is best for you depends on your environment (e.g. operating system) and your needs (do you want a graphical or command line interface?). But basically it's always a program you run on your machine that connects to a server to upload files. You don't do anything through a web site (except finding out which server to connect to and maybe setting up an account / password).