One, what is Bugfree
Bugfree is a bug management system that uses Php+mysql to write independently, using Microsoft's research and development process and bug management concepts. Simple and practical, free and open source code (following the GNU GPL). The name Bugfree has two layers of meaning: one is to hope that the defects in the software are fewer and less until no, free well, the second is to say that it is freely and open source code, you can freely use the dissemination.
Second, install the configuration php nginx MySQL
1, installation
# yum Install php-curl php-mbstring php-gd php-mysql php-pdo php-mcrypt redis php-redis nginx MySQL mysql-server php-fpm
2, start MySQL and Redis
#/etc/init.d/mysqld Start
#/etc/init.d/redis Start
3, create the database
# mysql-u Root
mysql> CREATE DATABASE Bugfree;
mysql> use Bugfree;
mysql> set names UTF8;
4, modify the PHP-FPM configuration file
# vim/etc/php-fpm.d/www.conf
;p Hp_value[session.save_handler] = files
;p Hp_value[session.save_path] =/var/lib/php/session
Php_value[session.save_handler] = Redis
Php_value[session.save_path] = "tcp://127.0.0.1:6379"
#/ETC/INIT.D/PHP-FPM Start/Starting PHP-FPM
5, Bugfree decompression and directory settings
# Unzip Bugfree.zip
# MV Bugfree3.0.1/var/www/html/bugfree
# chown Apache.apache-r/var/www/html/bugfree//apache is the starting user for PHP-FPM
# mkdir-p/var/www/html/bugfile//Create Directory
# chown Apache.apache-r/var/www/html/bugfile
6,nginx Configuration
[Root@network conf.d]# cat/etc/nginx/conf.d/bugfree.conf
server {
Listen80;
server_name 192.168.10.202;
# root/home/tank/workspace;
Root/var/www/html/bugfree;
Location/{
Index index.html index.htm index.php;
if (!-e $request _filename) {
Rewrite ^/(. *)/index.php last;
}
#autoindex on;
}
Location ~\.php$ {
Fastcgi_pass 127.0.0.1:9000;
Fastcgi_index index.php;
Fastcgi_param script_filename $document _root$fastcgi_script_name;
Include Fastcgi_params;
}
}
[Root@localhost conf.d]#/etc/init.d/nginx start//boot Nginx
Here is the installation configuration, URL access http://192.168.10.202, you can initialize the settings.