嗡嗡

模块化开源平台,适用于社交网络、企业内网及团队协作。

访问HumHub

  1. 打开浏览器并访问: https://<SERVER-IP>
  2. 接受自签名证书警告。
  3. 完成设置向导。
  4. 数据库已初始化,凭据已安全存储于 /root/.cloudzy-creds.

重要文件与目录

  • 数据库凭据: /root/.cloudzy-creds
  • SSL文件: /etc/ssl/certs/humhub.crt & /etc/ssl/private/humhub.key
  • Apache 配置: /etc/apache2/sites-available/humhub.conf
  • 应用程序文件: /var/www/humhub

为域名启用SSL

运行以下命令生成有效的Let's Encrypt证书:

certbot certonly --apache --non-interactive --agree-tos --email [email protected] -d yourdomain.com

打开Apache配置文件,将IP地址替换为您的域名,同时更新现有SSL证书路径:

nano /etc/apache2/sites-available/humhub.conf

重新加载Apache以应用更改:

systemctl reload apache2

注释

  • 您稍后可切换至真实域名,并使用Lets Encrypt SSL(需安装Certbot)。
  • 若需电子邮件通知,请确保已启用SMTP访问(需安装Postfix)。
  • 在...中检查配置 /var/www/humhub/protected/config/.

申请详情