3.1. The simple way - Installation of pre-built packages

From open-support.info

< Book:OTRS 3.0 - Admin Manual | Chapter 3(Difference between revisions)
Jump to: navigation, search
 
(10 intermediate revisions not shown)
Line 1: Line 1:
{{Book
{{Book
-
|next=/1
+
|next=../2
|heading=3.1.
|heading=3.1.
|title=The simple way - Installation of pre-built packages
|title=The simple way - Installation of pre-built packages
|status=effective
|status=effective
-
|progress=00
+
|progress=0
|author=Dick6809
|author=Dick6809
}}
}}
-
<onlyinclude>__TOC__
+
<onlyinclude>The simplest and most comfortable way to install OTRS is to use pre-built packages. You can find them in the download area on <span class="plainlinks">http://www.otrs.org</span>. 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.
-
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.
+
== Installing the rpm on a SUSE Linux server ==
== 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.  
+
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 <span class="plainlinks">http://www.otrs.org/downloads</span> 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.  
+
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 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 <tt>otrs.rpm</tt> into the directory <tt>/tmp</tt>, you can execute the command specified in the Script 3.1 to install OTRS.  
-
Note: 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
 
 +
{{fmbox
 +
|text= If you install it on SLES9 or OES, follow this description to install the missing perl-GD packages. <span class="plainlinks">http://faq.otrs.org/otrs/public.pl?FAQID=49</span>
 +
}}
 +
 +
{{book/script
 +
|id= Script 3.1
 +
|title= Command to install OTRS.
 +
|code=
<pre>
<pre>
linux:~ # rpm -i /tmp/otrs-xxx.rpm
linux:~ # rpm -i /tmp/otrs-xxx.rpm
Line 46: Line 52:
linux:~ #
linux:~ #
</pre>
</pre>
-
''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.  
After the installation of the OTRS rpm package, you have to run SuSEconfig, as shown in the Script 3.2.  
 +
 +
{{book/script
 +
|id= Script 3.2
 +
|title= Running the SuSEconfig command.
 +
|code=
<pre>
<pre>
linux:~ # SuSEconfig
linux:~ # SuSEconfig
Line 72: Line 83:
linux:~ #
linux:~ #
</pre>
</pre>
-
''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.  
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.  
 +
 +
{{book/script
 +
|code=
<pre>
<pre>
linux:~ # rcapache restart
linux:~ # rcapache restart
Line 82: Line 96:
linux:~ #
linux:~ #
</pre>
</pre>
-
''Script 3.3. Restarting the web server.''
+
|id= Script 3.3
 +
|title= Restarting the web server.
 +
}}
-
In the next step you have to setup the OTRS database, as described in the {{Book/Link|~/Chapter 3/2/4|section 3.2.4}}.</onlyinclude>
+
In the next step you have to setup the OTRS database, as described in the {{Book/Link|~/Chapter 3/2|anchor=Configuring the database|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:
 +
* <span class="plainlinks">http://wiki.otrs.org/index.php?title=Installation_of_OTRS_3.0b1_on_CentOS_5.5</span>.
 +
 
 +
== Installing OTRS on a Debian system ==
 +
On the OTRS Wiki you can find detailed instructions for setting up OTRS on a Debian system:
 +
* <span class="plainlinks">http://wiki.otrs.org/index.php?title=Installation_on_Debian_5.04_lenny</span>.
 +
 
 +
== Installing OTRS on a Ubuntu system ==
 +
On the OTRS Wiki you can find detailed instructions for setting up OTRS on an Ubuntu system:
 +
* <span class="plainlinks">http://wiki.otrs.org/index.php?title=Installation_on_Ubuntu_Lucid_Lynx_(10.4)</span>.
 +
 
 +
== Installing OTRS on Microsoft Windows systems ==
 +
Installing OTRS on a Microsoft Windows system is very easy. Download the latest installer for Win32 from <span class="plainlinks">http://www.otrs.org/downloads/</span> 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.
 +
 
 +
 
 +
{{fmbox
 +
|type = warning
 +
|text = Please change the password for the root@localhost account as soon as possible.
 +
}}
 +
 
 +
{{fmbox
 +
|type = caution
 +
|text = 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.
 +
}}</onlyinclude>

Latest revision as of 17:13, 24 April 2011

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.


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.


Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox