I have a linux server running in which I want to be able to run some python scripts. To do so, I created a docker image of python (3.6.8) with some specific dependencies to run my code. I am new to linux command line and need help on how to write a line that would run a given python script
Tag: server
Unable to register git runner on local network server
i’m trying to register a git runner on my company local network server, gitlab is working fine with self singed certificate, but when trying to register a git runner like this then pasting the git URL then the token: and then the description and the tags, then i get this error: i’m not using docker, just normal setup, please any
fixing the path so python can recognize z3 modules
I have successfully installed z3 on a remote server where I am not root. when I try to run my python code I get : I understand that I have to add it to PYTHONPATH in order to work and so I went ahead and done that like this: export PYTHONPATH=$HOME/usr/lib/python-2.7/site-packages:$PYTHONPATH I still get the same issue though, how can
Creating Apache web server on Ubuntu with Connexion/Flask and public IP address
I am trying to run a simple python server with REST API and Connexion/Flask built in on a remote Linux server (binding to the server public IP address) using Apache. (Server is running Ubuntu 16.04.5 LTS, python code was written in Python 3.7) Here are some files for the server implementation: server.py: swagger.yml: Specifications for the REST API, I have
job can’t be submitted inside sge file
I want to submit a sge job via sge file. For example, I have run.sge file as follows: And run_inp.sge file as follows: Whenever I submit job via I got this error: But if I submit run_inp.sge directly, it works fine: My question is that can I submit sge jobs inside a sge job? If not, is there alternative way
How to kill a process after a given real running time in Bash?
For killing a process after a given timeout in Bash, there is a nice command called timeout. However, I’m running my program on a multi-user server, and I don’t want the performance of my program to be influenced by others. Is there a way to kill a process in Bash, after a given time that the program is really running?
How tomcat handle multiple concurrent request at the same time?
How tomcat handle multiple concurrent request at the same time ? Does it queues up the requests or processes some of the requests in parallel ? If it processes requests in parallel , how does it returns the asynchronous response ? Does it keeps the connection open with client until response comes ? If the tomcat uses a multi threaded
epoll: must I use multi-threading
I’ve got a basic knowledge from here about epoll. I know that epoll can monitor multiple FDs and handle them. My question is: can a heavy event block the server so I must use multithreading? For example, the epoll of a server is monitoring 2 sockets A and B. Now A starts to send lot of messages to the server
Linux server C code stalls after receiving a signal
I have a problem with this simple server code, it works as expected until it receives a signal. For debug I print server and client file descriptors before calling select with the line: When running normally it keeps printing but when it receives a signal it prints this line once and then the program stalls. Using GDB I put a
Permission denied. Laravel linux server
when i try to register and send an email to the user i got this error. It was working till yesterday. From today it gives me this and i cant figure out why. By the way on local testing this work’s. I’m stuck. Help please Answer I cannot comment because I have joined stackoverflow recently and I do not have