1. 安装依赖包Perl

--> yum install -y perl-Module-Install.noarch

 

2. 运行testlink安装文件(去bitnami官网下载:https://bitnami.com/stacks)

--> ./bitnami-testlink-1.9.16-1-linux-x64-installer.run

 

3. 数据库导入,

--> cd /testlink安装目录/mysql/bin

--> ./mysql -u root -p bitnami_testlink < /home/qa/tool/bitnami_testlink.sql

 

4. 配置MySQL,使得其他电脑可连接数据

1)cd至mysql安装目录,修改my.cnf文件,注释掉:# bind-address=127.0.0.1

2)登录mysql数据库:mysql -u root -p  输入密码
mysql> use mysql;
mysql> select user,host from user;

如果没有"%"这个host值,就执行下面这两句:
mysql> update user set host='%' where user='root';
mysql> flush privileges;

 

5. 登录

IP:apache端口/testlink

apache配置文件:/opt/testlink-1.9.16-1/apache2/conf/httpd.conf

 

6. 开机自启

1)vim /etc/rc.local

2)添加"sh /opt/testlink-1.9.16-1/ctlscript.sh start"

3)chmod +x /etc/rc.local

 

相关文章:

  • 2022-12-23
  • 2021-08-23
  • 2021-05-15
  • 2022-02-15
  • 2021-12-10
  • 2021-08-11
  • 2021-06-06
猜你喜欢
  • 2021-04-12
  • 2022-12-23
  • 2022-12-23
  • 2021-09-09
  • 2021-10-09
  • 2022-12-23
相关资源
相似解决方案