CentOS6.5安装testlink1.9.14
2015-12-25 12:06
555 查看
前提条件:准备一台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:
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)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
安装过程中如果出现如下错误:
TestLink setup will now attempt to setup the database:
Creating connection to Database Server:OK!
Connecting to database `testlink`:OK!
Creating Testlink DB user `testlink`:OK! (ok - user_exists ok - grant assignment)
Processing:sql/mysql/testlink_create_tables.sql
OK!
Writing configuration file:Failed!
TestLink couldn't write the config file. Please copy the following into the ../config_db.inc.php file:
<?php
// Automatically Generated by TestLink Installer
define('DB_TYPE', 'mysql');
define('DB_USER', 'root');
define('DB_PASS', 'password');
define('DB_HOST', 'localhost');
define('DB_NAME', 'testlink');
define('DB_TABLE_PREFIX', '');
?>
Once that's been done, you can log into TestLink by pointing your browser at your TestLink site.
解决方式:
在testlink目录中创建config_db.inc.php文件,并拷贝php的代码即可
[cpp]
view plaincopyprint?
[root@NanjingBaseServer testlink]$ vim config.inc.php [root@NanjingBaseServer testlink]$ touch config_db.inc.php; vim config_db.inc.php
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
登陆:
http://192.168.1.28/testlink
默认登陆账号密码都是admin
这里提供上我的云盘软件,可以去这里下载: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
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)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
安装过程中如果出现如下错误:
TestLink setup will now attempt to setup the database:
Creating connection to Database Server:OK!
Connecting to database `testlink`:OK!
Creating Testlink DB user `testlink`:OK! (ok - user_exists ok - grant assignment)
Processing:sql/mysql/testlink_create_tables.sql
OK!
Writing configuration file:Failed!
TestLink couldn't write the config file. Please copy the following into the ../config_db.inc.php file:
<?php
// Automatically Generated by TestLink Installer
define('DB_TYPE', 'mysql');
define('DB_USER', 'root');
define('DB_PASS', 'password');
define('DB_HOST', 'localhost');
define('DB_NAME', 'testlink');
define('DB_TABLE_PREFIX', '');
?>
Once that's been done, you can log into TestLink by pointing your browser at your TestLink site.
解决方式:
在testlink目录中创建config_db.inc.php文件,并拷贝php的代码即可
[cpp]
view plaincopyprint?
[root@NanjingBaseServer testlink]$ vim config.inc.php [root@NanjingBaseServer testlink]$ touch config_db.inc.php; vim config_db.inc.php
[root@NanjingBaseServer testlink]$ vim config.inc.php [root@NanjingBaseServer testlink]$ touch config_db.inc.php; vim config_db.inc.php
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
登陆:
http://192.168.1.28/testlink
默认登陆账号密码都是admin
相关文章推荐
- Linux中Samba服务器的编译安装以及配置的宏的写法
- linux命令nohup的使用,ps-aux
- linux 用通配符排除指定字符结尾文件的一种方法
- Linux查看CPU和内存使用情况
- 详解Linux系统中rename命令的使用方法
- Linux系统巡检常用命令
- linux dd命令 官方文档
- linux学习笔记-日常运维
- centos7 和 kali2 双系统
- linux学习笔记-基础部分
- Centos(Linux)系统备份与还原
- linux 配置信息
- Linux中守护进程详解
- Linux init.d
- Linux查看进程启动时间
- linux grep,sed,awk和diff的使用
- 打印助手-打印暂停/开始问题原因调研记录
- 配置CENTOS YUM更新源
- linux iio子系统
- linux 用户管理