Showing posts with label LAMP. Show all posts
Showing posts with label LAMP. Show all posts

Thursday, December 18, 2014

Generating SSH Public Key for GIT

Version controlling is one of the most important software life cycle processes. We have to maintain our code base on remote repository with version control functionality. For remote repository and version control, we have GIT and SVN. In GIT, I am going to give you the steps to get and add SSH authenticate key.

Please follow the below commands to get SSH key from Linux machine.

cd ~/.ssh

ssh-keygen

cat ~/.ssh/id_rsa.pub

Once you done the below commands, you can copy the content of CAT command and paste into notepad. After you pasted in notepad, if you find any space on end of the content, please remove the space and copy the content and paste on SSH Key in Git hub account.

Friday, December 5, 2014

CURL error code 7 in php

Curl is one of most powerful functionality in PHP. It will allow us to communicate with external URL. To use the curl functionality in your code. We must enable PHP curl module in PHP installation.

In this post, i could like to explain about curl error code "7". There are some of the criteria to get this error.
  1. Due to wrong URL.
  2. URL might have some port on postfix.
    For Example: http://xx.xxx.xxx.xx:8080/
    Solution : To solve this issue, we must remove the port on URL.Your URL must be like http://xx.xxx.xxx.xx/