linux下bugfree 安裝配置步驟

來源:互聯網
上載者:User

一,什麼是bugfree

BugFree是借鑒微軟的研發流程和Bug管理理念,使用PHP+MySQL獨立寫出的一個Bug管理 系統。簡單實用、免費並且開放原始碼(遵循GNU GPL)。 命名BugFree 有兩層意思:一是希望軟體中的缺陷越來越少直到沒有,Free嘛;二是表示它是免費且開放原始碼的,大家可以自由使用傳播。

二,安裝配置php nginx mysql

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,啟動mysql和redis

# /etc/init.d/mysqld start 
# /etc/init.d/redis start 

3,建立資料庫

# mysql -u root 
mysql> create database bugfree; 
mysql> use bugfree; 
mysql> set names utf8; 

4,修改php-fpm的設定檔

# vim /etc/php-fpm.d/www.conf   
 
;php_value[session.save_handler] = files 
;php_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   //啟動php-fpm 

5, bugfree解壓和目錄設定

# unzip bugfree.zip 
# mv bugfree3.0.1 /var/www/html/bugfree 
 
# chown apache.apache -R /var/www/html/bugfree    //apache是php-fpm的啟動使用者 
 
# mkdir -p /var/www/html/BugFile     //建立目錄 
 
# chown apache.apache -R /var/www/html/BugFile 

6,nginx配置

[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   //啟動nginx 

到這兒就安裝配置好了,url訪問http://192.168.10.202,就可以進行初始化設定了。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.