Tuesday, 27 December 2011

Install Aptana in Fedora 14

Simple 5 steps

1. Download the package from the url  http://aptana.com/products/studio3/download 
      2. Extract the downloaded file.
     3. Open the extracted folder and double click on ‘AptanaStudio3’, Aptana will be install automatically.
       4. Open the IDE and click the ‘Create Project’ at the left side  and select  “Rails project”  to continue to set our application local path.     
     5. Finally follow the instructions.



Monday, 26 December 2011

VPNC ( client for cisco vpn concentrator ) in Fedora

Fedora by default has the vpnc installed.To confirm just type in " yum install vpnc"

1. Confirm that the Network Manager is enabled and running : System -> Administrator -> Services.

2.If First Step is fine In Desktop you will see network icon.

3.Right Click on the icon -> edit connections -> Go to VPN Tab.

4. Now if you have a .pcf file given by your client, then directly import it or else the fill the details accordingly.

5. Once Imported pcf file or details are filled in, save it. you  will see a record in the listview of vpn.

6.Now come out of all these screen and do left click on the same network icon.you will be able to VPN Connection. click on Access VPN Connection, fill the password.

Thats it. you are in.










Friday, 23 December 2011

Redis with Rails

Redis is an open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
You can run atomic operations on these types, like appending to a string; incrementing the value in a hash; pushing to a list; computing set intersection, union and difference; or getting the member with highest ranking in a sorted set.

wget http://redis.googlecode.com/files/redis-2.4.5.tar.gz
tar xzf redis-2.4.5.tar.gz
cd redis-2.4.5
make

Once installed, run the server with the below command.

 src/redis-server

Official Site : redis.io
Good Link for ROR with redis : http://jimneath.org/2011/03/24/using-redis-with-ruby-on-rails.html