前提条件:准备一台CentOS6.5虚拟机,配置好IP,关闭iptables和selinux。

这里提供上我的云盘软件,可以去这里下载:http://pan.baidu.com/s/1qXymele

1.   首先安装Apache软件

首先在系统上面查询一下是否已经安装了apache 软件:rpm -qa|grep httpd

如果没有,使用yum安装:yum -y install httpd

chkconfig    httpd  on

service httpd start  启动软件

http://127.0.0.1/

2.   追加CentOS 6.5的epel及remi源

rpm -Uvh http://ftp.iij.ad.jp/pub/linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm

     rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
     使用yum list命令查看可安装的包(Packege)。
     yum list --enablerepo=remi --enablerepo=remi-php56 | grep php
 
3.   yum源安装好了,下一步配置PHP5.6
     yum install --enablerepo=remi --enablerepo=remi-php56 php php-opcache php-devel php-mbstring php-mcrypt php-mysqlnd php-phpunit-PHPUnit php-pecl-xdebug php-pecl-xhprof php-gd php-ldap php-zip php-fileinfo php-cli php-curl php-mysql
 
4.   用php命令查看版本
     php --version
     [root@localhost ~]# php --version
     PHP 5.6.16 (cli) (built: Nov 26 2015 08:01:30) 
     Copyright (c) 1997-2015 The PHP Group
     Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
     with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
     with Xdebug v2.3.3, Copyright (c) 2002-2015, by Derick Rethans
 
5.   安装mysql
     rpm -qa|grep mysql
     如果没有安装,则使用yum源进行安装
     yum -y install mysql-server mysql-client
     启动mysql服务:/etc/init.d/mysqld start
     mysql -u root -p    初始密码为空
     进入设置mysql密码:set password for root@localhost=password('新密码');
     exit
     重新进入mysql时需要所设置的密码
 
6.   安装phpMyAdmin
     去官网下载:phpMyAdmin-3.5.7-all-languages.tar
     gunzip phpMyAdmin-3.5.7-all-languages.tar.gz
     tar xvf phpMyAdmin-3.5.7-all-languages.tar
     mv phpMyAdmin-3.5.7-all-languages phpmyadmin
     把phpmyadmin包放置在/var/www/html目录下
     进入到/var/www/html/phpmyadmin目录下,cp config.sample.inc.php config.inc.php
     chmod 777 /var/www/html
     重启服务:service httpd restart
     在浏览器中测试phpmyadmin安装是否成功:
     http://127.0.0.1/phpmyadmin    出现phpmyadmin的登录页面即成功。
 
7.   下载testlink1.9.14安装包,如第六步解压命名方式,
     把testlink包放在/var/www/html目录下,进入testlink目录:
     vim config.inc.php修改如下几项:
     $tlCfg->config_check_warning_mode = 'SILENT'; (可选)
     
     若上面两个路径没有改动,新建这两个路径:
     cd /var
     mkdir testlink
     cd testlink
     mkdir logs
     mkdir upload_area
     修改这两个目录的权限    chmod 777 logs
                             chmod 777 upload_area
     cd ..
     chmod -R 777 testlink
     重新启动apache服务:service httpd restart
    
     安装testlink
     http://127.0.0.1/testlink/    进入testlink安装页面,点击new installation,
     设置数据库账号密码(账号root,密码默认情况为空)
     设置操作testlink数据库的账号和密码(账号为admin,密码为admin)

   可能会出现以下问题:
  A、Maximum Session Idle Time before Timeout 24 minutes and 0 seconds - (Short. Consider to extend.)
  解决:php.ini文件修改:
  session.gc_maxlifetime的值为2400
  B、Checking max. execution time (Parameter max_execution_time)
  解决:php.ini文件修改:
  max_execution_time = 120
 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
登陆:
http://server_ip/testlink/
默认登陆账号密码都是admin
 
 
问题:
1. apache 403 forbidden: 
 

修改:

/etc/selinux/config 文件 SELINUX=disabled

2. when runing "servce httpd start", encountered an issue that 80 port alrealy in use.

修改文件:/etc/httpd/conf/httpd.conf

change line "Listen 80" to be "Listen 0.0.0.0:80"

 





CentOS6.5安装testlink1.9.14的更多相关文章

  1. Centos6.5 安装python2.7.14

    2018-06-30 因为Centos6.5系统默认使用,python2.6.6.最近在学python.老师推荐将2.6.6升级至2.7.14.所以以留此文,怕哪天脑子短路好回来看看... >1 ...

  2. centos6.5安装rabbitmq3.6.14

    The minimum version of Erlang/OTP required to run RabbitMQ server 3.6.0 through 3.6.14 is R16B03. St ...

  3. Centos6 yum安装openldap+phpldapadmin+TLS+双主配置

    原文地址:http://54im.com/openldap/centos-6-yum-install-openldap-phpldapadmin-tls-%E5%8F%8C%E4%B8%BB%E9%8 ...

  4. Centos6.5 安装 RabbitMQ3.6.1

    Centos6.5 安装 RabbitMQ3.6.1 个人安装RabbitMQ总结: 安装编译工具 yum -y install make gcc gcc-c++ kernel-devel m4 nc ...

  5. centos6.5安装gcc6.1等c++环境

    centos6.5安装gcc6.1等c++环境 1.获取gcc安装包并解压wget http://ftp.gnu.org/gnu/gcc/gcc-6.1.0/gcc-6.1.0.tar.bz2tar ...

  6. CentOS-6.3安装配置SVN

    安装说明 系统环境:CentOS-6.3 安装方式:yum install (源码安装容易产生版本兼容的问题) 安装软件:系统自动下载SVN软件 检查已安装版本 #检查是否安装了低版本的SVN [ro ...

  7. Centos6.9安装vsftpd并配置多用户的方法

    本文介绍了Centos6.9安装vsftpd并配置多用户的方法,分享给大家,具体如下: 一.安装vsftpd ? 1 2 3 4 5 6 7 8 #安装vsftpd yum -y install vs ...

  8. Linux -- Centos6 yum安装相关问题与处理

    Centos6 yum安装相关问题与处理 由于要使用yum下载文件,突然yum下载不了想要的文件,想更换yum源,结果得重新安装yum 来自本人GitHub地址https://github.com/m ...

  9. Centos6.5安装MySQL5.6备忘记录

    Centos6.5安装MySQL5.6 1. 查看系统状态 [root@itzhouq32 tools]# cat /etc/issue CentOS release 6.5 (Final) Kern ...

随机推荐

  1. JavaEE互联网轻量级框架整合开发(书籍)阅读笔记(10):通过注解(annotation)装配Bean之(@Configguration、@Component、@Value、@ComponentScan、@Autowired、@Primary、@Qualifier、@Bean)

    一.通过注解(annotation)装配Bean 通过之前的学习,我们已经知道如何使用XML装配Bean,但是更多的时候已经不再推荐使用XML的方式去装配Bean,更多的时候会考虑注解(annotat ...

  2. Android-ContentProvider-UriMatcher

    注意:在ContentProvider里面写对数据库增删改查的时候,千万不能 db.close();  cursor.close(); 等操作,不然其他应用访问不到数据,也没有必要写isOpen(); ...

  3. Partition--分区切换

    现有数据表[dbo].[staging_TB1_20131018-104722]和分区表[dbo].[TB1],需要将分区表和数据表中做数据交换 CREATE TABLE [dbo].[staging ...

  4. 得到windows聚焦图片(windows 10)

    有些Windows聚焦图片确实很漂亮,很希望保留下来,但是Windows聚焦图片总更好,网上有得到聚焦图片的方法,每次都手动去弄真麻烦,于是自己编了一个小程序,自动得到Windows聚焦图片,下面是运 ...

  5. read_csv 函数

    转载自 https://www.cnblogs.com/datablog/p/6127000.html pandas.read_csv参数整理 读取CSV(逗号分割)文件到DataFrame也支持文件 ...

  6. 安装yum仓库

    1.yum仓库是在系统镜像文件里,所以我们要安装yum仓库要把系统镜像文件添加进来: 2.进行挂载配置,并且要使配置永久生效,要进行配置: 3.接下来要创建yum仓库 配置文件: 总结:以上就是安装y ...

  7. How to Mount a Remote Folder using SSH on Ubuntu

    Connecting to a server across the internet is much more secure using SSH. There is a way that you ca ...

  8. excel2010冻结行列

    https://jingyan.baidu.com/article/a24b33cd56f6bd19ff002b7c.html

  9. 单据列表里无法找到ERP系统开发需求单,但是业务对象里可以找到

    当从测试库迁移正式库时,如果新增了子系统,那么两边的子系统ID是不一样的 在BOS里修改单据的子系统只能修改业务对象列表里的子系统ID,单据列表里没有跟着一起修改 所以单据列表里的子系统ID需要手工去 ...

  10. static成员变量和static成员函数例程

    #include "pch.h" #include <iostream> using namespace std; class goods { public: good ...