小编Dav*_*ola的帖子

Ubuntu'-bash:nano:找不到命令'

我正在尝试使用 Ubuntu 18.04 在 Google Cloud 上下载 ModSecurity,但是每当我尝试编写sudo nano *file*.confnano *file*.conf. 我收到一条错误消息,说-bash: nano: command not foundsudo: nano: command not found。我不确定是不是因为我为此使用了 Google Cloud Platform,但我只需要知道如何解决这个问题

ubuntu mod-security google-cloud-platform ubuntu-18.04

6
推荐指数
2
解决办法
2万
查看次数

Ubuntu“无法重新启动 apache2.service:未找到单元 apache2.service。”

我正在使用 Google Cloud Platform 来测试 ModSecurity,我正在使用教程来启动它。但是,我需要每隔一段时间重新启动 Apache。我正在使用 Ubuntu 18.04。我写了sudo systemctl restart apache2,但错误又回来了,上面写着Failed to restart apache2.service: Unit apache2.service not found。我该怎么办?

apache mod-security google-cloud-platform ubuntu-18.04

2
推荐指数
1
解决办法
8712
查看次数