Tag Archives: ubuntu

Find processor (cpu) information on linux

Here is the command cat /proc/cpuinfo Example use on my ubuntu machine, It shows me. cat /proc/cpuinfoprocessor : 0vendor_id : GenuineIntelcpu family : 6model : 15model name : Intel(R) Pentium(R) Dual CPU T2330 @ 1.60GHzstepping : 13cpu MHz : 800.000cache … Continue reading

Posted in General | Tagged , | Leave a comment

How to find OS X version on linux machine

Here is the command which will give you OS name with version along with other detail information. cat /etc/*release* Example: On my ubutnu machine, It shows me. cat /etc/*release*DISTRIB_ID=UbuntuDISTRIB_RELEASE=8.10DISTRIB_CODENAME=intrepidDISTRIB_DESCRIPTION=”Ubuntu 8.10″

Posted in General | Tagged , | Leave a comment

Getting wireless working on ubuntu machine

Please follow following steps blindly to get wireless working on ubuntu machine. Here are the steps… On a fresh clean Ubuntu machine:1. Disable the “Support for Atheros 802.11 wireless LAN cards” on Hardware Drivers, and reboot your box. 2. In … Continue reading

Posted in General | Tagged , , | 1 Comment

Feedzirra installtion on ubuntu interpid

Feedzirra is a feed library that is designed to get and update many feeds as quickly as possible. This includes using libcurl-multi through the taf2-curb gem for faster http gets, and libxml through nokogiri and sax-machine for faster parsing. sudo … Continue reading

Posted in Ruby on Rails | Tagged , | Leave a comment

Converting dos(windows) files to unix files

While using windows we get ^M characters in files that will get displayed when you open files on unix machines. To remove such ^M characters, Install dos2unix package using sudo apt-get install sysutils Convert individual file dos2unix file_path Run following … Continue reading

Posted in General | Tagged , | Leave a comment

jruby rails installation on ubuntu interpid

# install mysql if you dont have already installedsudo apt-get install mysql-server mysql-client libhtml-template-perl mailx dbishell libcompress-zlib-perl mysql-doc-5.0 tinyca # install ant and jdksudo apt-get install ant sun-java6-jdk # install jrubymkdir softwarecd softwarewget http://dist.codehaus.org/jruby/jruby-bin-1.1.5.tar.gztar xvfz jruby-bin-1.1.5.tar.gzln -s jruby-1.1.5 jrubyexport PATH=$PATH:$HOME/software/jruby/bin … Continue reading

Posted in Ruby on Rails | Tagged , | 1 Comment

Installing ruby 1.9.1

installing ruby 1.9.1 is very easy …….follow simple steps wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p0.tar.gz tar -xvf ruby-1.9.1-p0.tar.gz cd ruby-1.9.1-p0./configure makemake testsudo make install Thats, it !

Posted in Ruby | Tagged , | Leave a comment