Prerequisites: Prepare a CentOS6.5 virtual machine, configure the IP address, and disable iptables and selinux. Here we provide my cloud disk software, which can be downloaded here: Elastic
Prerequisites: Prepare a CentOS6.5 virtual machine, configure the IP address, and disable iptables and selinux.
Here I provide my cloud disk software, you can download here: http://pan.baidu.com/s/1qXymele
1. install Apache software first
First, check whether apache software is installed on the system: rpm-qa | grep httpd.
If not, use yum to install: yum-y install httpd.
Chkconfig httpd on
Service httpd start startup software
Http: // 127.0.0.1/
2. append the epel and remi source of CentOS 6.5.
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 Run the yum list command to view the Packege ). yum list --enablerepo=remi --enablerepo=remi-php56 | grep php 3. The yum source is installed. configure PHP5.6 in the next step. yum install --enablerepo=remi --enablerepo=remi-php56 php php-opcache php-devel php-mbstring 4. run the php command to view the version. 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. install mysql rpm -qa|grep mysql If not, use the yum source for installation. yum -y install mysql-server mysql-client Start mysql service:/etc/init. d/mysqld start 6. install phpMyAdmin Go to the official website Download: 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 Place the phpmyadmin package in /Var/www/html Directory Go to the/var/www/html/phpmyadmin Directory, cp config. sample. inc. php config. inc. php chmod 777 /var/www/html Restart the service: service httpd restart Test whether phpmyadmin is successfully installed in the browser: Http: // 127.0.0.1/phpmyadmin. 7. download the testlink1.9.14 installation package. for example, extract the name in step 6, Put the testlink package in the/var/www/html directory and go to the testlink Directory: Vim config. inc. php: $ G_repositoryPath = '/var/testlink/upload_area/'; the default path is used. $ TlCfg-> log_path = '/var/testlink/logs/'; default path $ TlCfg-> default_language = 'zh _ cn'; modify $ TlCfg-> config_check_warning_mode = 'silent'; modify
If the preceding two paths are not changed, create these two paths: cd/var mkdir testlink cd testlink mkdir logs mkdir upload_area to modify the permission chmod 777 logs chmod 777 upload_area cd .. chmod-R 777 testlink restart apache service: service httpd restart install testlink http: // 127.0.0.1/testlink to go to the testlink installation page, click new installation, and install it. if any failed item is prompted, check the configuration. After the installation is complete: the http: // 127.0.0.1/testlink logon page is displayed. OK, you can use it.