Tuesday, November 3, 2015

Understanding the SSH Encryption and Connection Process

Making Linux Server More Secure

http://www.linux.com/learn/tutorials/843903-how-to-make-your-linux-server-more-secure

Uploading a Code to Openshift and running


  1. git add .
  2. git commit -m "new fb token"
  3. git push origin master
  4. Create the following sell script and execute once done

#!/bin/sh
mvn install -s $OPENSHIFT_DATA_DIR/settings.xml
nohup java -jar target/************.jar &

Creating a Long lived Facebook Access Token for a Page


  1. Go to  https://developers.facebook.com/tools/explorer
  2. Select your custom Application instead of Graph Explorer API
  3. Select the Page name in "Page Access Tokens"
  4. An access token will be generated and a 'i' symbol appears towards its left
  5. Click on the 'i' symbol
  6. In scopes check if page management is there, else add it
  7. Now click on 'Open in Access Token Tool'
  8. Click on Extend Access Token and long lived access token will be generated