Centos 6.4 uses XAMPP to install bugfree3

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.