Friday, 27 December 2013

Zend Framework 2.2.5 installation on WAMP

I am newbie to Zend Framework, was trying to install Zend Framework 2.2.5 on WAMP 2.4 but struggled a lot. After couple of hours I got a link which helped me to install ZF2 just in minutes, so sharing the same. Hopefully it will help someone like me in future. 

Thanks!!!!!!! Enjoy Programming J

Sunday, 1 December 2013

How to configure a static ip in Linux using Console?

Configuring your Linux machine to run on a static IP is easy. You can do that both from Console and GUI.

This tutorial is to configure a static ip in Linux using Console. Follow following steps : 

  a)  Go to 

    # cd /etc/sysconfig/network-scripts/

    Every network interface will have it’s own interface script files. 
    For Ex - eth0,eth1,eth2 etc. 

 b) Edit ifcfg-eth1 interface script file for interface eth1.  

    Replace the contents of the ifcfg-eth1 file with the parameters below.

    # vi ifcfg-eth1

    # If you're having problems with gated making 
    #  a martian, you can change this to something else 
    #  (, for example)

 c) Save the file and restart your interface to apply changes.

# ifdown eth1

    # ifup eth1

    # service network restart

 d) That's it :)

Thanks!!!!!!! Enjoy Programming :)