天天看点

Ubuntu18.04安装Mantisbt详细步骤

Ubuntu18.04安装Mantisbt详细步骤

  1. 在Ubuntu上安装PHP 7.3

使用以下命令集在Ubuntu系统中启用PPA for PHP 7.3并安装它。

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install -y php7.3
           

现在使用以下命令检查系统上已安装的php版本。

php -v 
           
  1. 下载安装mantisbt

mantisbt下载

下载最新版本到本地后拷贝到Web服务器的主目录,如/var/www/html/,然后使用相应的解压缩命令解压,如:

unzip mantisbt-1.2.19.zip
           

然后修改目录名字为mantisbt,权限更改为777:

mv mantisbt-1.2.19 mantisbt
sudo chmod 777 mantisbt
           
  1. 安装mbstring
sudo apt-get install php7.3-mbstring
           

在配置文件中添加一行:

extension=php7.3-mbstring.so

最后重启服务即可。

最后在浏览器中输入http://localhost/mantisbt即可跳转到安装页面。