我目前正在尝试在 Linux 16.04 上安装 Cdash 2.4.0。起初我下载了最新版本:
cd /var/www/html
sudo git clone https://github.com/Kitware/CDash.git
然后我创建了 config.local.php:
cd /var/www/html/CDash/config
sudo cp config.php config.local.php
之后我删除了 /* DON'T CHANGE AFTER THIS LINE*/ 之后的代码,并添加了 MySQL 数据库的密码。
我还使用以下命令创建了 cdash 用户:
$ mysql -u root -p
<HERE YOU TYPE YOUR MYSQL ROOT PASSWORD>
mysql> create database cdash;
mysql> create user 'cdash'@'localhost' identified by '<YOUR_PASSWORD_GOES_HERE>';
mysql> grant all privileges on cdash.* to 'cdash'@'localhost' with grant option;
文档指出,完成这些步骤后,我应该能够注册打开 /localhost/CDash/install.php,但我只看到一个空白页面。
我已经检查过我是否没有安装我在文档中看到的任何 php 扩展,但事实并非如此。
提前感谢您的解决方案。