
Hello, I run a hosting company, and I'd like to install OTRS to support my clients. But I don't want to install OTRS "globally" on the system. I just want to install it on the main account of my site ( /home/myaccount/ ). Is it possible? Is there a tutorial for that? The ones I read just teached how to install it as root Thanks, Luís Fernando

Hi Luís, On Thu, Jan 15, 2004 at 06:31:24PM -0200, MEGA Hospedagem wrote:
I run a hosting company, and I'd like to install OTRS to support my clients. But I don't want to install OTRS "globally" on the system. I just want to install it on the main account of my site ( /home/myaccount/ ). Is it possible? Is there a tutorial for that? The ones I read just teached how to install it as root
Of course, you can install it under /home/xyz (just see the INSTALL file). PS: Normally you need the root account to install missing perl cpan modules on your system (if not installed - see also the INSTALL file).
Thanks, Luís Fernando
Martin Edenhofer -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!

Hello Martin, Thanks for the fast answer I read the INSTALL file, but it teachs how to install it as root, even saying: Add user: --------- $shell: useradd -d /opt/otrs/ -c 'OTRS user' otrs Add user to webserver group (if the webserver is not running with OTRS user): ----------------------------------------------------------------------------- $shell: usermod -G nogroup otrs I already have an user ( the one that has the /home/myaccount/ dir). Do I need to create a new user just for OTRS? There's also some files that probably need to be put in the /var/ dir. Is it necessary? Thanks, Luís Fernando ME> Hi Luís, ME> On Thu, Jan 15, 2004 at 06:31:24PM -0200, MEGA Hospedagem wrote:
I run a hosting company, and I'd like to install OTRS to support my clients. But I don't want to install OTRS "globally" on the system. I just want to install it on the main account of my site ( /home/myaccount/ ). Is it possible? Is there a tutorial for that? The ones I read just teached how to install it as root
ME> Of course, you can install it under /home/xyz (just see the INSTALL file). ME> PS: Normally you need the root account to install missing perl cpan ME> modules on your system (if not installed - see also the INSTALL file).
Thanks, Luís Fernando
ME> Martin Edenhofer ME> -- ME> ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg ME> http://www.otrs.de/ :: Manage your communication! ME> _______________________________________________ ME> OTRS mailing list: otrs - Webpage: http://otrs.org/ ME> Archive: http://lists.otrs.org/pipermail/otrs ME> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs ME> Support oder Consulting für Ihr OTRS System? =>> http://www.otrs.de/

Hi Luís, On Thu, Jan 15, 2004 at 07:18:16PM -0200, MEGA Hospedagem wrote:
I read the INSTALL file, but it teachs how to install it as root, even saying:
Add user: --------- $shell: useradd -d /opt/otrs/ -c 'OTRS user' otrs
Add user to webserver group (if the webserver is not running with OTRS user): ----------------------------------------------------------------------------- $shell: usermod -G nogroup otrs
I already have an user ( the one that has the /home/myaccount/ dir). Do I need to create a new user just for OTRS?
No. You also can take any other user (if you want).
There's also some files that probably need to be put in the /var/ dir. Is it necessary?
That mesans "/home/myaccount/otrs/var/". PS: Anyway, if you need to install cpan modules, then you need the root account.
Thanks, Luís Fernando
Martin Edenhofer -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!

I think I'm almost getting to install it now, but still having one error: [/x/helpdesk/bin/cgi-bin]# ./installer.pl [Fri Jan 16 01:21:24 2004] installer.pl: Use of uninitialized value in substitution (s///) at /x/helpdesk/bin/Kernel/Modules/Installer.pm line 43. Installer.pm line 41 to 43: # find fs dir (because of mod_perl2) $Self->{Path} = $ENV{SCRIPT_FILENAME}; $Self->{Path} =~ s/^(.*\/).+?$/$1/; So I suppose it's happening because I don't have mod_perl installed. Can I set this path myself, to avoid having to install mod_perl? If so, how should it be setted? just: $Self->{Path} = "/x/helpdesk/bin/cgi-bin/index.pl" ? Thanks, Luís Fernando ME> Hi Luís, ME> On Thu, Jan 15, 2004 at 07:18:16PM -0200, MEGA Hospedagem wrote:
I read the INSTALL file, but it teachs how to install it as root, even saying:
Add user: --------- $shell: useradd -d /opt/otrs/ -c 'OTRS user' otrs
Add user to webserver group (if the webserver is not running with OTRS user): ----------------------------------------------------------------------------- $shell: usermod -G nogroup otrs
I already have an user ( the one that has the /home/myaccount/ dir). Do I need to create a new user just for OTRS?
ME> No. You also can take any other user (if you want).
There's also some files that probably need to be put in the /var/ dir. Is it necessary?
ME> That mesans "/home/myaccount/otrs/var/". ME> PS: Anyway, if you need to install cpan modules, then you need the root account.
Thanks, Luís Fernando
ME> Martin Edenhofer ME> -- ME> ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg ME> http://www.otrs.de/ :: Manage your communication! ME> _______________________________________________ ME> OTRS mailing list: otrs - Webpage: http://otrs.org/ ME> Archive: http://lists.otrs.org/pipermail/otrs ME> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs ME> Support oder Consulting für Ihr OTRS System? =>> http://www.otrs.de/ -- Best regards, MEGA mailto:comercial@megahospedagem.com.br

finally got it if someone is interested on how I did it: firstly I found out that the error was because $Bin = "/" so I changed everything that had $Bin on installer.pl to "/x/helpdesk/bin/cgi-bin/" I also changed SetPermissions.pl... instead of setting the main OTRS directory to root:root, I setted it to the user I'm using. Now I just got to make installer.pl runs... tomorrow I'll try to install the script... hehe... btw... anyone knows a better way to do what I did? I'd start everything from the begging if someone has another suggestion, because the script is too hacked now :P Thanks MH> I think I'm almost getting to install it now, but still having one error: MH> [/x/helpdesk/bin/cgi-bin]# ./installer.pl MH> [Fri Jan 16 01:21:24 2004] installer.pl: Use of uninitialized value in MH> substitution (s///) at /x/helpdesk/bin/Kernel/Modules/Installer.pm line 43. MH> Installer.pm line 41 to 43: MH> # find fs dir (because of mod_perl2) MH> $Self->{Path} = $ENV{SCRIPT_FILENAME}; MH> $Self->{Path} =~ s/^(.*\/).+?$/$1/; MH> So I suppose it's happening because I don't have mod_perl installed. MH> Can I set this path myself, to avoid having to install mod_perl? MH> If so, how should it be setted? just: $Self->>{Path} = "/x/helpdesk/bin/cgi-bin/index.pl" ? MH> Thanks, MH> Luís Fernando ME>> Hi Luís, ME>> On Thu, Jan 15, 2004 at 07:18:16PM -0200, MEGA Hospedagem wrote:
I read the INSTALL file, but it teachs how to install it as root, even saying:
Add user: --------- $shell: useradd -d /opt/otrs/ -c 'OTRS user' otrs
Add user to webserver group (if the webserver is not running with OTRS user): ----------------------------------------------------------------------------- $shell: usermod -G nogroup otrs
I already have an user ( the one that has the /home/myaccount/ dir). Do I need to create a new user just for OTRS?
ME>> No. You also can take any other user (if you want).
There's also some files that probably need to be put in the /var/ dir. Is it necessary?
ME>> That mesans "/home/myaccount/otrs/var/". ME>> PS: Anyway, if you need to install cpan modules, then you need the root account.
Thanks, Luís Fernando
ME>> Martin Edenhofer ME>> -- ME>> ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg ME>> http://www.otrs.de/ :: Manage your communication! ME>> _______________________________________________ ME>> OTRS mailing list: otrs - Webpage: http://otrs.org/ ME>> Archive: http://lists.otrs.org/pipermail/otrs ME>> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs ME>> Support oder Consulting für Ihr OTRS System? =>>> http://www.otrs.de/

Hi Luís, On Fri, Jan 16, 2004 at 01:23:59AM -0200, MEGA Hospedagem wrote:
I think I'm almost getting to install it now, but still having one error:
[/x/helpdesk/bin/cgi-bin]# ./installer.pl [Fri Jan 16 01:21:24 2004] installer.pl: Use of uninitialized value in substitution (s///) at /x/helpdesk/bin/Kernel/Modules/Installer.pm line 43.
Installer.pm line 41 to 43:
# find fs dir (because of mod_perl2) $Self->{Path} = $ENV{SCRIPT_FILENAME}; $Self->{Path} =~ s/^(.*\/).+?$/$1/;
So I suppose it's happening because I don't have mod_perl installed. Can I set this path myself, to avoid having to install mod_perl?
No. It's because you don't execute installer.pl via your webserver. Your webserver will have/set an "$ENV{SCRIPT_FILENAME};" (also with no mod_perl). :)
Thanks, Luís Fernando
Martin Edenhofer -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!
participants (2)
-
Martin Edenhofer
-
MEGA Hospedagem