Bugfree3.0.4 Linux Environment Installation Guide

Source: Internet
Author: User
Tags php server

First, install Apache server

1. Check if the Apache server is installed

2. If the unrecognized service is indicated, the component is not installed and needs to be manually installed

Yum Install httpd

3. Start the process after installation is complete

4. Verify that the Apache server is operating properly
Under the premise of guaranteeing the normal operation of the httpd process, under the httpd root directory/var/www/html, create a new static Web page, such as index.html, and then enter the browser as 192.168.128.144/ Index.html can see the contents of the Web page. If the access is not successful then shut down the firewall (service iptables stop) and then refresh it. Here, the Web server is configured to complete.

Second, install MySQL

If MySQL is connected to another server, ignore this step

Third, install the PHP server

About Php,centos systems are usually installed by default and can be checked for normal operation. In the var/www/html directory, create a new PHP file, such as index.php, and then enter 192.168.128.144/index.php in the browser, if you can open the PHP file normally, it means that the service is working properly.

Iv. Setting the httpd and mysqld processes to boot
Chkconfig httpd onchkconfig mysqld on
V. Installation of Bugfree server

Upload Bugfree_v3.0.4.zip

Unzip to/var/www/html directory, modify directory named Bugfree

Six, yum install PDO MySQL

Access Http://ip/bugfree/install display such as missing MySQL PDO module

If not installed execute the following command

Yum Install Php-pdo_mysql
Vii. Modify the permissions of the corresponding directory

To modify write permissions for the project directory by using the chmod command

Viii. Modifying the database configuration
vi/var/www/html/bugfree/protected/config/main.php

Find ConnectionString

Modify the database connection to

Nine, allow httpd remote access

Visit Bugfree again, if not the above database configuration error, also reported the following error
CDBException
Cdbconnection Connection to database failed
Execute command, view to prohibit httpd remote connection

getsebool-a | grep httpd

Execute command allows access

Setsebool-p Httpd_can_network_connect 1

Bugfree3.0.4 Linux Environment Installation Guide

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.