1. 导出windows manits的mysql数据库文件, 在cmd运行:mysqldump -uroot -p3edc$RFV bugtracker > C:/mantis.sql;

2. 备份Mantis文件夹

3. 在Linux上安装LAMP(Apache httpd, mysql, php), 并启动好所有服务

4. 拷贝以上备份好的Mantis文件夹到/var/www/html

5. 登陆到mysql,创建bugtracker数据库,并分配权限

create database bugtracker;

grant all privileges on bugtracker.* to root@localhost identified by '3edc$RFV';

use bugtracker;

source /home/mantis.sql;

6. 登陆到http://IP/Mantis

7. 即可直接登陆原先的Mantis

 

此种情况是所有的配置文件配置信息数据库的信息都和以前的一模一样,包括数据库名称和密码,用户名。

 

相关文章:

  • 2021-11-30
  • 2022-12-23
  • 2021-07-17
  • 2021-12-20
  • 2021-06-13
猜你喜欢
  • 2022-12-23
  • 2021-08-02
  • 2021-11-23
  • 2021-05-07
  • 2021-12-31
  • 2021-12-03
相关资源
相似解决方案