閱讀293 返回首頁    go 阿裏雲 go 技術社區[雲棲]


linux版mantis 安裝和測試筆記

1、先要安裝好 LNMP/LAMP 的環境,前麵有詳細介紹,不再贅述。

2、到 mantis 官網上下載最新最穩定的源碼

點擊打開鏈接 mantis官網

3、解壓都 website 的主目錄,更改其可讀寫權限,負責會出現404錯誤

chown -R aaa:aaa mantis

chmod 777 -R mantis

4、拷貝 mantis 主目錄的配置文件:

[~/mantis#]cp config_inc.php.sample config_inc.php

5、生成數據庫:

之前現在 mysql 數據庫裏麵新建名為:bugtracker 的數據庫:

>create databases bugtracker;

>flush privileges

6、在瀏覽器上麵輸入:

https://192.168.3.117/mantis/admin/install.php

這裏:192.168.3.117 為我LNMP 的服務器IP地址

打開後輸入 用戶名 和密碼,下一頁,會自動檢測是否符合條件

7、然後,打開 mantis 的主頁

https://192.168.3.117/mantis/admin/index.php



最後更新:2017-04-03 12:56:27

  上一篇:go Windows 7下阻止係統關機
  下一篇:go VM啟動報錯Cannot open the disk,Failed to lock the file