下载xampp
https://www.apachefriends.org/zh_cn/download.html
安装xampp
chmod 755 xampp-linux-x64-7.3.6-2-installer.run
sudo ./xampp-linux-x64-7.3.6-2-installer.run,
全部选择y,默认安装在/opt/lampp中
启动xampp
sudo /opt/lampp/lampp start,打印如下:
Starting XAMPP for Linux 7.3.6-2…
XAMPP: Starting Apache…already running.
XAMPP: Starting MySQL…ok.
XAMPP: Starting ProFTPD…ok.
下载testlink
https://sourceforge.net/projects/testlink/files/latest/download?source=files
解压后运行如下命令
tar zxvf testlink-1.9.19.tar.gz
mv testlink-1.9.19 testlink
sudo mv testlink /opt/lampp/htdocs/
配置testlink
sudo vim /opt/lampp/htdocs/testlink/config.inc.php ,修改如下:
$tlCfg->log_path = '/opt/lampp/htdocs/testlink/logs/'
$g_repositoryPath = '/opt/lampp/htdocs/testlink/upload_area/'
权限一定要是777
sudo chmod 777 /opt/lampp/htdocs/testlink/logs/
sudo chmod 777 /opt/lampp/htdocs/testlink/upload_area/
sudo chmod 777 /opt/lampp/htdocs/testlink/gui/templates_c/
安装testlink
访问http://192.168.100.142/testlink,选择“New installation”开始配置
Database admin login 为root
Database admin password 不填
TestLink DB login admin