Linux under Bugfree installation configuration steps

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.