Вы находитесь на странице: 1из 7

STEP : 1

# cd /usr/local/src/

STEP : 2

# tar -zxvf otrs-3.0.6.tar.gz

STEP : 3

# mv otrs-3.0.6 otrs

STEP : 4

# mv otrs /opt/otrsvisa

STEP : 5

# cd /opt/otrsvisa/Kernel

STEP : 6

# cp Config.pm.dist Config.pm

STEP : 7

# cd Config

STEP : 8

# cp GenericAgent.pm.dist GenericAgent.pm

STEP : 9

# useradd -d /opt/otrsvisa/ -c 'OTRS Instance user' otrsvisa

STEP : 10

# groupadd otrsvisa

STEP : 11

# usermod -G otrsvisa otrsvisa

STEP : 12

# cd /opt/otrsvisa/Kernel
STEP : 13

# vi Config.pm

Search Home and change otrs to otrsvisa

$Self->{Home} = '/opt/otrsvisa';

STEP : 14

# cd /opt/otrsvisa/bin/

STEP : 15

# perl otrs.SetPermissions.pl /opt/otrsvisa/ --otrs-user=otrsvisa --web-user=otrsvisa --otrs-group=otrsvisa


--web-group=otrsvisa

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
STEP : 1

# cd /usr/local/src

STEP : 2

# tar -zxvf httpd-2.2.24.tar.gz

STEP : 3

# cd httpd-2.2.24

STEP : 4

# mkdir /opt/apache-visa

STEP : 5

# cd /usr/local/src/httpd-2.2.24

STEP : 6

# ./configure --prefix=/opt/apache-visa

STEP : 7

# make

STEP : 8

# make install

STEP : 9

# cd /opt/apache-visa

STEP : 10

# mkdir conf.d

STEP : 11

# cd /opt/apache-visa/conf.d/
STEP :12

# vi otrs.conf

Copy And Paste

.....................................................................................................................................

#basic apache configurations file for OTRS

ScriptAlias /otrs/ "/opt/otrsvisa/bin/cgi-bin/"

Alias /otrs-web/ "/opt/otrsvisa/var/httpd/htdocs/"

# Directory settings

<Directory "/opt/otrsvisa/bin/cgi-bin/">

AllowOverride None

Options +ExecCGI -Includes

Order allow,deny

Allow from all

</Directory>

<Directory "/opt/otrsvisa/var/httpd/htdocs/">

AllowOverride None

Order allow,deny

Allow from all

</Directory>

.....................................................................................................................................

STEP : 13

# cd /opt/apache-visa/conf/

STEP : 14

# cp httpd.conf httpd.conf.orig
STEP : 15

# vi httpd.conf

Change following in httpd.conf

Listen 9016

User otrsvisa

Group otrsvisa

Add at Last Line in httpd.conf

Include conf.d/*.conf

STEP : 16

# chown otrsvisa:otrsvisa -R /opt/apache-visa

STEP : 17

# su otrsvisa

STEP : 18

# /opt/apache-visa/bin/apachectl start

$ exit

STEP : 19

# cd /usr/local/src/

STEP : 20

# rm -rf httpd-2.2.24

STEP : 21

# cd /etc/init.d
STEP : 22

# vi otrsvisa

copy and Paste

.....................................................................................................................................

#!/bin/sh

# otrsvisa: Starts the copy of otrs

# chkconfig: 2345 96 20

# description: Starts and stops the Copy of OTRS at boot time and shutdown.

/opt/apache-visa/bin/apachectl start

.....................................................................................................................................

STEP : 23

STEP : 24

# chkconfig --add otrsvisa

STEP : 25

# chkconfig --level 2345 otrsvisa on

Вам также может понравиться