1. Download and install XAMPP
Http://www.apachefriends.org/zh_cn/xampp.html
Directly run the. Run file to install it to/opt/lampp by default.
2. Start XAMPP
[[Email protected] ~] # Opt/lampp start
Starting XAMPP 1.7.2...
Lampp: Starting Apache...
Lampp: Starting MySQL...
Lampp started.
3. Configure XAMPP
[[Email protected] ~] # Opt/lampp Security
Set the XAMPP page password, phpMyAdmin user PMA password, MySQL Root Password, and FTP user daemon password respectively.
4. Set MySQL to allow remote connection
[[Email protected] ~] #/Opt/lampp/bin/MySQL-u root-P (enter MySQL)
Mysql> use MySQL; -- switch to MySQL db
Database changed
Mysql> grant all privileges on *. * To 'root' @ 'client ip' identified by 'root password' with grant option;
Mysql> flush privileges;
Query OK, 0 rows affected (0.00 Sec)
5. install and configure bugfree
[[Email protected] ~] # Unzip bugfree3.zip
Move the extracted directory to the/opt/lampp/htdocs/directory.
Generate main. php by copying main. sample. php
[[Email protected] ~] # Cd/opt/lampp/htdocs/bugfree3/protected/config/
[[Email protected] ~] # Cp main. sample. php main. php
6. Set Directory Permissions
[[Email protected] ~] # Chmod 757/opt/lampp/htdocs/bugfree3/assets
[[Email protected] ~] # Chmod 757/opt/lampp/htdocs/bugfree3/protected/Runtime
[[Email protected] ~] # Chmod 757/opt/lampp/htdocs/bugfree3/protected/runtime/State. Bin
[[Email protected] ~] # Chmod 757/opt/lampp/htdocs/bugfree3/protected/config
[[Email protected] ~] # Chmod 757/opt/lampp/htdocs/bugfree3/protected/config/Main. php
[[Email protected] ~] # Chmod 757/opt/lampp/htdocs/bugfree3/install
7. Create an attachment upload directory in the same directory of bugfree
[[Email protected] ~] # Cd bugfree
[[Email protected] ~] # Mkdir bugfile
[[Email protected] ~] # Chmod 777 bugfile
Edit/opt/lampp/htdocs/bugfree3/protected/config/Main. php
Change uploadpath to bugfile.
8. Installation
Enter http: // ip/bugfree3/install in the browser