Ubuntu16.04安装xampp及部署Testlink
一、从官网下载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/TestLink%201.9/TestLink%201.9.3/testlink-1.9.3.tar.gz/download 下载后直接解压到/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
参考:
Xampp - Ubuntu中文
http://wiki.ubuntu.org.cn/Xampp
Ubuntu安装TestLink1.9.14 - 和木的个人空间
https://my.oschina.net/lcz001/blog/740349
Ubuntu 下安装 TestLink 测试管理工具 - 大毛的部落 - 博客频道 - CSDN.NET
http://blog.csdn.net/maowenbin/article/details/6323014