centos6.3 Bugfree安装配置

Githa ·
更新时间:2024-09-21
· 843 次阅读

  帮公司测试部同事将bugfree从windows下迁移到centos下,大概步骤如下:

  (1)、关闭Selinux

vi /etc/selinux/config modify SELINUX=enforcing to SELINUX=disabled reboot

  (2)、安装 mysql

yum install mysql mysql-server chkconfig --levels 235 mysqld on service mysqld start

  (3)、让MySQL不区分大小写

vi /etc/my.cnf add at [mysqld] lower_case_table_names=1 service mysqld restart

  (4)、安装 php

  yum install php php-mysql php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc

  (5)安装 php 插件   (有不需要安装了)

  rpm -ivh libmcrypt-2.5.8-9.el6.rpm

  rpm -ivh php-mcrypt-5.3.3-1.el6.rpm

  启动 httpd 服务

  service httpd restart

  (6)、安装 bugfree

unzip bugfree3.0.4.zip mv bugfree /var/www/html cd /var/www/html chmod -R o+rwx bugfree

  在改目录下创建BugFile文件夹

  mkdir BugFile

  chmod -R o+rwx Bugfile

  配置 bugfree

  http://localhost/bugfree

  (7)、数据导入

  cd /usr/bin

  mysqldump -u root -proot密码 bugfree > bugfree2.sql

  把导出文件导入数据库

mysql -u root -p mysql> use bugfree mysql> source bugfree.sql mysql> q



bugfree centos

需要 登录 后方可回复, 如果你还没有账号请 注册新账号