1、下载xampp 安装
http://www.apachefriends.org/zh_cn/xampp.html
直接执行.run文件安装 默认会安装到/opt/lampp
2 、启动xampp
[root@localhost ~]# opt/lampp/lampp start
Starting XAMPP 1.7.2...
LAMPP: Starting Apache...
LAMPP: Starting MySQL...
LAMPP started.
3 、配置xampp
[root@localhost ~]# opt/lampp/lampp security
分别设置xampp页面密码;phpMyAdmin用户pma密码;mysql的root密码;ftp用户daemon密码。
4、设置mysql 允许远程连接
[root@localhost ~]# /opt/lampp/bin/mysql -u root -p (进入mysql)
mysql> USE mysql; -- 切换到 mysql DB
Database changed
mysql> GRANT ALL PRIVILEGES ON *.* TO ‘root‘@‘客户端IP‘ IDENTIFIED BY ‘root密码‘ WITH GRANT OPTION;
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
5、安装配置bugfree
[root@localhost ~]# unzip bugfree3.zip
将解压目录移动到 /opt/lampp/htdocs/目录下
由main.sample.php复制生成main.php
[root@localhost ~]# cd /opt/lampp/htdocs/bugfree3/protected/config/
[root@localhost ~]# cp main.sample.php main.php
6、设置目录权限
[root@localhost ~]# chmod 757 /opt/lampp/htdocs/bugfree3/assets
[root@localhost ~]# chmod 757 /opt/lampp/htdocs/bugfree3/protected/runtime
[root@localhost ~]# chmod 757 /opt/lampp/htdocs/bugfree3/protected/runtime/state.bin
[root@localhost ~]# chmod 757 /opt/lampp/htdocs/bugfree3/protected/config
[root@localhost ~]# chmod 757 /opt/lampp/htdocs/bugfree3/protected/config/main.php
[root@localhost ~]# chmod 757 /opt/lampp/htdocs/bugfree3/install
7、在BugFree同级目录创建附件上传目录BugFile
[root@localhost ~]# cd bugfree
[root@localhost ~]# mkdir BugFile
[root@localhost ~]# chmod 777 BugFile
编辑/opt/lampp/htdocs/bugfree3/protected/config/main.php
找到uploadPath改为BugFile路径.
8、安装
浏览器输入 http://ip/bugfree3/install
CentOS 6.4利用xampp安装bugfree3,布布扣,bubuko.com
原文:http://www.cnblogs.com/bossty/p/3820576.html