我有用于监视系统本地流量的 shell 脚本。现在我想安装它,并想像其他 unix 命令一样运行
我的主目录中有 treeio 项目,现在我想在 nginx 服务器中运行该 treeio。treeio 已经可以在 Django 自带的源码上独立运行了。我不想在 Django 服务器中运行它,但我想在 nginx 服务器上运行它。我只是按照Karthik 的这个答案中给出的步骤进行操作。
但是,在执行或遵循该答案的第 4 步时,它会引发以下错误:
[uWSGI] getting INI configuration from uwsgi.ini
* Starting uWSGI 1.0.3-debian (32bit) on [Thu Jun 27 17:22:01 2013] *
compiled with version: 4.6.3 on 17 July 2012 02:24:04
current working directory: /home/rajesh/treeio
detected binary path: /usr/bin/uwsgi-core
chdir(): No such file or directory [uwsgi.c line 1723]
Run Code Online (Sandbox Code Playgroud)
我的uwsgi.ini文件包含
[uwsgi]
# set the http port
http = :8080
# …Run Code Online (Sandbox Code Playgroud) 我有一个名为“PATH”的环境变量,它有一个值,现在我想将一个新值附加到变量“PATH”的现有值并永久设置它。