Mantis install on Debian 6.0

General discussion of Mantis.

Moderators: Developer, Contributor

Mantis install on Debian 6.0

Postby cdb » Nov 14, 2011 5:30 am

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
cdb
 
Posts: 23
Joined: Nov 09, 2011 10:45 am

Re: Mantis install on Debian 6.0

Postby cgrieger » Nov 14, 2011 5:49 am

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

Re: Mantis install on Debian 6.0

Postby cdb » Nov 14, 2011 6:01 am

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

Re: Mantis install on Debian 6.0

Postby cgrieger » Nov 14, 2011 6:08 am

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 Nov 14, 2011 6:20 am, edited 1 time in total.
cgrieger
 
Posts: 10
Joined: Oct 01, 2010 2:45 am

Re: Mantis install on Debian 6.0

Postby cdb » Nov 14, 2011 6:14 am

I'm on remote server, the folder are under /var/www but your command give me an error
"chmod: modo non valido: "wwwrun:www"
cdb
 
Posts: 23
Joined: Nov 09, 2011 10:45 am

Re: Mantis install on Debian 6.0

Postby cgrieger » Nov 14, 2011 6:19 am

Sorry my mistake, it should be:

Code: Select all
chown -R wwwrun:www /var/www/mantisbt
cgrieger
 
Posts: 10
Joined: Oct 01, 2010 2:45 am

Re: Mantis install on Debian 6.0

Postby cdb » Nov 14, 2011 8:05 am

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

Re: Mantis install on Debian 6.0

Postby cgrieger » Nov 14, 2011 9:09 am

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.
cgrieger
 
Posts: 10
Joined: Oct 01, 2010 2:45 am

Re: Mantis install on Debian 6.0

Postby cdb » Nov 14, 2011 11:02 am

It Works! :D
cdb
 
Posts: 23
Joined: Nov 09, 2011 10:45 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests

cron