How To Migrate Mantis Defect Tracking System From Windows To Linux / Fedora Core 6如何迁移螳螂缺陷跟踪系统从Windows向Linux /是Fedora Core 6
Mantis is popular php based defect tracking application which works on top of RDBMS like MySQL and PostgreSQL.螳螂是流行的PHP为基础的缺陷跟踪应用,其中工程对上方的关系型数据库一样, MySQL和PostgreSQL的支持。 Recently I ported our Windows based Mantis installation to Linux.最近,我携我们基于Windows的螳螂安装到Linux 。 It used MySQL as backend.它使用的MySQL作为后端。 Here are the steps:这里是步骤:
1. 1 。 Export Mantis MySQL database from Windows, upload it on Linux and then import it to MySQL database on Linux.出口螳螂MySQL数据库从Windows ,将它上传到Linux和然后导入到MySQL数据库在Linux上。 You can find detailed你可以找到详细 instructions for exporting and importing MySQL database here指示出口国和进口MySQL数据库在这里 . 。
2. 2 。 Upload the mantis directory to Linux.上传螳螂目录到Linux 。 Use either ftp or Bitvise SFTP (recommended) to upload the files.使用FTP或bitvise SFTP发布(推荐)上传文件。
3. 3 。 Modify config.inc.php to change the login and / or password as required.修改config.inc.php更改登录和/或密码的要求。
4. 4 。 Run the following:运行以下:
yum -y install mysql-server mysql php-mysql php httpd百胜率安装的MySQL服务器的MySQL的PHP - MySQL的PHP中的httpd
This will ensure that you have php, Apache httpd server, mysql server and required php libraries to connect to MySQL.这将确保你有PHP的,阿帕奇的httpd服务器, MySQL服务器,并要求PHP的图书馆连接到MySQL的。 In my installation I originally didn’t have php-mysql library which was causing the whole thing to fail.在我安装我本来没有一个PHP MySQL的图书馆,这是造成整个事情要失败的。
5. 5 。 Restart httpd and mysql:重新启动的httpd和MySQL :
/sbin/service mysqld restart / sbin /服务重新启动mysqld
/sbin/service httpd restart / sbin /服务的httpd重新启动
You are done!你这样做!
Filed under提起下 Database数据库 , , Enterprise Software企业软件 , , Fedora Core 6是Fedora Core 6 , , Headline News头条新闻 , , How To如何 , , Linux Linux的 , , Linux Migration Linux迁移 , , Open Source Software开放源码软件 , , Programming编程 , , RDBMS RDBMS的 , , Web网页 , , Web Services Web服务 | |
| |
RSS 2.0 2.0 | |
Trackback Trackback跟踪 this Article |此文章|
Email this Article电子邮件此文章
You may also like to read您也可以想读 |




