Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 在后台运行服务器_Python - Fatal编程技术网

Python 在后台运行服务器

Python 在后台运行服务器,python,Python,我已经在GCP虚拟机上的python虚拟环境中安装了超集。我在virutal环境中使用以下命令运行超集 gunicorn-w5--timeout 120-b0.0.0:8088“superset.app:create_app()” 但是,当我终止SSH连接时,服务器停止,如何永远运行SupserSet而不考虑我的SSH连接。您通常可以使用以下命令作为守护进程运行命令: nohup&您通常可以使用以下命令作为守护进程运行命令: nohup&考虑使用systemd、crond、screen、supe

我已经在GCP虚拟机上的python虚拟环境中安装了超集。我在virutal环境中使用以下命令运行超集

gunicorn-w5--timeout 120-b0.0.0:8088“superset.app:create_app()”


但是,当我终止SSH连接时,服务器停止,如何永远运行SupserSet而不考虑我的SSH连接。

您通常可以使用以下命令作为守护进程运行命令:
nohup&
您通常可以使用以下命令作为守护进程运行命令:
nohup&

考虑使用systemd、crond、screen、supervisord或其他东西这不是超集或Python特有的,甚至不是SSH特有的。这也不是一个编程问题,因此这里没有话题。考虑Suffuel.com。考虑使用StReD、CROND、屏幕、监视器或其他东西,这不是超集或Python特定的,甚至不是SSH。这也不是一个编程问题,因此这里没有话题。考虑超级用户网。