红联Linux门户
Linux帮助

Ubuntu16.04安装xampp及部署Testlink

发布时间:2017-04-02 09:56:25来源:linux网站作者:v5captain
一、从官网下载xampp并安装:
https://www.apachefriends.org/zh_cn/index.html
chmod +x  xampp-linux-x64-5.6.30-0-installer.run
./xampp-linux-x64-5.6.30-0-installer.run
默认安装到了/opt/lampp
运行:
sudo /opt/lampp/lampp start
Restarting XAMPP for Linux 5.6.30-0...
XAMPP: Stopping Apache...ok.
XAMPP: Stopping MySQL...ok.
XAMPP: Stopping ProFTPD...ok.
XAMPP: Starting Apache...ok.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...ok.
试试:         
http://localhost/    #apache,目录是lampp/htdoc
http://localhost/phpmyadmin
 
二、下载Testlink-1.9.3:
Download TestLink from SourceForge.net
https://sourceforge.net/projects/testlink/files/
下载后直接解压到/opt/lampp/htdocs目录下即可,我的工作目录是/opt/lampp/htdocs/testlink-1.9.3/
开始配置testlink
http://localhost/testlink-1.9.3/
只需要给出Mysql用户名root密码为空和testlink管理账户密码即可,我的是admin,admin,其它默认
 
三、安装成功后:
(1)关闭testlink的安装提示:
sudo vi config.inc.php
修改“user_self_signup”参数值为“FALSE”
修改“config_check_warning_mode”参数值为“SILENT”
PS:vi 搜索字符串命令 /config_check_warning_mode,按"n"查找下一个。
(2)打开testlink的api dev,用来在程序中回填结果到testlink的:
testlink-1.9.3\htdocs
Open config.inc.php
Search for
/** XML-RPC API availability (disabled by default) */
$tlCfg->api->enabled = FALSE;
Change FALSE to TRUE
$tlCfg->api->enabled = TRUE;
Save config.inc.php
Login to Testlink UI as admin
Go to 'My Settings'
Under API interface, click 'Generate new key'
Copy the key generated
Substitute your newly generated devKey in the client program
Example: client = TestlinkAPIClient(devKey="abc04556463cd813a1ea05caf042d42f")
停止lampp:
sudo /opt/lampp/lampp stop
卸载lampp:
sudo /opt/lampp/uninstall
 
本文永久更新地址:http://www.linuxdiyf.com/linux/29676.html