I encountered the following error today while installing a few packages on a ubuntu server using a sudo user. “sudo: sorry, you are not allowed to set the following environment variables: DEBIAN_FRONTEND” The command I ran was: “sudo DEBIAN_FRONTEND=noninteractive apt-get install -qy git-core” I did search on google and did’nt find any direct answer for … Continue reading Allowing user to set environment variable with sudo
If you guys want to change timezone of your ubuntu machine then you can do it by issuing: This may be helpful if you deal with servers.
Three-Four days ago I was in a situation where I need to have multiple versions of ruby and rubygems on my ubuntu machine. I was lucky, I found an awesome article http://blog.michaelgreenly.com/2008/08/multiple-versions-of-ruby-on-ubuntu-2.html. This really solved my problem, Many thanks to Michael Greenly.