访问 HumHub
- 打开浏览器,访问:
https://<SERVER-IP> - 接受自签名证书警告。
- 完成安装向导。
- 数据库已初始化,凭据已安全存储在
/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
运行以下命令以生成有效的 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/.