I've tryied to install OTRS in a generic provider. There are some issues
about security with this method???

There are some other (best) method to do the same?!


I've success with this method:

-------------------------------start-------------------------------
copy otrs in ~/html/otrs (I'll call this dir: home-otrs)

chmod a+rw home-otrs
chmod a+rw home-otrs/Kernel/Config/Files/

rm wherever-is/cgi-bin
lnk home-otrs/bin/cgi-bin -> wherever-is/cgi-bin

lnk home-otrs -> ~/html/otrs-web
lnk home-otrs/var/httpd/htdocs/css -> home-otrs/css
lnk home-otrs/var/httpd/htdocs/images -> home-otrs/images
lnk home-otrs/var/httpd/htdocs/js -> home-otrs/js
lnk home-otrs/var/httpd/htdocs/yui -> home-otrs/yui
cp home-otrs/Kernel/Config.pm.dist home-otrs/Kernel/Config.pm

edit home-otrs/Kernel/Config.pm - In line 62:

change:
$Self->{Home} = '/opt/otrs';

by:

$Self->{Home} = 'home-otrs';

Create the database and user database.

Edit Kernel/Config.pm:

# DatabaseHost
# (The database host.)
$Self->{'DatabaseHost'} = 'addr database-(usually localhost)';
# Database
# (The database name.)
$Self->{'Database'} = 'database-name';
# DatabaseUser
# (The database user.)
$Self->{'DatabaseUser'} = 'user-database-name';
# DatabasePw
# (The password of database user. You also can use bin/CryptPassword.pl
# for crypted passwords.)
$Self->{'DatabasePw'} = 'pass-user-database-name';

and forward in this file:

# ---------------------------------------------------- #
# data inserted by installer #
# ---------------------------------------------------- #
# $DIBI$


lo siguiente:

$Self->{'SystemID'} = 10;
$Self->{'SecureMode'} = 0;
$Self->{'Organization'} = '';
$Self->{'LogModule::LogFile'} = '~/otrs.log';
$Self->{'LogModule'} = 'Kernel::System::Log::SysLog';
$Self->{'FQDN'} = 'yourhost.example.com';
$Self->{'DefaultLanguage'} = 'es';
$Self->{'AdminEmail'} = 'ad...@example.com <%27ad...@example.com>';
$Self->{'DefaultCharset'} = 'utf-8';

(edit for your app!!) For now set $Self->{'SecureMode'} = 0!!!!

now execute installer.pl and use the user database created, don't create but
delete database, go back and create db
the installer breaks indicating that can't create the user (but the initial
data are inserted in database).

then edir Kernel/Config.pm and set $Self->{'SecureMode'} = 1;
an set permision to 0600

 --------------------------------end--------------------------------


---------------------------------------------
--- Timeo Danaos et dona ferentes ---
---------------------------------------------
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/

Reply via email to