centos 7 上安装 testlink 1.9.15/1.9.16/1.9.17/1.9.18 (mysql/php/httpd)
1.9.18 的System Requirements - server。注意,适用于 1.9.15 及以后。
Server environment should consist of:
- web-server: Apache 2.x
- PHP > 5.5
- DBMS: MySQL 5.6.x / MariaDB 10.1.x, Postgres 9.x, MS-SQL 2008/2012
Supported client web-browsers:
- Firefox
- Internet Explorer 9.x or greater
- Chrome
Testlink tar 包下载地址:https://sourceforge.net/projects/testlink/?source=typ_redirect
最新版本的安装指导:https://github.com/TestLinkOpenSourceTRMS/testlink-code, 包含系统需求,migration and upgrade 指导。
安装包中的安装指导: http://118.24.41.169/testlink/docs/testlink_installation_manual.pdf
迁移升级论坛:http://forum.testlink.org/viewforum.php?f=58
安装步骤
一. 安装 web-server: Apache 2.x
首先在系统上面查询一下是否已经安装了apache 软件:rpm -qa|grep httpd
如果没有,使用yum安装:yum -y install httpd
配置系统开机自动启动: chkconfig httpd on
启动 httpd : service httpd start
二:安装 mysql.
注意, centos 7上默认使用MariaDB,版本默认是5.5.x, 版本太低, testlink要求 MariaDB 10.1.x。 如果安装了MariaDB 低版本,删除掉, 这里改用mysql.
删除步骤(注意MariaDB有可能是小写, 如果删除 mysql 或者是其它的用yum安装的包,用同样方法。)
查询所安装的MariaDB组件:
[root@localhost logs]# rpm -qa | grep Maria*
MariaDB-server-5.5.49-1.el7.centos.x86_64
MariaDB-common-5.5.49-1.el7.centos.x86_64
MariaDB-client-5.5.49-1.el7.centos.x86_64
卸载数据库:
[root@localhost logs]# yum -y remove mariadb
删除数据库文件(如果删除安装的mysql的话,这一步也要做):
[root@localhost logs]# rm -rf /var/lib/mysql/*
安装mysql 5.6 步骤:
链接:http://sharadchhetri.com/2014/07/31/how-to-install-mysql-server-5-6-on-centos-7-rhel-7/
How to install MySQL Server 5.6 on CentOS 7 / RHEL 7
In this tutorial we will learn, how to install MySQL Server 5.6 on CentOS 7 / RHEL 7 . In our previous post, we have installed MySQL Server 5.6 on CentOS 6.x/RHEL 7.x.
In CentOS 7/ RHEL 7 , now MariaDB is introduced as a defualt database. Still many Organisations/Company would like to continue with MySQL. Whereas System Admin who earlier worked on MySQL can easily work on MariaDB. MariaDB is a community-developed fork of the MySQL relational database management system.
MariaDB’s lead developer is Michael “Monty” Widenius, the founder of MySQL and Monty Program AB. He had previously sold his company, MySQL AB, to Sun Microsystems for US$1 billion. MariaDB is named after Monty’s younger daughter, Maria. (Reference taken from Wikipedia)
Install MySQL Server 5.6 on CentOS 7 / RHEL 7
Follow the given below steps to install MySQL Server 5.6 .
You must be login with root user in system
Download the Yum Repo package of MySQL Server 5.6
Download the rpm package, which will create a yum repo file for MySQL Server installation.
- yum install wget
- wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
Install mysql-community-release-el7-5.noarch.rpm package
Install this downloaded rpm package by using rpm command.
- rpm -ivh mysql-community-release-el7-5.noarch.rpm
After the installation of this package. We will get two new yum repo related to MySQL
- [root@localhost ~]# ls -1 /etc/yum.repos.d/mysql-community*
- /etc/yum.repos.d/mysql-community.repo
- /etc/yum.repos.d/mysql-community-source.repo
- [root@localhost ~]#
Installing MySQL Server
By using yum command, now we will install MySQL Server 5.6 . All dependencies will be installed itself.
- yum install mysql-server
How to start/stop/restart MySQL Server
Now MySQL Server is installed on your system.
To start MySQL Service, run command
- systemctl start mysqld
To stop MySQL Service, run command
- systemctl stop mysqld
To restart MySQL Service, run command
- systemctl restart mysqld
To get status of MySQL Service, run command
- systemctl status mysqld
Reset MySQL root password
On fresh installation of MySQL Server. The MySQL root user password is blank.
For good security practice, we should reset the password MySQL root user.
On newly installed MySQL Server, we generally recommend to use the command script. You have to just follow the instructions.
- mysql_secure_installation
In another method,you can log into MySQL server database and reset the password in secure way.
- mysql -u root
You will see mysql prompt like this mysql> . Use the below given commands to reset root’s password.
- mysql> use mysql;
- mysql> update user set password=PASSWORD("GIVE-NEW-ROOT-PASSWORD") where User='root';
- mysql> flush privileges;
- mysql> quit
三. 安装PHP 5.6
- 链接:https://www.tecmint.com/install-php-5-6-on-centos-7/
1. To install PHP 5.6, you have to install and enable EPEL and Remi repository to your CentOS 7 system using the commands below.(注意不同版本的centos, EPEL and Remi repository 不一样 )
# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
# yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
2. Next, install yum-utils which is an assortment of utilities that integrate with yum to enhance its default features, giving it more advanced package management options and also making it easier to use.
A few of its important features include manipulating repositories, enabling or disabling packages on the go and lots more, without any manual configurations.
# yum install yum-utils
3. One of the most important program provided by yum-utils is yum-config-manager, which you can use to active Remi repository as the default repository for installing various PHP versions. For example, if you want to install PHP 5.5, PHP 5.6 or PHP 7.2 on CentOS 7, just enable it and install as shown.
# yum-config-manager --enable remi-php55 [Install PHP 5.5]
# yum-config-manager --enable remi-php56 [Install PHP 5.6]
# yum-config-manager --enable remi-php72 [Install PHP 7.2]
4. Now that you’ve enabled selected versions of PHP, you can install PHP (here, we have chosen to install PHP 5.6) with all needed modules as follows
# yum-config-manager --enable remi-php56 [Install PHP 5.6]
# yum install php php-opcache php-devel php-mbstring php-mcrypt php-cli php-gd php-curl php-mysql php-mysqlnd php-ldap php-zip php-fileinfo php-phpunit-PHPUnit php-pecl-xdebug php-pecl-xhprof
Afterwards, double check the installed version of PHP on your system.
# php -v
注意:如果安装的php包不对,如何卸载及其确保php相关包卸载干净
1. rpm -qa | grep php
2.如果是yum 安装的包, 可以用yum remove php*
3. 如果rpm -qa | grep php, 还有内容 比如:
php-cli-5.6.36-1.el7.remi.x86_64
php-mcrypt-5.6.36-1.el7.remi.x86_64
可以下面命令一一删除:
rpm -e php-cli-5.6.36-1.el7.remi.x86_64
rpm -e php-mcrypt-5.6.36-1.el7.remi.x86_64
或者 --nodeps 不考虑依赖关系,强制卸载
rpm -e --nodeps php-cli-5.6.36-1.el7.remi.x86_64
四. 安装testlink
wget https://github.com/TestLinkOpenSourceTRMS/testlink-code/archive/1.9.16.tar.gz (也可以直接从官网下载)
sudo tar -zxvf 1.9.16.tar.gz -C /var/www/html
安装配置步骤与前一篇 centos 6上安装 teslink 1.9.14 相同。
这次安装配置 testlink总结,看清楚 system requirement 对apache, php, mysql/mariadb 版本的需求。 注意不同操作系统 各软件安装源不一样。
centos 7 上安装 testlink 1.9.15/1.9.16/1.9.17/1.9.18 (mysql/php/httpd)的更多相关文章
- 如何在 CentOS 7 上安装 Redis 服务器
大家好,本文的主题是 Redis,我们将要在 CentOS 7 上安装它.编译源代码,安装二进制文件,创建.安装文件.在安装了它的组件之后,我们还会配置 redis ,就像配置操作系统参数一样,目标就 ...
- 在CentOS 7上安装.NET Core R2跑Hello World
前言 在上个月.NET Core出了最新版本预览版,只是在Window系统上试验了一下.原本想等发布正式版的时候在linux系统上试试,可能还需要一段时间,刚好有空可以折腾一下. 由于之前安装的Ubu ...
- Linux Centos 系统上安装BT客户端 Transmission
Linux Centos 系统上安装BT客户端 Transmission Transmission是一种BitTorrent客户端,特点是一个跨平台的后端和其上的简洁的用户界面,以MIT许可证和G ...
- 在CentOS 7上安装phpMyAdmin
原文 在CentOS 7上安装phpMyAdmin phpMyAdmin是一款以PHP为基础,基于Web的MySQL/MariaDB数据库管理工具.虽然已经存在着一些诸如Adminer的轻量级数据库管 ...
- 在CentOS 6上安装Apache和PHP
本文演示如何在CentOS 6上安装Apache和PHP.CentOS 6自带的是Apache 2.2.3和PHP 5.1.6,您可以使用默认的CentOS包管理器进行安装yum.使用yum(而不是使 ...
- CentOS Linux上安装Oracle11g笔记
CentOS Linux上安装Oracle11g 到 otn.oracle.com 网站上下载 Linux版的oracle 11g 编辑 /etc/sysctl.conf : kernel.shmal ...
- 如何在CentOS 7上安装Munin
在CentOS 7上安装Munin 首先我们需要在我们的系统中添加EPEL仓库. yum install epel-release 步骤2.安装LAMP(Linux,Apache,MariaDB,PH ...
- Jenkins安装 CentOS 7上安装Jenkins
CentOS 7上安装Jenkins Jenkins 安装 只安装不介绍 步骤1:更新CentOS 7 Linux系统管理员的最佳做法之一是使系统保持最新.安装最新的稳定包,然后重新启动. 1 2 ...
- 在Centos 7上安装Docker
在Centos 7上安装Docker 1.docker介绍 docker是类似于vmware的虚拟化软件,可以开发.容纳.运行应用程序的平台,在容器中安全的隔离运行应用程序. 2.Docker引擎 D ...
随机推荐
- 如何用Python实现常见机器学习算法-3
三.BP神经网络 1.神经网络模型 首先介绍三层神经网络,如下图 输入层(input layer)有三个units(为补上的bias,通常设为1) 表示第j层的第i个激励,也称为单元unit 为第j层 ...
- 自定义animate()引起的动画叠加
当用户快速在某个元素多次执行动画时,会造成动画累积的现象.这时,就需要引入动画状态这个概念.判断元素是否处于动画状态中,如果处于,则不添加新动画 常常用于在设置动画之前未清除动画,造成的动画叠加.解决 ...
- ASIHTTPRequest-Cookie的使用[转]
ASIHTTPRequest允许你使用全局存储来和所有使用CFNetwork或者NSURLRequest接口的程序共享cookie. 如果设置useCookiePersistence为YES(默认值) ...
- .NET基础 (15)委托
委托1 请解释委托的基本原理2 委托回调静态方法和实例方法有何区别3 什么是链式委托4 链式委托的执行顺序是怎么样的5 可否定义拥有返回值的方法的委托链6 委托通常可以应用在哪些场合 委托1 请解释委 ...
- Oracle EBS Patch Demo
Oracle EBS APP & DB 打补丁过程简述l例子: 打 Patch# 11843100:R12.CAC.B 打PATCH之前先查询一下是否已经有了这个PATCH. SELECT ...
- 二段Linq Groupby操作
var messages = list.GroupBy(p=>p.RefOrderNo,(k,v)=> new {OrderNo = k,SkuInfo = v}) .Select(p = ...
- 传智播客.NET视频学习课件
传智播客.NET视频学习课件访问.NET网站了解更多课程详情http://net.itcast.cn(小提示:为什么本书中超链接打不开?)此套课件是伴随 传智播客.net实况教学视频 (小提示:为什么 ...
- LoadRunner监控SQLServer
监控SQLSERVER时,能增加度量.但是只有系统资源相关的度量有数据,而和sqlserver相关的度量却没有数据. 解决方法: 改为在System Resource Graphs中通过添加Windo ...
- 在权限受限制的AD域环境中部署SQL Server AlwaysOn高可用性
最近在给一个客户部署基于微软TFS的软件生命周期管理平台时,客户要求数据库层实现高可用性,减少因数据库服务器故障影响软件开发进展. 客户现有域是一台搭建在Windows Server 2008上的级别 ...
- C#读取MP3文件的专辑图片和ID3V2Tag信息(带代码)
第二次更新,后面的代码有问题,有些专辑图片读取不到.发现是PNG图片的问题.在读取的过程中调试发现,图片帧前10个字节包含了图片的格式,在有些歌曲写着JPEG的格式,数据却是PNG的.先说下思路. j ...