windows下的原目录名为BugFree,可以改为bugfree后再传到linux下
把bugfree放到/usr/local目录下
 
chmod -R 777 bugfree

建立数据库bugfree及用户bugfree
cd /usr/local/mysql(切换到mysql安装后的目录下去)
bin/mysqld_safe --user=mysql &(启动Mysql)
cd bin
./mysql -u root -p(连接Mysql数据库)
(回车)
mysql>create database bugfree;(创建bugfree库)
mysql>use bugfree;
mysql>grant all privileges on mantis.* to'bugfree'@'%'identified by 'bugfree';(建bugfree数据库和bugfree用户)
mysql>source /usr/local/bugfree/Document/BugFree.sql;
mysql>\q


 


修改配置文件
cd /usr/local/bugfree/Include

 
  vi ConfigBug.inc.php
//修改以下几行
//$BugConfig["LangList"]["English"]         = "English";
$BugConfig["LangList"]["ChineseGB2312"] = "Chinese";
将English注释掉,语言使用Chinese
 
vi SetupBug.inc.php
修改路径将E:\BugFree修改为/usr/local/bugfree/

cd /usr/local/apache/conf

Alias /bugfree/     "/usr/local/bugfree/"
<Location /usr/local/bugfree/>         
   SetHandler bugfree
   Order allow,deny
   Allow from all        
</Location>
 
重起apache

/usr/local/apache/bin/apachectl restart

访问http://ip/bugfree/Login.php,注意不要访问index页面
登陆用户名:admin
密码:1234

 

相关文章:

  • 2021-12-11
  • 2022-12-23
  • 2021-04-16
  • 2022-12-23
  • 2021-11-28
  • 2021-06-04
  • 2021-07-27
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-19
  • 2021-10-05
  • 2022-01-01
  • 2021-07-15
  • 2022-12-23
相关资源
相似解决方案