Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Aug 312011
 

Debug and verify Postfix configurations

Answer:

A simple way to debug and verify your Postfix configurations is the use the sendmail command with the -bv flag.

Example:

# sendmail -bv [email protected]

No email will be sent using the above command, it just report after verifying each recipient address. This is very useful for testing the Postfix configurations.

Jun 192011
 

Install Google Chrome in Ubuntu

Answer:

To install Google Chrome in Ubuntu, the simplest way is to us PPA

E.g.

1. Add the key and URL

# wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - 
# sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'

2. Install it

# sudo apt-get update 
# sudo apt-get install google-chrome-stable

Done.

Apr 282011
 

Create Facebook Test Users

Answer:

In the last article, you already know how to get the Facebook access token. In this post, I will tell you how to create testing accounts for your app's testing.

# curl -F 'access_token=ACCESS_TOKEN' 'https://graph.facebook.com/APP_ID/accounts/test-users?installed=true&permissions=read_stream'

You can manipulate the permissions as needed.