Testlink安装----YUM安装LAMP

Testlink安装----YUM安装LAMP

环境说明

CentOS Linux release 7.3.1611 (Core)

Apache/2.4.6 (CentOS)
MySQL 5.6.25 Community Server (GPL)
PHP 7.3.4 (cli)

安装LAMP环境

1.安装Apache
yum install httpd -y
httpd -v
2.安装mysql5.6

参考:
https://blog.youkuaiyun.com/lswzw/article/details/89469787

3.安装PHP
rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm
#安装remi源。

yum install yum-utils
#安装yum选择工具

yum-config-manager --enable remi-php73
#开启php7.3安装

yum install php php-opcache
yum install php-mysqlnd php-pdo
yum install php-gd php-ldap php-odbc php-pear php-xml php-xmlrpc phpmbstring php-soap curl curl-devel
#安装php和相关包。

安装PHP5.4:yum install php

安装PHP7.0:yum-config-manager --enable remi-php70
yum install php php-opcache

安装PHP7.3:yum-config-manager --enable remi-php73
yum install php php-opcache

安装Testlink

cd /var/www/html/

tar zxvf testlink-1.9.19.tar.gz

cd testlink-1.9.19

mv * ../

打开http://服务器IP/
就可以访问testlink. 再根据网页提示 调整安装testlink须要的具体目录和参数。

vi /etc/php.ini
max_execution_time = 120


mkdir -p /var/testlink/{logs,upload_area}
chmod 777 /var/testlink/logs/
chmod 777 /var/testlink/upload_area/
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值