在Ubuntu16.10下搭建mantis平台

1.用VMware安装 ubuntu-16.04.1-desktop-amd64.iso ;
1.1.选择最佳的software updates;
1.2.重启Ubuntu;
 
2.在官网上下载http://www.mantisbt.org/ 最新版的mantis;
 
3.参考:Ubuntu 16.10搭建mantis服务器(基于php7.0)
3.1.安装软件包
apache服务器安装
sudo apt-get install apache2
 
php7安装
sudo apt-get install php7.0
 
apache和php7的关联
sudo apt-get install libapache2-mod-php7.0
 
mysql的安装
sudo apt-get install mysql-server(需要输入假定用户名/密码:root/root)
 
mysql对php7的支持
sudo apt-get install php7.0-mysql
sudo apt-get install php7.0-xml
sudo apt-get install php-mbstring(否则无法运行http://localhost/mantis/admin/check/index.php,这个用来检查配置是否正确)
 

PHP文件测试,写一个PHP文件test.php放入/var/www/html文件夹中

vi /var/www/html/test.php

文件内容为:

<?

Phpinfo();

?>

重启apache服务器sudo /etc/init.d/apache2 restart

登陆http://localhost/test.php查看apache配置情况, 看到php的有关配置信息就证明成功了

 

下载mantis 地址为http://www.mantisbt.org/download.php,解压后放在/var/www/html文件夹中

mysql数据库创建http://localhost/mantis/admin/install.php

 

登录:http://localhost/mantis

用户名:administrator

密码:root

中文环境配置

修改mantis配置文件:/var/www/mantist/config_defaults_inc.php

查找其中$g_default_language将其值改为 'chinese_simplified'


参考访问链接:http://www.linuxdiyf.com/linux/29157.html

 
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值