How to install OTRS on ubuntu 12.04 server

These are steps i followed today and otrs works fine for me


cp otrs-3.2.9.tar.gz /opt/

cd /opt

tar -xzvf otrs-3.2.9.tar.gz

ln -s /opt/otrs-3.0.3 /opt/otrs

useradd otrs
passwd otrs
usermod -d /opt/otrs otrs

usermod -g www-data otrs

sudo apt-get install mysql-server apache2

cd /opt/otrs

sudo ./bin/ | grep Not

sudo aptitude search libdatetime-perl libnet-dns-perl libwp-useragent-determined-perl

sudo aptitude install libdatetime-perl libnet-dns-perl libwp-useragent-determined-perl

sudo bin/ –otrs-user=otrs –otrs-group=otrs –web-user=www-data –web-group=www-data /opt/otrs

sudo ln -s /opt/otrs/scripts/apache2-httpd.include.conf /etc/apache2/sites-available/otrs.conf

sudo ls /etc/apache2/sites-available/

sudo /etc/init.d/apache2 reload

sudo a2ensite otrs.conf

sudo /etc/init.d/apache2 reload


It did not work at this moment. Hence, i followed the remaining from (10.4)

cd /opt/otrs/kernel
cp config/ config/

Modify the ENVVARS file

Add # in front of 

#export Apache_run_user=www-data
#export Apache_run_group=www-data

Below that type :

#export Apache_run_user=otrs
#export Apache_run_group=otrs

Restart Apache and you should be able to complete the registration

Posted in: Uncategorized

One thought on “How to install OTRS on ubuntu 12.04 server

  1. HARISH MEHRA says:

    I have setup the OTRS on ubuntu 14.04 but i am not getting the email notifications to our agents as well as customers .

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s