testlink+xampp部署

来源:互联网 发布:网络摄像头的编码器 编辑:程序博客网 时间:2024/05/17 02:27
一 安装XAMPP (Apache环境建站软件,Apache + MySQL + PHP)
安装环境:linux
安装包:xampp-linux-x64-5.6.21-0-installer.run和testlink-1.9.14.tar.gz
配置访问权限:
                         cd /opt
                         chmod  +x ./xampp-linux-x64-5.6.21-0-installer.run
安装xampp:
                     ./xampp-linux-x64-5.6.21-0-installer.run     
解压testlink: tar zxvf testlink-1.9.14.tar.gz
testlink解压后放到:/opt/lamp/htdocs
依次执行:
chmod  777 gui/templates_c
chmod 777   logs
chmod 777  upload_area
修改testlink配置文件config.inc.php
$g_repositoryPath = '/opt/lampp/htdocs/testlink/upload_area';
$tlCfg->log_path = '/opt/lampp/htdocs/testlink/logs';
汉化testlink:
配置文件config.inc.php中localization
配置文件config.inc.php中logging项

启动xampp服务:
  cd  /opt/lampp
./manager-linux-x64.run.

xampp其它命令:

启动 XAMPP

/opt/lampp/./lamppstart

停止 XAMP

/opt/lampp/./lamppstop

重启 XAMPP

/opt/lampp/./lampprestart

安全设置

/opt/lampp/./lamppsecurity

卸载 XAMPP

rm -rf/opt/lampp


登录testlink,点击“My settings ”: http://localhost/testlink(第一次登录)
用户名:root
密码:空
管理员:admin
密码:admin
修改配置文件:
/var/www/html/testlink
# vi config_db.inc.php
< ?php
// Automatically Generated by TestLink Installer
define('DB_TYPE', 'mysql');
define('DB_USER', 'admin');
define('DB_PASS', 'admin');

define('DB_HOST', 'localhost');
define('DB_NAME', 'testlink');
define('DB_TABLE_PREFIX', '');
?>
登录testlink后,点击“My Settings”设置Local 为Chinese

0 0
原创粉丝点击