访问 HumHub
- 打开浏览器并转到:
https://<SERVER-IP> - 接受自签名证书警告。
- 完成设置向导。
- 数据库已初始化,凭据安全地存储在
/root/.cloudzy-creds.
重要文件和目录
- 数据库凭据:
/root/.cloudzy-creds - SSL 文件:
/etc/ssl/certs/humhub.crt&/etc/ssl/private/humhub.key - 阿帕奇配置:
/etc/apache2/sites-available/humhub.conf - 应用程序文件:
/var/www/humhub
为域启用 SSL
运行以下命令生成有效的 Lets 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/.