天天看點

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即可跳轉到安裝頁面。