Linux+XAMPP+BugFree配置(二)

上一篇 / 下一篇  2012-06-21 14:35:06

六、配置BUGFREE
     下载BugFree2:
      [root@localhost ~]# wget -c
http://www.bugfree.org.cn/download/bugfree2.tar.gz
     解压到Xampp下的htdocs文档下:
     [root@localhost ~]#tar xvfz bugfree2.tar.gz -C /opt/lampp/htdocs/

    然后复制Include/Config.inc.Sample.php为Include/Config.inc.php,编辑并修改
数据库链接地址:
   (复制命令CP和修改命令VI,这里就不多介绍了)
    /* 3. Define the username and password of the BugFree database. */
   $_CFG['DB']['User']        = 'root';          // 数据库登录用户名
   $_CFG['DB']['Password']    = 'password';      // 数据库登录用户密码
   $_CFG['DB']['Host']        = 'localhost';     // 数据库服务器地址
   $_CFG['DB']['Database']    = 'bugfree';       // 指定BugFree数据库名称
   $_CFG['DB']['TablePrefix'] = 'bf_';           // 数据库表前缀,默认为bf_。除非有冲突,不建议修改或为空
   $_CFG['DBCharset']         = 'UTF8';          // 数据库编码设置,保留默认值

   然后设置文件目录权限:
   [root@localhost ~]# cd /opt/lampp/htdocs/bugfree
   [root@localhost bugfree]# chmod 777 Data/TplCompile/
   [root@localhost bugfree]# chmod 777 BugFile/
   [root@localhost bugfree]# chmod 777 Include/Config.inc.php

   全部配置好就可以访问BugFree了:
   http://localhost/bugfree/设置新的数据库

   phpsql在线:
   http://localhost/phpmyadmin/
   可用PHPSQL操作Mysql数据或linux终端登录mysql
   [root@ASP-WEB root]# /opt/lampp/bin/mysql -u root -p

   至此,全部安装完成!


TAG:

 

评分:0

我来说两句

日历

« 2024-05-02  
   1234
567891011
12131415161718
19202122232425
262728293031 

数据统计

  • 访问量: 3804
  • 日志数: 4
  • 建立时间: 2011-06-30
  • 更新时间: 2012-07-23

RSS订阅

Open Toolbar