Page 1 of 1
Mantis install on Debian 6.0
Posted: 14 Nov 2011, 10:30
by cdb
Hy guys, i would install mantis on debian server (without graphic interface).
How i can install it (starting from download

)
thanks in advance who help me
PS amp server is already on
Re: Mantis install on Debian 6.0
Posted: 14 Nov 2011, 10:49
by cgrieger
Hi cdb,
you should be able to figure this out using the following HowTo's:
Apache + MySQL + PHP5
http://www.howtoforge.com/ubuntu_debian_lamp_server
Mantis Installation
http://mantisbt.org/docs/master-1.2.x/e ... IN.INSTALL
Do you have any specific questions on the installation process?
Re: Mantis install on Debian 6.0
Posted: 14 Nov 2011, 11:01
by cdb
I'm blocked on link
http://yoursite/mantisbt/admin/install.php with this problem
"You don't have permission to access /mantis/admin/install.php on this server."
Can you help me???
Re: Mantis install on Debian 6.0
Posted: 14 Nov 2011, 11:08
by cgrieger
Are you installing mantis on your local machine or on a remote server?
1) local: In this case you should try to open
http://localhost/mantisbt/admin/install.php .
2) remote: You have to replace "yoursite" by the ip/hostname of the remote server.
Ensure that the "mantisbt" folder under you Webservers DocumentRoot (propably "/var/www") has the correct user/group ownership set.
You can set the correct file ownership with the following command(if your your Apache Webservers DocumentRoot is set to /var/www!):
Code: Select all
chown -R wwwrun:www /var/www/mantisbt
EDIT: Corrected an error in the change owner command.
Re: Mantis install on Debian 6.0
Posted: 14 Nov 2011, 11:14
by cdb
I'm on remote server, the folder are under /var/www but your command give me an error
"chmod: modo non valido: "wwwrun:www"
Re: Mantis install on Debian 6.0
Posted: 14 Nov 2011, 11:19
by cgrieger
Sorry my mistake, it should be:
Code: Select all
chown -R wwwrun:www /var/www/mantisbt
Re: Mantis install on Debian 6.0
Posted: 14 Nov 2011, 13:05
by cdb
Same error, i have no user wwwrun and not even group www, but i have user www-data and group www-data. They are the same???
Can i try "chown -R www-data:www-data /var/www/mantis" without destroy my server ???
Re: Mantis install on Debian 6.0
Posted: 14 Nov 2011, 14:09
by cgrieger
Yes do that. It's hard to guess what you should do without detailed knowledge about your system.
What's important is that the files are readable by the user running the webserver.
Re: Mantis install on Debian 6.0
Posted: 14 Nov 2011, 16:02
by cdb
It Works!
