TestLink安装手册
环境准备
- 系统CentOS Linux release 7.3.1611 (Core)
- 搭建LAMP所需的集成包 xampp-linux-x64-7.2.0-0-installer.run 下载地址
- TestLink安装包 testlink-1.9.16.tar.gz 下载地址
安装XAMPP
- 检查系统中是否有LAMP,分别检查这四个包,如果有则一个个删除
- 安装XAMMP,下载后以root身份进入所在目录:
chmod +x xampp-linux-x64-7.2.0-0-installer.run
./xampp-linux-x64-7.2.0-0-installer.run #执行安装
安装过程:
[root@localhost src]# ./xampp-linux-x64-7.2.--installer.run
----------------------------------------------------------------------------
Welcome to the XAMPP Setup Wizard. ----------------------------------------------------------------------------
Select the components you want to install; clear the components you do not want
to install. Click Next when you are ready to continue. XAMPP Core Files : Y (Cannot be edited) XAMPP Developer Files [Y/n] :Y Is the selection above correct? [Y/n]: Y ----------------------------------------------------------------------------
Installation Directory XAMPP will be installed to /opt/lampp
Press [Enter] to continue: ----------------------------------------------------------------------------
Setup is now ready to begin installing XAMPP on your computer. Do you want to continue? [Y/n]: Y ----------------------------------------------------------------------------
Please wait while Setup installs XAMPP on your computer. Installing
% ______________ % ______________ %
######################################### ----------------------------------------------------------------------------
Setup has finished installing XAMPP on your computer.
启动:
[root@localhost src]# /opt/lampp/lampp start
Starting XAMPP for Linux 7.2.-...
XAMPP: Starting Apache...already running.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...ok.
创建数据库:
cd /opt/lampp/bin/
./mysqladmin -uroot password 123456
./mysql -uroot -p123456
MariaDB [(none)]> create database testlink;
MariaDB [(none)]> grant all privileges on testlink.* to tladmin@"localhost" identified by "123456";
解压testlink,并授权:
tar -xf testlink-1.9.16.tar.gz -C /opt/lampp/htdocs/
mv /opt/lampp/htdocs/testlink-1.9.16/ /opt/lampp/htdocs/testlink #授权
cd /opt/lampp/htdocs/testlink/
chmod 777 gui/templates_c
chmod 777 logs
chmod 777 upload_area
修改配置参数:
vim /opt/lampp/htdocs/testlink/config_inc.php
将$tlCfg->config_check_warning_mode = FILE';改成 $tlCfg->config_check_warning_mode='SILENT';
将$tlCfg->log_path= '/var/testlink/logs/';改成 $tlCfg->log_path='/opt/lampp/htdocs/testlink/logs/';
将$g_repositoryPath = '/var/testlink/upload_area/';改成$g_repositoryPath='/opt/lampp/htdocs/testlink/upload_area/';
将$tlCfg->default_language = 'en_GB';改成$tlCfg->default_language= 'zh_CN'; #其他配置说明
$tlCfg->import_file_max_size_bytes,后面的数据'2097152'改为期望的数据值。(建议修改为2M,即2097152)
$tlCfg->import_max_row='10000'是导入文件一行的大小限制。
$tlCfg->user_self_signup,将其后TRUE改为FALSE,在登录界面取消了NewUser链接。
修改其他参数:
错误提示:Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in /opt/lampp/htdocs/testlink/third_party/phpmailer/PHPMailerAutoload.php on line
修改参数:
把 function __autoload($classname)修改为function spl_autoload_register($classname)
打开浏览器,进入新手引导: http://192.168.182.147/testlink/




添加配置文件:
[root@localhost ~]# vim /opt/lampp/htdocs/testlink/config_db.inc.php
<?php
// Automatically Generated by TestLink Installer - Wed, 17 Jan 18 14:28:29 +0100
define('DB_TYPE', 'mysql');
define('DB_USER', 'tladmin');
define('DB_PASS', '123456');
define('DB_HOST', 'localhost');
define('DB_NAME', 'testlink');
define('DB_TABLE_PREFIX', '');
进入登录页面: 默认用户名和密码是admin

更改语言


参考文档:http://blog.51cto.com/tiantiantesting/1727832
TestLink安装手册的更多相关文章
- testlink安装
今天安装了一下testlink,完全按照高峻博客里的做法,最后安装成功了 遇到的问题: 问题表现: 新安装TestLink,登录Testlink后,新建一个项目后,会出现如下提示: There are ...
- TestLink安装全攻略
TestLink安装全攻略 此文章转自该链接--http://www.cnblogs.com/Tcorner/archive/2011/07/26/2117296.html 安装前准备 需要下载xam ...
- Redis安装手册
转载请注明出处:http://www.cnblogs.com/robinjava77/p/5465146.html (Robin) 1)下载redis:wget http://download.red ...
- TestLink安装及整合Jira
TestLink安装及整合Jira 1.Testlink 安装部署 Testlink是一个开源的测试管理工具,主要用于管理测试用例,从测试需求.测试计划.测试用例管理和用例执行,到最后的结果分析,一套 ...
- linux下subversion server安装手册
linux下subversion server安装手册 安装基于的Linux版本为:Red Hat Enterprise Linux Server release 6.3. 一 准备需要的安装包. ( ...
- Oracle 11g R2安装手册(图文教程)For Windows
1.Oracle 11g R2安装手册(图文教程)For Windows 1.下载Oracle 11g R2 for Windows版本,下载地址如下 官方网站: http://download.or ...
- Testlink安装步骤Checking if C:\inetpub\wwwroot\testlink-1.9.3\gui\templates_c directory is writable Failed !
Testlink安装过程中问题现象: Checking if C:\inetpub\wwwroot\testlink-1.9.3\gui\templates_c directory is writab ...
- oracle 11gR2 RAC安装手册
--oracle 11gR2 RAC安装手册 -----------------------------2013/10/29 参考三思笔记 http://files.cnblogs.com/jackh ...
- entos 7虚拟机安装手册
entos 7虚拟机安装手册. 环境:VMware虚拟机软件 centos7 最小化安装包 步骤: 第一步:新建虚拟机 第二步:选择要安装的虚拟机的操作系统镜像.如我这里使用的就是CentOS7最小化 ...
随机推荐
- 在linux下监控文件是否被删除或创建的命令
You can use auditd and add a rule for that file to be watched: auditctl -w /path/to/that/file -p wa ...
- android 面试
2. 横竖屏切换时候 activity 的生命周期1. 不设置 Activity 的 android:configChanges 时 , 切屏会重新调用各个生命周期 , 切横屏时会执行一次 , 切竖屏 ...
- Windows Phone 提升开发效率(一)使用d:DataContext添加设计时Binding
[问题的提出] 在开发过程中我们经常会遇到将UI同学提供的效果图转化成实际的页面,而在这过程中,多数时候Blend等设计工具默认情况下并不能提供很好的可视化支持. 举个简单的例子来说下吧: ...
- Unix系统编程()文件描述符和打开文件之间的关系
目前学习到的是一个文件描述符对应着一个打开的文件,似乎是对应的关系.但是实际上并不是这样的.多个文件描述符指向同一个打开的文件,是可能的也是必要的.这些文件描述符可以在相同或者不同的进程中打开. 要理 ...
- JsonNode、JsonObject常用方法
最近项目中要用json,闲暇时间,对json进行下总结. 1.JsonNode 项目中用到的jar包 import com.fasterxml.jackson.core.JsonParseExce ...
- MongoDB助力快速搭建物流订单系统
简介 快递物流系统里最常见的一种业务类型就是订单的查询和记录.订单的特点是随着递送过程,订单数据需要随时更新路径.数据结构上需要可以灵活应对,这点非常符合Document模型,并且MongoDB支持G ...
- AJAX的中文乱码问题
/***********本人原创,欢迎转载,转载请保留本人信息*************/作者:wallimn电邮:wallimn@sohu.com博客:http://blog.csdn.net/wa ...
- 一种基于匹配回朔的 css3 选择器引擎实现
介绍 CSS 选择器是一种应用于 DOM 节点查找场景的特定微型语法, 本质上和正则表达式一样都是一种模式匹配语言,灵活使用可以方便得获取指定位置的节点集合. 目前 W3C 推荐标准为 Selecto ...
- 解决Maven项目 Missing artifact jdk.tools:jdk.tools:1.7的错误
因学习项目需要,在pom.xml添加hbase-client依赖的时候提示解决Maven工程中报 Missing artifact jdk.tools:jdk.tools:1.7的提示信息,之前遇到这 ...
- java-----四种引用
java的四种引用,强弱软虚,用到的场景 标签: java的引用 强弱软虚 2016-05-11 22:59 1237人阅读 评论(0) 收藏 举报 1.强引用(StrongReference) 强引 ...