Mantis is popular php based defect tracking application which works on top of RDBMS like MySQL and PostgreSQL. Mantis �������� ���������� php ������ ������� ������������ ����������, ������� �������� ��� ����, ��� MySQL � PostgreSQL. Recently I ported our Windows based Mantis installation to Linux. � � ��������� ����� ���� ����������� �� ������ Windows Mantis ��������� Linux. It used MySQL as backend. ��� ������������ MySQL, ��� ������. Here are the steps: ��� ����:
1. Export Mantis MySQL database from Windows, upload it on Linux and then import it to MySQL database on Linux. ������� Mantis MySQL �� �� Windows, ��������� ��� �� Linux, � ����� ������������� ��� � ���� ������ MySQL �� Linux. You can find detailed �� ������� ����� ��������� instructions for exporting and importing MySQL database here ���������� ��� �������� � ������� ������ MySQL ����� .

2. Upload the mantis directory to Linux. �������� mantis ������� ��� Linux. Use either ftp or Bitvise SFTP (recommended) to upload the files. ����������� ���� ftp ��� Bitvise SFTP (�������������) ��� �������� ������.

3. Modify config.inc.php to change the login and / or password as required. �������� config.inc.php ��� ��������� ������ � / ��� ������, ��� ��� ���������.

4. Run the following: ��������� ���������:
yum -y install mysql-server mysql php-mysql php httpd yum-� ��������� �������-������ mysql ���� � php mysql httpd

This will ensure that you have php, Apache httpd server, mysql server and required php libraries to connect to MySQL. ��� �����������, ��� � ��� ���� php, Apache httpd ������, mysql ������� � ��������� php ���������� ��� ����������� � MySQL. In my installation I originally didn't have php-mysql library which was causing the whole thing to fail. � ���� ��������� � ���������� �� ����� ������ ���� � mysql ����������, ������� �������� �� ������ �� ������.

5. Restart httpd and mysql: ������������� httpd � mysql:
/sbin/service mysqld restart / sbin / ������ ����������� mysqld
/sbin/service httpd restart / sbin / httpd ������������� ������

You are done! �� �������!