Access HumHub
- 打开浏览器,访问:
https://<SERVER-IP> - 接受自签名证书警告。
- 完成安装向导。
- 数据库已初始化,凭据已安全存储在
/root/.cloudzy-creds.
重要文件与目录
- Database credentials:
/root/.cloudzy-creds - SSL files:
/etc/ssl/certs/humhub.crt&/etc/ssl/private/humhub.key - Apache config:
/etc/apache2/sites-available/humhub.conf - App files:
/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
Notes
- 你可以稍后切换到真实域名,并使用 Lets Encrypt SSL(已安装 Certbot)。
- 如需邮件通知,请确保已启用 SMTP 访问权限(已安装 Postfix)。
- Review configuration in
/var/www/humhub/protected/config/.