简体   繁体   English

尝试从 Github 安装文件时无法在 debian 上创建目录

[英]cannot create directory on debian when trying to install files from Github

so I'm trying to install outline VPN on my debian machine.所以我试图在我的 debian 机器上安装大纲 VPN。

The code I'm using to install is我用来安装的代码是

sudo curl -sSL https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh | bash

It then says this(which it is supposed to):然后它说这个(它应该是):

> Verifying that Docker is installed .......... OK
> Verifying that Docker daemon is running ..... OK

and then this:然后这个:

mkdir: cannot create directory ‘/opt/outline’: Permission denied

I'm not expecting any errors, in fact, this has worked for thousands of others.我不期望有任何错误,事实上,这已经对其他人有效。 Any help is appreciated, thank you!任何帮助表示赞赏,谢谢!

Change to command to:将命令更改为:

curl -sSL https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh | sudo bash

The reason is that: the install_server.sh is executed with bash by normal user priviledges.原因是: install_server.sh是由普通用户权限用bash执行的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 "/bin/sh: XX: command not found" 尝试从 github 安装开发版 R fst package 时出错 - "/bin/sh: XX: command not found" error when trying to install development version of R fst package from github 如何使用 CPack 命令(不是来自 CMake 的文件)创建 debian package? - How to create debian package with CPack command (not from CMake's files)? 在 Python 中通过源代码安装时出现“无法创建或删除安装目录中的文件”错误 - Error "can't create or remove files in install directory" when installing by source code in Python 尝试在 docker(github 代码空间)上安装 asdf 插件时权限被拒绝 - Permission denied when trying to install asdf plugin on docker (github codespace) 尝试在linux debian crunchbang上安装android studio时缺少tools.jar - tools.jar missing when trying to install android studio on linux debian crunchbang 在Debian 4.3.2中尝试安装Python 2.6.5时无法构建readline - Can't build readline when trying to install Python 2.6.5 in Debian 4.3.2 无法在Debian Jessie上安装roxygen2 - Cannot install roxygen2 on Debian Jessie 无法在Debian 7(Wheezy)上安装mySQL / maridDB - Cannot install mySQL/maridDB on Debian 7 (Wheezy) 无法在 Debian 上安装 php7.2-bcmath - Cannot install php7.2-bcmath on Debian 根据目录名称移动文件(Linux / Debian /#!) - Move files based on directory name (Linux / Debian / #!)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM