Record the installation process for future reference.
The current installation is a new installation method for bugfree in windows.
InstallBugfreeBefore, you must first installApache, PHP, MySQLSupported software packages, suchXAMPPOrEasyphp.The following usesXAMPPFor example.
1. First, check the usage of port 443, because the following apache service will use port 443 (by default, it will conflict with the port used by the ssl iis Admin Service, and you need to disable this service)
Often, when starting an application, we find that the port required by the system isProgramOccupy, how to know who owns the port we need, many people have a headache, the following describes a very simple method, hope to be useful to everyone
If we need to determine who occupies our port 9050
1. Windows Platform
Run the following command in the Windows command line window:
C: \> netstat-Aon | findstr"9050"
TCP 127.0.0.1: 9050 0.0.0.0: 0 listening 2016
As you can see, the port is occupied by a process with the process number 2016. Continue to execute the following command:
C: \> tasklist | findstr"2016"
Tor.exe 2016 console 0 16,064 K
It is clear that the TOR occupies your port.
2. Confirm the port usage,Access http://www.apachefriends.org/zh_cn/xampp-windows.html first Download the latestXAMPP for WindowsVersion.
The installation process is relatively simple. It is recommended that you set Apache and MySQL projects as system services.
3,DownloadBugfreeInstallation Package, decompress the package, and copy itXAMPPSystemHtdocsSubdirectory Installation
If yesLinuxSystem. The installation path is generally/Opt/lampp/htdocs/bugfree; windowThe system installation path is generallyC: \ XAMPP \ htdocs \ bugfree
2.
EnterBugfreeTo copy files.Include/config. Inc. sample. phpNew FileInclude/config. Inc. php, Edit the new file (No need to configure it by default), and modify the database link settings:
/* 3. Define the username and password of the bugfree database .*/ $ _ CFG ['db'] ['user'] ='Root'; //Database logon Username _ _ CFG ['db'] ['Password'] = '' ;< br> // database logon User Password _ _ CFG ['db'] ['host'] = 'localhost' ;< BR >/// database server address _ _ CFG ['db'] ['database'] = 'bugfree2' ;< BR >/// specify bugfree database name $ _ CFG ['db'] ['tableprefix'] = 'Bf _';//Database table prefix. The default value isBF _. It is not recommended to modify or leave it blank unless there is a conflict. $ _ CFG ['dbcharset'] = 'Utf8 ';//Database encoding settings, retain the default value |
3.If yesLinuxSystem: modify the permissions of the following directories and files.WindowsSystem, skip this step
A)Chmod 777 data/tplcompile/
B)Chmod 777 bugfile/
C)Chmod 777 include/config. Inc. php
4.Access through a browserHttp: // localhost/bugfree. If the specified database does not exist, follow the prompts to create a database and click Continue to install.
5.Click "install newBugfree2".
6.After the installation is successful, the default Administrator account and password for the First Login are displayed. Follow the prompts to log in with the default administrator username and password.Bugfree.
So far, the bugfree installation in Windows is complete. (If port 443 is used, you need to adjust other services that need to use this port)