gpt4 book ai didi

amazon-web-services - 须藤: stop: command not found

转载 作者:行者123 更新时间:2023-12-02 20:26:55 25 4
gpt4 key购买 nike

我正在使用 Shiny 服务器在亚马逊网络服务实例上运行 Shiny 应用程序。我想停止shiny-server以设置密码保护,但是当我遵循一个协议(protocol),要求输入sudo stopshiny-server时,我得到了这个错误sudo:stop:command not find。

我试图调查它并尝试安装sudo apt-get install upstart-sysv但现在我的错误是停止:无法连接到Upstart:无法连接到套接字/com/ubuntu/upstart:连接被拒绝。

aws 实例是 ubuntu 16.04,感谢任何帮助

最佳答案

您应该使用sudo systemctl stopshiny-server

大多数主要的 Linux 发行版,包括 Ubuntu 15.04+,现在都使用 systemd 进行管理和配置。

早期版本的 Ubuntu 使用 upstart(其中命令是 sudo stopshiny-server)。

有关更多信息,请参阅shiny-server documentation .

关于amazon-web-services - 须藤: stop: command not found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49678224/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com