Linux Bugfree Installation

Source: Internet
Author: User
Tags configuration php fpm install php vars

The previous time with the next bugzilla, please refer to:Linux bugzilla nginx installation configuration , the feeling is not very useful. Now, the installation of Bugfree

bugfree3.0.1 was developed using the PHP yii framework, which is actually a CMS.

One, what is Bugfree

Bugfree is a bug management system written by Php+mysql independently, drawing on Microsoft's development process and bug management philosophy. Simple and practical, free and open source code (following the GNU GPL). The name Bugfree has two meanings: one is to hope that the defects in the software will be less and fewer until it is free;

Two, install the configuration php nginx MySQL

1, installation

    1. # 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

    1. #/etc/init.d/mysqld Start
    2. #/etc/init.d/redis Start

3, create a database

View copy print?
    1. # mysql-u Root
    2. mysql> CREATE DATABASE Bugfree;
    3. mysql> use bugfree;
    4. mysql> set names UTF8;

4. Modify the PHP-FPM configuration file

View copy print?
    1. # vim/etc/php-fpm.d/www.conf
    2. ;p Hp_value[session.save_handler] = files
    3. ;p Hp_value[session.save_path] =/var/lib/php/session
    4. Php_value[session.save_handler] = Redis
    5. Php_value[session.save_path] = "tcp://127.0.0.1:6379"
    6. #/ETC/INIT.D/PHP-FPM Start //Startup PHP-FPM

5, Bugfree decompression and directory settings

View copy print?
    1. # Unzip Bugfree.zip
    2. # MV bugfree3.0.1/var/www/html/bugfree
    3. # Chown apache.apache-r/var/www/html/bugfree //apache is a startup user of php-fpm
    4. # mkdir-p/var/www/html/bugfile //Create directory
    5. # Chown apache.apache-r/var/www/html/bugfile

6,nginx Configuration

View copy print?
  1. [Email protected] conf.d]# cat/etc/nginx/conf.d/bugfree.conf
  2. server {
  3. Listen 80;
  4. server_name 192.168.10.202;
  5. # root/home/tank/workspace;
  6. Root/Var/www/html/bugfree;
  7. Location/{
  8. Index index.html index.htm index.php;
  9. if (!-e $request _filename) {
  10. Rewrite ^/(. *)/index.php last;
  11. }
  12. #autoindex on;
  13. }
  14. Location ~ \.php$ {
  15. Fastcgi_pass 127.0.0.1:9000;
  16. Fastcgi_index index.php;
  17. Fastcgi_param script_filename $document _root$fastcgi _script_name;
  18. include Fastcgi_params;
  19. }
  20. }
  21. [[email protected] conf.d]#/etc/init.d/nginx start //Start Nginx

Install the configuration here, URL access http://192.168.10.202, you can initialize the settings.

Linux Bugfree installation

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.