Closed. This question is not about programming or software development. 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 days ago.
Improve this question
I have tried iperf container https://github.com/iitggithub/iperf-web . I can able to configure the container and run the webpage successfully . But when i try to run the test on client its only connecting to server to server. not working as expected .
if some one tried the container let me know the process??
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
This is a beginner question. I post this here because I'm so lost that I realized I even don't know what to look for.
I'm a C++ developper and have a developed C++ app. On the other hand, I recently dug into web development and created a website using the Django framework, which I host on Heroku.
The flow of the website: a user enters input on the website, input files are uploaded to AWS S3 (I managed to get that working).
The part I'm lost: with the user input, I'd like to run the C++ app which I host on a Linux server (Codenvy). But I have no idea how to launch that application from the Django site which is served by Heroku. At least giving some keywords to enhance my web searches?
It sounds like what you need is to run a script on another server using python?
I'd suggest taking a look at Paramiko:
https://github.com/paramiko/paramiko/
It is a package to allow you to ssh into another machine and execute commands.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I'm looking for a free solution that allows for a python script to be run as a scheduled task. The script connects to a MongoDB that I would like to have on the same server. The DB will be smaller than 1GB.
Intuitively, what I need is a computer which I can access remotely, that runs scheduled tasks, and where I can install MongoDB Server, Python, and all the python libs the code needs.
I've tried to understand the solutions of aws, but get a bit confused with all the different solutions they offer.
Can somebody point me in the right direction?
Heroku Cloud is nice platform to upload python apps. Also it provides an add on to schedule tasks. Although it provides mongo database as an add on, you may want to use mongo lab , which provides 500mb of free storage.
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 7 years ago.
The community reviewed whether to reopen this question last year and left it closed:
Original close reason(s) were not resolved
Improve this question
I am running a Server hosting my iPhone messaging app. To control this Server, I have coded a python script which controls the Server through the Localhost IP and Port 80. Now, I wish to control the Server remotely, for which I have to create an access mechanism where either by hosting Python script on Cloud, which may be directly connected to the Messaging Server on my Computer, or let both Server and Script reside on my computer while I can access the script remotely.
I have temporarily hosted a FB app on pythonanywhere for free and it worked like a charm.
In case you plan to use Django, the version they offer usually lags behind.
In that case, I'd higly recommend using Openshift, by RedHat.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
it's my first question here so i'll try to be clear :)
I want to execute a python script on a server (I use pythonanywhere), this script is took from spawningtool. I succeed on the install and I'm able do execute it in a shell on the user interface.
The problem is that I want to execute it when a client ask ^^, here a classic situation :
The client send a file to the server
The server execute the script with the file in parameter
The server answer with a string
How can I do that ? (Does it have a link with Django,Bottle etc . . . ?)
PS : Python stuff is new for me so take in consideration that I'm a mobile dev with very few notion of python and web dev.
You're definitely going to have to learn a lot about web development to make that happen. Have a look at tutorials for Django, Flask or Bottle. Get an idea of how the web works and then apply it to your problem.
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 9 years ago.
Improve this question
Some background information, I am new to provisioning and followed this tutorial:
https://www.digitalocean.com/community/articles/automated-provisioning-of-digitalocean-cloud-servers-with-salt-cloud-on-ubuntu-12-04
It explains how to setup a salt-master and salt-minion remotely by using a salt-cloud setup. It also refers a few security measures, setting up a different port for ssh, switching of root access and creating a different user with root permissions for usage, last but not least, setting up a firewall that opens the custom ssh port and ports 4505, 4506 which are used by salt.
Question
The article doesn't say anything about this, but shouldn't the same security measures be taken into consideration for the minions?
The bootstrap.sh script (that is used to hoist the minion(s)) doesn't seem to implement those settings (eg. running sudo salt 'minion01' cmd.run 'cat /etc/ssh/sshd_config' shows me port 22 is used and root access is permitted for the minion. Also sudo salt '*' cmd.run 'ufw verbose status' shows there's no firewall is installed