Mantis install on Debian 6.0

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
cdb
Posts: 23
Joined: 09 Nov 2011, 15:45

Mantis install on Debian 6.0

Post 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
cgrieger
Posts: 10
Joined: 01 Oct 2010, 07:45

Re: Mantis install on Debian 6.0

Post 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?
cdb
Posts: 23
Joined: 09 Nov 2011, 15:45

Re: Mantis install on Debian 6.0

Post 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???
cgrieger
Posts: 10
Joined: 01 Oct 2010, 07:45

Re: Mantis install on Debian 6.0

Post 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.
Last edited by cgrieger on 14 Nov 2011, 11:20, edited 1 time in total.
cdb
Posts: 23
Joined: 09 Nov 2011, 15:45

Re: Mantis install on Debian 6.0

Post 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"
cgrieger
Posts: 10
Joined: 01 Oct 2010, 07:45

Re: Mantis install on Debian 6.0

Post by cgrieger »

Sorry my mistake, it should be:

Code: Select all

chown -R wwwrun:www /var/www/mantisbt 
cdb
Posts: 23
Joined: 09 Nov 2011, 15:45

Re: Mantis install on Debian 6.0

Post 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 ???
cgrieger
Posts: 10
Joined: 01 Oct 2010, 07:45

Re: Mantis install on Debian 6.0

Post 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.
cdb
Posts: 23
Joined: 09 Nov 2011, 15:45

Re: Mantis install on Debian 6.0

Post by cdb »

It Works! :D
Post Reply