1: 下載mantis 1.2.15
http://sourceforge.net/projects/mantisbt/files/mantis-stable/1.2.15/
2:解壓縮
cd /var/www/
tar zxvf mantisbt-1.2.15.tar.gz
mv mantisbt-1.2.15 mantis
3:安裝apache2 , php (ubuntu 10.0.4)
sudo apt-get install apache2 php5 libapache2-mod-php5 php5-gd php5-curl
sudo apt-get install php-mdb2-driver-mysql php5-mysql
sudo apt-get install mysql-server(預設的database)
改port
sudo /etc/init.d/apache2 stop
sudo vim /etc/apache2/ports.conf
NameVirtualHost *:8888
Listen 8888
sudo vim /etc/apache2/sites-available/default
<VirtualHost *:8888>
sudo /etc/init.d/apache2 start
驗證:
cd /var/www
sudo vim phptest.php
<?
phpinfo();
?>
http://127.1.1.1:8888/phptest.php
4:開啟install.php
http://192.168.56.102:8888/mantis
預設密碼:
administrator/root
5:改中文
sudo vim ./config_defaults_inc.php
$g_default_language = 'chinese_traditional';
沒有留言:
張貼留言