Tuesday, August 7, 2012

Quick WSO2 Tip: How to build any WSO2 product from source

Checkout orbit, kernel, and platform.
svn co https://svn.wso2.org/repos/wso2/carbon/orbit/trunk/ orbit
svn co https://svn.wso2.org/repos/wso2/carbon/kernel/trunk/ kernel
svn co https://svn.wso2.org/repos/wso2/carbon/platform/trunk/ platform
Build in the order (orbit -> kernel -> platform), using maven3.
mvn clean install
Hat tip: http://wso2.org

A quick way to append your public keys to a remote server's Authorized Keys File

The basic steps are:

  1. Create an RSA key-pair.
  2. Copy the public key to the remote server.
  3. Add the public key to the authorized_keys file on the remote server. 

For generating the key use the command
ssh-keygen -t rsa
The following command does the steps 2 and 3.
ssh-copy-id user@host