Bugfree3.0.2Installation and configuration
Configure the environment
OS: win7/XP
XAMPP version: xampp-win32-1.7.7
Bugfree version: v3.0.2
XAMPP Introduction
XAMPP is a cross-platform integrated Apache + MySQL + PhP environment. It is easy to configure the amp server and supports windows, Solaris,
MacOSX, Linux. This article takes win7 32-bit system as an example
Software preparation
Download XAMPP on http://www.apachefriends.org/zh_cn/xampp-windows.html
Installation steps:
Before installation, check whether IIS is installed and started in the system. If not, install or start IIS first.
IIS installation. on the control panel, select add or delete programs, and then select Add/delete Windows components. The following figure appears:
Select a network service. The application server of its sub-project is automatically selected. The application server contains the installation of the IIS service, and the application server is selected,
If the Internet Information Service (IIS) is not selected, select it and click OK to start IIS installation. IIS will be automatically started after installation.
Install XAMPP as an administrator. At the end of the installation, you will be asked if it is set as a service (to enable automatic operation at each startup). Select Yes. Then, the XAMPP setting script starts, and the system prompts whether the setting is successful. Finally, the system prompts whether to start XAMPP control panel. Click Yes:
Start Apache and MySQL services. If Apache cannot be started successfully, the maximum reason is that port 80 is occupied. Simply turn off the process that occupies the port. The simplest way is to restart the computer.
Note that after you restart your computer, you may not be able to access IIS. Restart IIS.
The default installation path of XAMPP is c: \ XAMPP.
Check whether XAMPP is successfully installed:
Enter http: // localhost in the browser and press enter to display the following information:
Indicates that the installation is successful. Click "Chinese" in the lower right corner of the interface to set the interface language to Chinese.
XAMPP installation Configuration
Enter http: // localhost/security/index. php In the browser and press Enter.
The red letter is insecure, so remove it.
MySQL security console & XAMPP directory Protection
Enter http: // localhost/security/xamppsecurity. php In the browser, and press enter to display the following:
Set the password for MySQL Root, enter your own password, select HTTP for phpMyAdmin authentication, and click Change Password. The password is successfully set.
Set XAMPP directory protection, enter the user name and password, and click protect XAMPP folder. A message is displayed, indicating that the XAMPP directory protection is successfully set.
Remember the password. You must enter the user name and password for each configuration.
Use phpmyadimin to configure MySQL, enter http: // localhost/phpMyAdmin in the browser, and press enter, as shown in figure
The password you just set is used here. Enter the root user name and the password you just set. You can access the database.
If you log on to phpMyAdmin again and find that the connection fails, configure the config. Inc. php file in phpMyAdmin.
In C: \ XAMPP \ phpMyAdmin, find the config. Inc. php file and open the edit file. The configuration is as follows:
$ Cfg ['servers'] [$ I] ['auth _ type'] = 'http ';
$ Cfg ['servers'] [$ I] ['user'] = 'root ';
$ Cfg ['servers'] [$ I] ['Password'] = '000000 ';
The PWD line is set according to your own situation. Save it.
Set PHP to run in installation mode
Open the c: \ XAMPP \ apache \ bin \ PHP. ini file, find the safe_mode field, set it to on, save and exit.
Then, check the status through http: // localhost/security/index. php.
I don't know why the setting is still insecure. Hey hey, it may be necessary to set it as a super administrator. But it does not affect our next step. Please study it later.
After XAMPP is installed, you can install bugfree3.0. The installation of bugfree3.0 is similar to that of bugfree2.x.
- Download the bugfree 3 installation package (: http://www.bugfree.org.cn) (http://www.bugfree.org.cn/blog? Page_id = 9). decompress the package and copy it to the htdocs subdirectory of the XAMPP system.
# Linux
MV bugfree/opt/lampp/htdocs/
# In Windows, htdocs is generally stored in c: \ XAMPP \ htdocs \ bugfree
Move bugfree c: \ XAMPP \ htdocs \ bugfree
- After accessing the browser, decompress bugfree to the C: \ XAMPP \ htdocs directory, and enter http: // localhost/bugfree/install in the browser to install bugfree.
The servername can be 127.0.0.1 or localhost.
(When installing bugfree2.x, the browser access address is, which is slightly different from that of bugfree3.0 .)
During installation, the error E: \ XAMPP \ htdocs \ bugfile file cannot be read and written, and then the path is queried. It is found that the file is not in the path shown in the figure, but in E: \ XAMPP \ htdocs \ bugfree contains this file, so I copied it to E: \ XAMPP \ htdocs. If it is not created.
Environment check
Configuration
Complete installation
- Create an attachment upload directory in the same directory of bugfree bugfile
# Linux
CD bugfree
Mkdir bugfile
Chmod 777 bugfile
# Windows
CD bugfree
MD bugfile
- Complete the installation and go to the bugfree
Initial Username: Admin initial password: 123456
Note: possible causes and solutions for Apache startup failures
1. Port 80 is occupied. Solution: Disable the program that occupies port 80.
2. Due to the installation of Oracle 10g, solution: Open c: \ XAMPP \ apache \ conf \ extra \ httpd-perl.conf. Add the data:
LoadFile "C:/XAMPP/perl/bin/perl510.dll"
Loadmodule perl_module modules/mod_perl.so
Perlswitches-T
Perlpostconfigrequire "C:/XAMPP/Apache/CONF/extra/startup. pl"