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


How to set OTRS permission

If you can’t access due to file permission of OTRS.

type this on your command line .

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

Then go to




Follow the web set up

Auto-start VIMTree when loading VIM

Goto Command Prompt

Go to Vimrc by typing              ~/.vimrc

and then add this  to the file

autocmd VimEnter * exe ‘NERDTree’ | wincmd l



open vim and VIMTree should start automatically

“Migrations are pending; run ‘bin/rake db:migrate RAILS_ENV=development’ to resolve this issue.”

To solve this issue on Rails 4.

Warning! You will lose your existing data.

      rm -f db/*.sqlite3
      rake db:create
      RAILS_ENV=development rake db:migrate
      rails s -e development

For more discuession about this errror :


Special Thanks to:

Switch to chitika and earn money online

When I was making my first site and had launched it successfully, I felt I needed to monetize my site and I searched for ways how to do so and discovered chitika.

I have then signed up and in less than 5 minutes my advertising banners were set and are ready to go!

Now  I am earning every day with chitika ads.

So, If you have a blog or a website and finding ways to monetize it,  then choose chitika.

How to hide the dotted border outline on focused elements in HTML, using CSS

How to hide the dotted border outline on focused elements in HTML, using CSS

While working on a web application for data entry, I had to scour the net for a way to hide the dotted border that appears when an element is focused on a web page. Here are my findings.

First, the obligatory disclaimer – I do understand that the dotted border is for accessibility purposes and should be left in place under normal circumstances. However, in this case we already had a replacement in place – when an element receives focus it is styled differently, using a very distinct background color. And this applies to all elements, regardless of whether they were selected by mouse or keyboard. So the dotted border is redundant, and somewhat distracting.

To further clarify the question, these are the dotted borders I refer to:

While the solution needed to be usable across browsers, the target browsers where well defined – modern versions of Firefox and Chrome, and IE 7 or newer. I first came across this question on which pointed me to using outline:none. Then this one helped with Firefox compatibility. And then I saw this post which provides a number of different techniques.

I ended up using the following CSS, which seems to cover most bases. As I didn’t see this combination on other sites I thought I would post it myself. It doesn’t apply to the select element in Firefox and IE7. Testing was done on Windows XP.


/* hide the dotted lines around an element when it receives focus */
* { _noFocusLine: expression(this.hideFocus=true); } /* ie7 */
::-moz-focus-inner {border:0;} /* firefox */
:focus {outline:none;} /* ie8, chrome, etc */