bugfree is a bug management tool. Developed by Taobao and is an open source tool. Taobao officially provides installation methods: http://testing.etao.com/node/120. It is very convenient to install via XAMPP. But XMAPP will install mysql/php/apache/bugfree all at once. However, I have installed nginx/mysql/on my current machine, so I decided to install it manually after thinking. So the nightmare is coming. I spent two and a half days doing this.
Software:
mysql5.5.28
php-5.2.13.tar.gz
php-5.2.13-fpm-0.5.13. Diff.gz
nginx1.2.3
bugfree3.0.3
mysql and nginx are compiled and installed by source code.
Next, refer to http://www.45it.com/net/201401/36599.htm for php installation. (Before you look at the following, don't rush to do it according to his practice)
There is a place to pay attention here. Because bugfree is connected to the database, php must have pdo_mysql support. So in the previous step of ./configure you need to keep up with two options:
--with-mysql=/usr/local/mysql (here refers to the mysql installation directory) --with-pdo-mysql .
But even then, there is still a tragedy. An error occurred while compiling. The error message " is not able to find the mysql header file ".
After Baidu found a friend's help, the following is a reference
CentOS5 installed mysql and mysql-server with yum, when compiling and installing php-5.2.9 -- The with-mysql option appears configure: error: Cannot find MySQL header files under yes. Note that the MySQL client library is not bundled anymore.
This is the missing mysql-devel installation package, #yum install -y Mysql-devel
Recompile php after yum install -y mysql-devel. If the compilation is successful, the words "quote "welocme to use php" will appear on the interface.
Then make and make install.
After the above steps, I finally installed PHP.
After PHP is installed, the next step is to associate PHP with nginx. Open nginx.conf (usually under the conf folder in the nginx installation directory)
Add the following configuration:
server{
listen 80;
Server_name 192.168.1.101; (fill in the IP of the machine where your own nginx is located)
#charset koi8-r;
#access_log logs/host.access.log main;
location /{
if (!-e $request_filename) {
rewrite ^([_0-9a-zA-Z-]+)?(/wp-.*) $2 last ;
rewrite ^([_0-9a-zA-Z-]+)?(/.*\\.php)$ $2 last;
rewrite ^ /bugfree/index.php last ;
}
index index.html index.htm index.php;
}
location ~ \\.php$ {
root html;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params;
}
Restart nignx after the association and start php. (I am /usr/local/sbin/php-fpm)
Test whether nginx is configured successfully for PHP based on the method provided in the sixth point of the first connection.
Find out if there is mysql information on the page by visiting index.php. if there is not. Explain that pdo_mysql is not loaded successfully. At this time, you can consider recompiling PHP. (It's best not to touch this kind of thing)
If everything is OK, then you can download bugfree (http://www.bugfree.org.cn/). After unzipping, upload the folder to the html directory under the nginx directory. Then follow the official installation method at http://testing.etao.com/node/120.
After all the configuration of the database is generated, when you click "to enter bugfree", you may encounter the problem that the site/login address cannot be accessed. At this time, you can use http://hi.baidu.com/mestars/item/3e16110dfa5c0a7fbfe97e88. Filter out the url specified by the urlManager in the bugfree main.php file.
Ok. Basically it is like this. good luck!
server is 2003 system, usually used well, but recently jumped out! IIS Worker Process encountered a
These two days were tossed by the server, and the program in the event viewer kep
When the SVN client is used as described above, the SVN server used is usually ext
Now many customers are based test as an excuse to come after the test machine or
How to remove the offline server server
Modify Linux kernel parameters Improve Nginx server concurrency performance
Interpretation of NEC's X86 fault-tolerant server technology
Apache server user authentication simple configuration solution set
Automatic management of Win2003
9 ways to teach you to build a secure Windows Server 2008
Solve Nginx: [error] open() "/usr/local/Nginx/logs/Nginx.pid
Vista home audio and video server formation program
Easily enter safe mode under dual system
How to solve the problem of repeated installation of Win10 patch KB3119142?
WinXP system hard disk icon can not display the icon of the variable imaging paper
Win10 Mobile Preview 10536 is no longer pushed as fast as early next week
What should I do if I install IE 11? IE 11 installation process detailed
Win7 physical memory is insufficient, causing the computer to run very slowly. How to do
Why is the Win7 system taskbar on the right?
How to skip creating a Microsoft account during Win10 installation
WinXP boot shows pink and then enters the desktop. What happens?