Configure bug tracker in rhel4.3

Source: Internet
Author: User

Install Apache and PHP with RPM
You need to install the PHP-MySQL or PHP-PostgreSQL package for PHP to connect to MySQL or PostgreSQL.
To install MySQL or PostgreSQL, it is best to use rpm for installation. After installation, the package is ready for users.
Decompress the bugtracker to/var/www/html.
Modify bug/include/config. the database section in the PHP file (only specify the database name, you do not need to create a database in the database, the database will be automatically created during the installation process), and the real path of the Bug directory in the system

You can configure a database through HTTP connection:
Modify the tcpip_socket settings of the/var/lib/pgsql/data/PostgreSQL. conf file (TCP connection allowed)
Tcpip_socket = true
Modify the/var/lib/pgsql/data/pg_cmd.conf file, and add the following line at the bottom (allow all users to connect to all databases through MD5 encryption and password at all addresses)
Host All all 0.0.0.0 0.0.0.0 MD5

Start the database and APACHE service:
Service MySQL start or service PostgreSQL start
Service httpd start

Enter http: // youdomain/bug/Setup/index. php In the browser
On the installation page, you only need to press next to complete the installation. After the installation is complete, delete all PHP files in the setup directory.
Then open http: // youdomain/bug/index. php and log on to the system as admin/admin.

Problems:
Failed to start Apache, unable to load PHP Module
Make sure that Apache and PHP versions support each other on the same platform, for example, i386 or x86_64.
An error occurred while installing the PHP data module.
Same as above. Confirm that PHP and database use the same platform software.
The setup/index. php page does not respond.
Check whether the path settings for the database and bug package are correct in bug/include/config. php.

 

 

All packages can be found directly from the CD. This is used internally. As long as no major bug is found, it is not necessary to use the latest stuff.

During the installation process, because my MySQL is compiled and installed by my own code, it is an i386 version, and the result is not suitable for installing PHP-MySQL, there is no way to choose an unfamiliar PostgreSQL server. Fortunately, there is no major problem with rpm, and almost all configurations use the default one.

Find a time to make a script and regularly back up the database.

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.