How to install OTRS on ubuntu 12.04 server

http://ownlinuxnotes.wordpress.com/2012/01/22/install-and-configure-otrs-in-ubuntu/

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


wget ftp://ftp.otrs.org/pub/otrs/otrs-3.2.9.tar.gz


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/otrs.CheckModules.pl | 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.SetPermissions.pl –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


http://local/otrs/installer.pl


It did not work at this moment. Hence, i followed the remaining from http://wiki.otterhub.org/index.php?title=Installation_on_Ubuntu_Lucid_Lynx_ (10.4)


cd /opt/otrs/kernel
cp config.pm.dist config.pm
cp config/genericagent.pm.dist config/genericagent.pm


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

Advertisements

How to set OTRS permission

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

type this on your command line .

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

Then go to

 

http://localhost/otrs/installer.pl

 

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 :

http://stackoverflow.com/questions/21309901/getting-migrations-are-pending-run-bin-rake-dbmigrate-rails-env-development

 

Special Thanks to: http://stackoverflow.com/users/3209399/lewstherin

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
By LESSAN
Credits: http://www.lessanvaezi.com/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:
and

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 stackoverflow.com 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 */