【问题标题】:How can i Remove binami corner banner on Ghost CMS如何删除 Ghost CMS 上的 binami 角横幅
【发布时间】:2020-10-01 08:05:08
【问题描述】:

我多次尝试使用 ssh 删除此横幅,但 ssh 总是显示在 bnconfig 中未找到。 enter image description here

【问题讨论】:

  • 我从 Marketplace 安装了由 Bitnami 认证的 Ghost,发现命令 sudo /opt/bitnami/apps/ghost/bnconfig --disable_banner 1 没有问题。请提供有关您的用例的更多详细信息。请不要使用图片来分享命令和输出。

标签: google-cloud-platform ssh google-compute-engine bitnami ghost-blog


【解决方案1】:

查看文档Remove The Bitnami Banner

要删除指向 Bitnami 信息页面的横幅链接,请按以下步骤操作:

  • 使用 SSH 登录到您的服务器控制台并执行以下命令。请记住将 APPNAME 替换为实际名称或 应用程序的目录位置。 sudo /opt/bitnami/apps/APPNAME/bnconfig --disable_banner 1

  • 重启网络服务器。

    • 如果您使用的是 Apache,请执行以下命令:
      sudo /opt/bitnami/ctlscript.sh restart apache
      
    • 如果您使用的是 NGINX,请执行以下命令:
      sudo /opt/bitnami/ctlscript.sh restart nginx
      

注意:以上步骤只会移除角落横幅。 Bitnami 信息页面仍可通过访问访问 http://DOMAIN/bitnami/index.html。

我从 GCP Marketplace 安装了 Bitnami 认证的 Ghost,发现命令 sudo /opt/bitnami/apps/ghost/bnconfig --disable_banner 1 没有问题。

如果您仍然遇到此问题,可以尝试从 Marketplace 重新安装 Ghost CMS 或/和联系 Bitnami Community

【讨论】:

    猜你喜欢
    • 2016-04-17
    • 2018-07-31
    • 2023-03-12
    • 1970-01-01
    • 2020-08-04
    • 2015-08-02
    • 2014-01-03
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多