3.1. The simple way - Installation of pre-built packages
From open-support.info
The simplest and most comfortable way to install OTRS is to use pre-built packages. You can find them in the download area on http://www.otrs.org. The following sections describe the installation of OTRS with a pre-built or binary package on SUSE, Debian and Microsoft Windows systems. Use pre-built packages to install OTRS and only setup OTRS manually, if you have no other possibility.
Contents |
Installing the rpm on a SUSE Linux server
This section describes the installation of a pre-built rpm package on a SUSE Linux distro. We tested all recent SLES and OpenSUSE versions. Before you start the installation please have a look on http://www.otrs.org/downloads and check, if a newer OTRS rpm package is available. Please use the newer rpm package, if available.
Please install OTRS with yast (yast2) or via the command line and rpm. Because OTRS needs some Perl modules which are not installed on a SUSE system by default, we recommend to use yast, because it solves the package dependencies automatically.
If you decide to install OTRS via the command line and rpm, first you have to manually install the needed Perl modules. Assuming you saved the file otrs.rpm into the directory /tmp, you can execute the command specified in the Script 3.1 to install OTRS.
If you install it on SLES9 or OES, follow this description to install the missing perl-GD packages. http://faq.otrs.org/otrs/public.pl?FAQID=49 |
linux:~ # rpm -i /tmp/otrs-xxx.rpm otrs ################################################## Check OTRS user (/etc/passwd)... otrs exists. Next steps: [SuSEconfig] Execute 'SuSEconfig' to configure the web server. [start Apache and MySQL] Execute 'rcapache restart' and 'rcmysql start' in case they don't run. [install the OTRS database] Use a web browser and open this link: http://localhost/otrs/installer.pl [OTRS services] Start OTRS 'rcotrs start-force' (rcotrs {start|stop|status|restart|start-force|stop-force}). Have fun! Your OTRS Team http://otrs.org/ linux:~ # |
Script 3.1. Command to install OTRS. |
After the installation of the OTRS rpm package, you have to run SuSEconfig, as shown in the Script 3.2.
linux:~ # SuSEconfig Starting SuSEconfig, the SuSE Configuration Tool... Running in full featured mode. Reading /etc/sysconfig and updating the system... Executing /sbin/conf.d/SuSEconfig.aaa_at_first... Executing /sbin/conf.d/SuSEconfig.apache... Including /opt/otrs/scripts/apache-httpd.include.conf Executing /sbin/conf.d/SuSEconfig.bootsplash... Executing /sbin/conf.d/SuSEconfig.doublecheck... Executing /sbin/conf.d/SuSEconfig.guile... Executing /sbin/conf.d/SuSEconfig.hostname... Executing /sbin/conf.d/SuSEconfig.ispell... Executing /sbin/conf.d/SuSEconfig.perl... Executing /sbin/conf.d/SuSEconfig.permissions... Executing /sbin/conf.d/SuSEconfig.postfix... Setting up postfix local as MDA... Setting SPAM protection to "off"... Executing /sbin/conf.d/SuSEconfig.profiles... Finished. linux:~ # |
Script 3.2. Running the SuSEconfig command. |
The installation of the OTRS rpm is finished. Restart your web server to load the OTRS specific changes in its configuration, as shown in the Script 3.3.
linux:~ # rcapache restart Shutting down httpd done Starting httpd [ PERL ] done linux:~ # |
Script 3.3. Restarting the web server. |
In the next step you have to setup the OTRS database, as described in the section 3.2.4.
Installing OTRS on a CentOS system
On the OTRS Wiki you can find detailed instructions for setting up OTRS on a CentOS system. Please note that these instructions will also apply to RedHat systems as those use the same source:
Installing OTRS on a Debian system
On the OTRS Wiki you can find detailed instructions for setting up OTRS on a Debian system:
Installing OTRS on a Ubuntu system
On the OTRS Wiki you can find detailed instructions for setting up OTRS on an Ubuntu system:
Installing OTRS on Microsoft Windows systems
Installing OTRS on a Microsoft Windows system is very easy. Download the latest installer for Win32 from http://www.otrs.org/downloads/ and save the file to your local file system. Then simply click on the file to execute the installer, follow the few installation steps to setup the system. After that you will be able to login as OTRS administrator and configure the system according to your needs. To log in as OTRS administrator use the username root@localhost and the default root password.
Please change the password for the root@localhost account as soon as possible. |
The Win32 installer for OTRS contains all needed components for OTRS, i.e. the apache2 web server, the MySQL database server, Perl (with all needed modules) and cron for Windows will be installed. For that reason you should only install OTRS on Windows systems that don't already have apache2 or another web server and MySQL installed. |