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
- # 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 a database
View copy print?
- # mysql-u Root
- mysql> CREATE DATABASE Bugfree;
- mysql> use bugfree;
- mysql> set names UTF8;
4. Modify the PHP-FPM configuration file
View copy print?
- # 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 //Startup PHP-FPM
5, Bugfree decompression and directory settings
View copy print?
- # Unzip Bugfree.zip
- # MV bugfree3.0.1/var/www/html/bugfree
- # Chown apache.apache-r/var/www/html/bugfree //apache is a startup user of php-fpm
- # mkdir-p/var/www/html/bugfile //Create directory
- # Chown apache.apache-r/var/www/html/bugfile
6,nginx Configuration
View copy print?
- [Email protected] conf.d]# cat/etc/nginx/conf.d/bugfree.conf
- server {
- Listen 80;
- 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;
- }
- }
- [[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